MCPcopy Create free account
hub / github.com/arkdb/inception / inflate_table

Function inflate_table

zlib/inftrees.c:32–329  ·  view source on GitHub ↗

Build a set of tables to decode the provided canonical Huffman code. The code lengths are lens[0..codes-1]. The result starts at *table, whose indices are 0..2^bits-1. work is a writable array of at least lens shorts, which is used as a work area. type is the type of code to be generated, CODES, LENS, or DISTS. On return, zero is success, -1 is an invalid code, and +1 means that

(type, lens, codes, table, bits, work)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

fixedtablesFunction · 0.85
inflateBackFunction · 0.85
fixedtablesFunction · 0.85
inflate.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected