MCPcopy Create free account
hub / github.com/rsc/tmp / DecodeContextMap

Function DecodeContextMap

brotli/dec_decode.c:993–1118  ·  view source on GitHub ↗

Decodes a context map. Decoding is done in 4 phases: 1) Read auxiliary information (6..16 bits) and allocate memory. In case of trivial context map, decoding is finished at this phase. 2) Decode Huffman table using ReadHuffmanCode function. This table will be used for reading context map items. 3) Read context map items; "0" values could be run-length encoded. 4) O

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 5

DecodeVarLenUint8Function · 0.85
BrotliDropBitsFunction · 0.85
ReadHuffmanCodeFunction · 0.85
SafeReadSymbolFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…