MCPcopy Create free account
hub / github.com/arkdb/inception / pqdownheap

Function pqdownheap

zlib/trees.c:455–478  ·  view source on GitHub ↗

=========================================================================== * Restore the heap property by moving down the tree starting at node k, * exchanging a node with the smallest of its two sons if necessary, stopping * when the heap property is re-established (each father smaller than its * two sons). */

(s, tree, k)

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