Searched refs:min_heap_elem_greater (Results 1 – 1 of 1) sorted by relevance
42 static inline int min_heap_elem_greater(struct event *a, struct event *b);53 int min_heap_elem_greater(struct event *a, struct event *b) in min_heap_elem_greater() function96 if (e->min_heap_idx > 0 && min_heap_elem_greater(s->p[parent], last)) in min_heap_erase()125 while(hole_index && min_heap_elem_greater(s->p[parent], e)) in min_heap_shift_up_()139 … min_child -= min_child == s->n || min_heap_elem_greater(s->p[min_child], s->p[min_child - 1]); in min_heap_shift_down_()140 if(!(min_heap_elem_greater(e, s->p[min_child]))) in min_heap_shift_down_()