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
676 int minGallop = this.minGallop; // Use local variable for performance
701 } while ((count1 | count2) < minGallop);
735 minGallop--;
737 if (minGallop < 0)
738 minGallop = 0;
739 minGallop += 2; // Penalize for leaving gallop mode
741 this.minGallop = minGallop < 1 ? 1 : minGallop; // Write back to field
796 int minGallop = this.minGallop; // Use local variable for performance
821 } while ((count1 | count2) < minGallop);
[all …]
DTimSort.java103 private int minGallop = MIN_GALLOP; field in TimSort
709 int minGallop = this.minGallop; // " " " " "
734 } while ((count1 | count2) < minGallop);
768 minGallop--;
770 if (minGallop < 0)
771 minGallop = 0;
772 minGallop += 2; // Penalize for leaving gallop mode
774 this.minGallop = minGallop < 1 ? 1 : minGallop; // Write back to field
829 int minGallop = this.minGallop; // " " " " "
854 } while ((count1 | count2) < minGallop);
[all …]