Searched refs:heap2 (Results 1 – 2 of 2) sorted by relevance
41 return heap2; in mp_pairheap_meld()43 if (heap2 == NULL) { in mp_pairheap_meld()46 if (lt(heap1, heap2)) { in mp_pairheap_meld()48 heap1->child = heap2; in mp_pairheap_meld()50 heap1->child_last->next = heap2; in mp_pairheap_meld()52 heap1->child_last = heap2; in mp_pairheap_meld()53 heap2->next = NEXT_MAKE_RIGHTMOST_PARENT(heap1); in mp_pairheap_meld()56 heap1->next = heap2->child; in mp_pairheap_meld()57 heap2->child = heap1; in mp_pairheap_meld()59 heap2->child_last = heap1; in mp_pairheap_meld()[all …]
57 mp_pairheap_t *mp_pairheap_meld(mp_pairheap_lt_t lt, mp_pairheap_t *heap1, mp_pairheap_t *heap2);
Completed in 3 milliseconds