Home
last modified time | relevance | path

Searched refs:minGallop (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DComparableTimSort.java78 private int minGallop = MIN_GALLOP; field in ComparableTimSort
672 int minGallop = this.minGallop; // Use local variable for performance
697 } while ((count1 | count2) < minGallop);
731 minGallop--;
733 if (minGallop < 0)
734 minGallop = 0;
735 minGallop += 2; // Penalize for leaving gallop mode
737 this.minGallop = minGallop < 1 ? 1 : minGallop; // Write back to field
792 int minGallop = this.minGallop; // Use local variable for performance
817 } while ((count1 | count2) < minGallop);
[all …]
DTimSort.java103 private int minGallop = MIN_GALLOP; field in TimSort
705 int minGallop = this.minGallop; // " " " " "
730 } while ((count1 | count2) < minGallop);
764 minGallop--;
766 if (minGallop < 0)
767 minGallop = 0;
768 minGallop += 2; // Penalize for leaving gallop mode
770 this.minGallop = minGallop < 1 ? 1 : minGallop; // Write back to field
825 int minGallop = this.minGallop; // " " " " "
850 } while ((count1 | count2) < minGallop);
[all …]