internal method for heapsort that is used in deletemax and buildheap . concode_field_sep int CUTOFF concode_elem_sep int theSeed concode_elem_sep int NUM_ITEMS concode_field_sep void quickSelect concode_elem_sep void quickSelect concode_elem_sep int leftChild concode_elem_sep void insertionSort concode_elem_sep void insertionSort concode_elem_sep void checkSort concode_elem_sep void merge concode_elem_sep void main concode_elem_sep AnyType median3 concode_elem_sep void mergeSort concode_elem_sep void mergeSort concode_elem_sep void quicksort concode_elem_sep void quicksort concode_elem_sep void shellsort concode_elem_sep void swapReferences concode_elem_sep void heapsort
void function ( AnyType [ ] arg0 , int arg1 , int arg2 ) { int loc0 ; AnyType loc1 ; for ( loc1 = arg0 [ arg1 ] ; leftChild ( arg1 ) < arg2 ; arg1 = loc0 ) { loc0 = leftChild ( arg1 ) ; if ( loc0 != arg2 - 1 && arg0 [ loc0 ] . compareTo ( arg0 [ loc0 + 1 ] ) < 0 ) loc0 ++ ; if ( loc1 . compareTo ( arg0 [ loc0 ] ) < 0 ) arg0 [ arg1 ] = arg0 [ loc0 ] ; else break ; } arg0 [ arg1 ] = loc1 ; }