Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for huffmanDecode (0.26 sec)

  1. src/compress/bzip2/huffman.go

    	slices.SortFunc(codes, func(a, b huffmanCode) int {
    		return cmp.Compare(a.code, b.code)
    	})
    
    	t.nodes = make([]huffmanNode, len(codes))
    	_, err := buildHuffmanNode(&t, codes, 0)
    	return t, err
    }
    
    // huffmanSymbolLengthPair contains a symbol and its code length.
    type huffmanSymbolLengthPair struct {
    	value  uint16
    	length uint8
    }
    
    // huffmanCode contains a symbol, its code and code length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top