MCPcopy Create free account
hub / github.com/douchuan/algorithm / keys_slice

Method keys_slice

src/common/max_heap.rs:64–66  ·  view source on GitHub ↗

for test

(&self)

Source from the content-addressed store, hash-verified

62
63 //for test
64 pub fn keys_slice(&self) -> &[K] {
65 self.keys.as_slice()
66 }
67}
68
69pub fn heapify<K>(keys: &mut [K], mut i: usize)

Callers 2

setFunction · 0.80
insertFunction · 0.80

Calls

no outgoing calls

Tested by 2

setFunction · 0.64
insertFunction · 0.64