Searched refs:maxelt (Results 1 – 1 of 1) sorted by relevance
630 int child, father, maxelt = h->elements - 1; in heap_extract() local632 if (maxelt < 0) { in heap_extract()651 while (child <= maxelt) { /* valid entry */ in heap_extract()652 if (child != maxelt && DN_KEY_LT(h->p[child + 1].key, h->p[child].key)) { in heap_extract()661 if (father != maxelt) { in heap_extract()665 h->p[father] = h->p[maxelt]; in heap_extract()