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

Method setNewState

zstd/fse_decoder.go:245–248  ·  view source on GitHub ↗
(state uint16)

Source from the content-addressed store, hash-verified

243}
244
245func (d *decSymbol) setNewState(state uint16) {
246 const mask = 0xffffffff0000ffff
247 *d = (*d & mask) | decSymbol(state)<<16
248}
249
250func (d *decSymbol) setExt(addBits uint8, baseline uint32) {
251 const mask = 0xffff00ff

Callers 2

buildDtableRefFunction · 0.80
buildDtableMethod · 0.80

Calls 1

decSymbolTypeAlias · 0.70

Tested by 1

buildDtableRefFunction · 0.64