Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DComparableTimSort.java515 int maxOfs = len - hint; in gallopLeft() local
516 while (ofs < maxOfs && key.compareTo(a[base + hint + ofs]) > 0) { in gallopLeft()
520 ofs = maxOfs; in gallopLeft()
522 if (ofs > maxOfs) in gallopLeft()
523 ofs = maxOfs; in gallopLeft()
530 final int maxOfs = hint + 1; in gallopLeft() local
531 while (ofs < maxOfs && key.compareTo(a[base + hint - ofs]) <= 0) { in gallopLeft()
535 ofs = maxOfs; in gallopLeft()
537 if (ofs > maxOfs) in gallopLeft()
538 ofs = maxOfs; in gallopLeft()
[all …]
DTimSort.java548 int maxOfs = len - hint; in gallopLeft() local
549 while (ofs < maxOfs && c.compare(key, a[base + hint + ofs]) > 0) { in gallopLeft()
553 ofs = maxOfs; in gallopLeft()
555 if (ofs > maxOfs) in gallopLeft()
556 ofs = maxOfs; in gallopLeft()
563 final int maxOfs = hint + 1; in gallopLeft() local
564 while (ofs < maxOfs && c.compare(key, a[base + hint - ofs]) <= 0) { in gallopLeft()
568 ofs = maxOfs; in gallopLeft()
570 if (ofs > maxOfs) in gallopLeft()
571 ofs = maxOfs; in gallopLeft()
[all …]