- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for huffmanCodeLen (0.11 sec)
-
src/vendor/golang.org/x/net/http2/hpack/huffman.go
// This relies on the maximum huffman code length being 30 (See tables.go huffmanCodeLen array) // So if a uint64 buffer has less than 32 valid bits can always accommodate another huffmanCode. var ( x uint64 // buffer n uint // number valid of bits present in x ) for i := 0; i < len(s); i++ { c := s[i] n += uint(huffmanCodeLen[c]) x <<= huffmanCodeLen[c] % 64 x |= uint64(huffmanCodes[c]) if n >= 32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 5.8K bytes - Viewed (0) -
src/vendor/golang.org/x/net/http2/hpack/tables.go
0x3ffffed, 0x7ffffe7, 0x7ffffe8, 0x7ffffe9, 0x7ffffea, 0x7ffffeb, 0xffffffe, 0x7ffffec, 0x7ffffed, 0x7ffffee, 0x7ffffef, 0x7fffff0, 0x3ffffee, } var huffmanCodeLen = [256]uint8{ 13, 23, 28, 28, 28, 28, 28, 28, 28, 24, 30, 28, 28, 30, 28, 28, 28, 28, 28, 28, 28, 28, 30, 28, 28, 28, 28, 28, 28, 28, 28, 28, 6, 10, 10, 12, 13, 6, 8, 11, 10, 10, 8, 11, 8, 6, 6, 6,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 22:32:44 UTC 2022 - 7.5K bytes - Viewed (0)