◐ Shell
clean mode source ↗

deps: update zlib to 1.3-22124f5 · nodejs/node@b0ca084

11

/* inftrees.c -- generate Huffman trees for efficient decoding

2-

* Copyright (C) 1995-2022 Mark Adler

2+

* Copyright (C) 1995-2023 Mark Adler

33

* For conditions of distribution and use, see copyright notice in zlib.h

44

*/

55

@@ -9,7 +9,7 @@

99

#define MAXBITS 15

10101111

const char inflate_copyright[] =

12-

" inflate 1.2.13.1 Copyright 1995-2022 Mark Adler ";

12+

" inflate 1.3 Copyright 1995-2023 Mark Adler ";

1313

/*

1414

If you use the zlib library in a product, an acknowledgment is welcome

1515

in the documentation of your product. If for some reason you cannot

@@ -57,7 +57,7 @@ int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens,

5757

35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};

5858

static const unsigned short lext[31] = { /* Length codes 257..285 extra */

5959

16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,

60-

19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 77, 76};

60+

19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 198, 203};

6161

static const unsigned short dbase[32] = { /* Distance codes 0..29 base */

6262

1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,

6363

257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,