Home | History | Annotate | Download | only in utils

Lines Matching refs:pivot

669      *  Pick a pivot and move it out of the way
671 int pivot = a[(lo + hi) / 2];
674 a[hi] = pivot;
681 * is greater than the pivot or lo >= hi
683 while (a[lo] <= pivot && lo < hi)
690 * is less than the pivot, or lo >= hi
692 while (pivot <= a[hi] && lo < hi)
719 a[hi] = pivot;
723 * equal to pivot, elements a[hi+1] to a[hi0] are greater than
724 * pivot.