/libcore/ojluni/src/main/java/java/util/ |
D | ArrayPrefixHelpers.java | 110 final int lo, hi, origin, fence, threshold; field in ArrayPrefixHelpers.CumulateTask 120 this.threshold = in CumulateTask() 127 T[] array, int origin, int fence, int threshold, in CumulateTask() argument 132 this.threshold = threshold; in CumulateTask() 141 int th = threshold, org = origin, fnc = fence, l, h; in compute() 262 final int lo, hi, origin, fence, threshold; field in ArrayPrefixHelpers.LongCumulateTask 272 this.threshold = in LongCumulateTask() 279 long[] array, int origin, int fence, int threshold, in LongCumulateTask() argument 284 this.threshold = threshold; in LongCumulateTask() 293 int th = threshold, org = origin, fnc = fence, l, h; in compute() [all …]
|
D | HashMap.java | 426 int threshold; field in HashMap 456 this.threshold = tableSizeFor(initialCapacity); in HashMap() 506 if (t > threshold) in putMapEntries() 507 threshold = tableSizeFor(t); in putMapEntries() 509 else if (s > threshold) in putMapEntries() 661 if (++size > threshold) in putVal() 679 int oldThr = threshold; in resize() 683 threshold = Integer.MAX_VALUE; in resize() 701 threshold = newThr; in resize() 1106 if (size > threshold || (tab = table) == null || in computeIfAbsent() [all …]
|
D | WeakHashMap.java | 170 private int threshold; field in WeakHashMap 222 threshold = (int)(capacity * loadFactor); in WeakHashMap() 466 if (++size >= threshold) in put() 489 threshold = Integer.MAX_VALUE; in resize() 502 if (size >= threshold / 2) { in resize() 503 threshold = (int)(newCapacity * loadFactor); in resize() 555 if (numKeysToBeAdded > threshold) { in putAll()
|
D | Hashtable.java | 150 private int threshold; field in Hashtable 193 threshold = (int)Math.min(initialCapacity, MAX_ARRAY_SIZE + 1); in Hashtable() 406 threshold = (int)Math.min(newCapacity * loadFactor, MAX_ARRAY_SIZE + 1); in rehash() 425 if (count >= threshold) { in addEntry() 1198 threshold = (int)Math.min(length * loadFactor, MAX_ARRAY_SIZE + 1); in readObject()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressSource.java | 55 private int threshold = 8192; field in ProgressSource 78 this.threshold = progressMonitor.getProgressUpdateThreshold(); in ProgressSource() 191 if (lastProgress / threshold != progress / threshold) { in updateProgress()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadLocal.java | 337 private int threshold; // Default to 0 field in ThreadLocal.ThreadLocalMap 343 threshold = len * 2 / 3; in setThreshold() 486 if (!cleanSomeSlots(i, sz) && sz >= threshold) in set() 682 if (size >= threshold - threshold / 4) in rehash()
|
/libcore/ojluni/src/test/java/util/stream/ |
D | TestDoubleSumAverage.java | 148 private static int compareUlpDifference(double expected, double computed, double threshold) { in compareUlpDifference() argument 162 if (ulpDifference > threshold) { in compareUlpDifference() 164 ulpDifference, threshold); in compareUlpDifference()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | ThreadLocal.java | 183 private int threshold; field in ThreadLocal.ThreadLocalMap
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 2348 private int threshold; field in ObjectOutputStream.HandleTable 2366 threshold = (int) (initialCapacity * loadFactor); in HandleTable() 2378 if (size >= threshold) { in assign() 2435 threshold = (int) (spine.length * loadFactor); in growSpine()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectOutputStream.java | 604 private int threshold; field in ObjectOutputStream.HandleTable
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | HashMap.java | 287 int threshold; field in HashMap
|