Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DComparableTimSort.java508 int base, int len, int hint) { in gallopLeft() argument
509 assert len > 0 && hint >= 0 && hint < len; in gallopLeft()
513 if (key.compareTo(a[base + hint]) > 0) { in gallopLeft()
515 int maxOfs = len - hint; in gallopLeft()
516 while (ofs < maxOfs && key.compareTo(a[base + hint + ofs]) > 0) { in gallopLeft()
526 lastOfs += hint; in gallopLeft()
527 ofs += hint; in gallopLeft()
530 final int maxOfs = hint + 1; in gallopLeft()
531 while (ofs < maxOfs && key.compareTo(a[base + hint - ofs]) <= 0) { in gallopLeft()
542 lastOfs = hint - ofs; in gallopLeft()
[all …]
DTimSort.java541 private static <T> int gallopLeft(T key, T[] a, int base, int len, int hint, in gallopLeft() argument
543 assert len > 0 && hint >= 0 && hint < len; in gallopLeft()
546 if (c.compare(key, a[base + hint]) > 0) { in gallopLeft()
548 int maxOfs = len - hint; in gallopLeft()
549 while (ofs < maxOfs && c.compare(key, a[base + hint + ofs]) > 0) { in gallopLeft()
559 lastOfs += hint; in gallopLeft()
560 ofs += hint; in gallopLeft()
563 final int maxOfs = hint + 1; in gallopLeft()
564 while (ofs < maxOfs && c.compare(key, a[base + hint - ofs]) <= 0) { in gallopLeft()
575 lastOfs = hint - ofs; in gallopLeft()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DR.java1700 public static final int hint = 0; field in R
/libcore/api/
Dcurrent.txt17554 field public static final String DEFLATE_HINT = "pack.deflate.hint";
17579 field public static final String DEFLATE_HINT = "unpack.deflate.hint";