Lines Matching refs:pairs
93 pairs := huffmanSymbolLengthPairs(make([]huffmanSymbolLengthPair, len(lengths)))
95 pairs[i].value = uint16(i)
96 pairs[i].length = length
99 sort.Sort(pairs)
109 for i := len(pairs) - 1; i >= 0; i-- {
110 if length > pairs[i].length {
113 length >>= 32 - pairs[i].length
114 length <<= 32 - pairs[i].length
115 length = pairs[i].length
119 codes[i].value = pairs[i].value