Home | History | Annotate | Download | only in hpack

Lines Matching refs:cbits

52 	// cbits is the number of low order bits in cur that are valid.
54 cur, cbits, sbits := uint(0), uint8(0), uint8(0)
57 cbits += 8
59 for cbits >= 8 {
60 idx := byte(cur >> (cbits - 8))
70 cbits -= n.codeLen
72 sbits = cbits
74 cbits -= 8
78 for cbits > 0 {
79 n = n.children[byte(cur<<(8-cbits))]
83 if n.children != nil || n.codeLen > cbits {
90 cbits -= n.codeLen
92 sbits = cbits
99 if mask := uint(1<<cbits - 1); cur&mask != mask {