Lines Matching refs:literalNode
20 freqcache []literalNode
26 type literalNode struct { struct
57 func maxNode() literalNode { return literalNode{math.MaxUint16, math.MaxInt32} }
134 func (h *huffmanEncoder) bitCounts(list []literalNode, maxBits int32) []int32 {
248 func (h *huffmanEncoder) assignEncodingAndSize(bitCount []int32, list []literalNode) {
279 h.freqcache = make([]literalNode, maxNumLit+1)
287 list[count] = literalNode{uint16(i), f}
290 list[count] = literalNode{}
294 list[len(freq)] = literalNode{}
314 type byLiteral []literalNode
316 func (s *byLiteral) sort(a []literalNode) { argument
329 type byFreq []literalNode
331 func (s *byFreq) sort(a []literalNode) { argument