- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for weightMark (0.19 sec)
-
src/internal/zstd/huff.go
weights[i+1] = b & 0xf } } // RFC 4.2.1.3. var weightMark [13]uint32 weightMask := uint32(0) for _, w := range weights[:count] { if w > 12 { return 0, 0, r.makeError(off, "Huffman weight overflow") } weightMark[w]++ if w > 0 { weightMask += 1 << (w - 1) } } if weightMask == 0 { return 0, 0, r.makeError(off, "bad Huffman weights") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 4.7K bytes - Viewed (0)