MCPcopy
hub / github.com/klauspost/compress / newDecSymbol

Function newDecSymbol

zstd/fse_decoder.go:215–217  ·  view source on GitHub ↗
(nbits, addBits uint8, newState uint16, baseline uint32)

Source from the content-addressed store, hash-verified

213type decSymbol uint64
214
215func newDecSymbol(nbits, addBits uint8, newState uint16, baseline uint32) decSymbol {
216 return decSymbol(nbits) | (decSymbol(addBits) << 8) | (decSymbol(newState) << 16) | (decSymbol(baseline) << 32)
217}
218
219func (d decSymbol) nbBits() uint8 {
220 return uint8(d)

Callers 2

decSymbolValueFunction · 0.85
TestPredefTablesFunction · 0.85

Calls 1

decSymbolTypeAlias · 0.70

Tested by 1

TestPredefTablesFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…