Searched refs:pq_N (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/sort/common/
H A Dmerge.c68 static int pq_N; variable
255 return (pq_N == 0);
263 pq_N = 0;
270 pq_queue[++pq_N] = source;
271 heap_up(pq_queue, pq_N, coll_flags);
277 swap((void **)&pq_queue[1], (void **)&pq_queue[pq_N]);
278 heap_down(pq_queue, 1, pq_N - 1, coll_flags);
279 return (pq_queue[pq_N--]);

Completed in 56 milliseconds