MCPcopy Create free account
hub / github.com/HelenOS/helenos / heap_right_child

Function heap_right_child

uspace/lib/cpp/include/__bits/algorithm.hpp:874–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

872
873 template<class T>
874 T heap_right_child(T idx)
875 {
876 return 2 * idx + 2;
877 }
878
879 template<class RandomAccessIterator, class Size, class Compare>
880 void correct_children(RandomAccessIterator first,

Callers 2

correct_childrenFunction · 0.85
is_heap_untilFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected