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

/libcore/luni/src/main/java/java/util/
H A DComparableTimSort.java48 private static final int MIN_MERGE = 32; field in class:ComparableTimSort
125 * computation below must be changed if MIN_MERGE is decreased. See
126 * the MIN_MERGE declaration above for more information.
152 if (nRemaining < MIN_MERGE) {
321 * If n < MIN_MERGE, return n (it's too small to bother with fancy stuff).
322 * Else if n is an exact power of 2, return MIN_MERGE/2.
323 * Else return an int k, MIN_MERGE/2 <= k <= MIN_MERGE, such that n/k
334 while (n >= MIN_MERGE) {
H A DTimSort.java68 private static final int MIN_MERGE = 32; field in class:TimSort
152 * computation below must be changed if MIN_MERGE is decreased. See
153 * the MIN_MERGE declaration above for more information.
184 if (nRemaining < MIN_MERGE) {
355 * If n < MIN_MERGE, return n (it's too small to bother with fancy stuff).
356 * Else if n is an exact power of 2, return MIN_MERGE/2.
357 * Else return an int k, MIN_MERGE/2 <= k <= MIN_MERGE, such that n/k
368 while (n >= MIN_MERGE) {

Completed in 23 milliseconds