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

Method setExt

zstd/fse_decoder.go:250–253  ·  view source on GitHub ↗
(addBits uint8, baseline uint32)

Source from the content-addressed store, hash-verified

248}
249
250func (d *decSymbol) setExt(addBits uint8, baseline uint32) {
251 const mask = 0xffff00ff
252 *d = (*d & mask) | (decSymbol(addBits) << 8) | (decSymbol(baseline) << 32)
253}
254
255// decSymbolValue returns the transformed decSymbol for the given symbol.
256func decSymbolValue(symb uint8, t []baseOffset) (decSymbol, error) {

Callers 1

transformMethod · 0.80

Calls 1

decSymbolTypeAlias · 0.70

Tested by

no test coverage detected