Searched defs:hint (Results 1 - 3 of 3) sorted by relevance
/libcore/luni/src/main/java/java/util/ |
H A D | ComparableTimSort.java | 461 * @param hint the index at which to begin the search, 0 <= hint < n. 462 * The closer hint is to the result, the faster this method will run. 470 int base, int len, int hint) { 471 if (DEBUG) assert len > 0 && hint >= 0 && hint < len; 475 if (key.compareTo(a[base + hint]) > 0) { 476 // Gallop right until a[base+hint+lastOfs] < key <= a[base+hint+ofs] 477 int maxOfs = len - hint; 469 gallopLeft(Comparable<Object> key, Object[] a, int base, int len, int hint) argument 539 gallopRight(Comparable<Object> key, Object[] a, int base, int len, int hint) argument [all...] |
H A D | TimSort.java | 493 * @param hint the index at which to begin the search, 0 <= hint < n. 494 * The closer hint is to the result, the faster this method will run. 502 private static <T> int gallopLeft(T key, T[] a, int base, int len, int hint, argument 504 if (DEBUG) assert len > 0 && hint >= 0 && hint < len; 507 if (c.compare(key, a[base + hint]) > 0) { 508 // Gallop right until a[base+hint+lastOfs] < key <= a[base+hint+ofs] 509 int maxOfs = len - hint; 572 gallopRight(T key, T[] a, int base, int len, int hint, Comparator<? super T> c) argument [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ForkJoinPool.java | 323 * -- signalWork), and may leave a hint to the unparked worker to 399 * stale/wrong) of where to locate them. It is only a hint 400 * because a worker might have had multiple steals and the hint 656 int hint; // steal or signal hint (index) field in class:ForkJoinPool.WorkQueue 1606 int hint = q.poolIndex; 1615 w.hint = hint; 1676 * * If a non-empty queue discovered or left as a hint, 1688 w.hint [all...] |
Completed in 64 milliseconds