Searched refs:parent_pos (Results 1 – 2 of 2) sorted by relevance
44 mp_uint_t parent_pos = (pos - 1) >> 1; in uheapq_heap_siftdown() local45 mp_obj_t parent = heap->items[parent_pos]; in uheapq_heap_siftdown()48 pos = parent_pos; in uheapq_heap_siftdown()
91 mp_uint_t parent_pos = (pos - 1) >> 1; in utimeq_heap_siftdown() local92 struct qentry *parent = &heap->items[parent_pos]; in utimeq_heap_siftdown()96 pos = parent_pos; in utimeq_heap_siftdown()
Completed in 3 milliseconds