MCPcopy Create free account
hub / github.com/Cyan4973/FiniteStateEntropy / gen_bitlen

Function gen_bitlen

programs/zlibh.c:586–661  ·  view source on GitHub ↗

=========================================================================== * Compute the optimal bit lengths for a tree and update the total bit length * for the current block. * IN assertion: the fields .Freq and dad are set, heap[heap_max] and * above are the tree nodes sorted by increasing frequency. * OUT assertions: the field .Len is set to the optimal bit length, the * array bl_count

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

build_treeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected