MCPcopy
hub / github.com/google/brotli / decodeDistanceBlockSwitch

Function decodeDistanceBlockSwitch

js/decode.ts:581–584  ·  view source on GitHub ↗
(s: State)

Source from the content-addressed store, hash-verified

579 s.commandTreeIdx = s.rings[7];
580}
581function decodeDistanceBlockSwitch(s: State): void {
582 s.distanceBlockLength = decodeBlockTypeAndLength(s, 2, s.numDistanceBlockTypes);
583 s.distContextMapSlice = s.rings[9] << 2;
584}
585function maybeReallocateRingBuffer(s: State): void {
586 let newSize: number = s.maxRingBufferSize;
587 if (newSize > s.expectedTotalSize) {

Callers 1

decompressFunction · 0.70

Calls 1

decodeBlockTypeAndLengthFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…