Searched refs:firstValue (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/test/java/util/WeakHashMap/ |
D | GCDuringIteration.java | 129 <K,V> V firstValue(Map<K,V> map) { in firstValue() method in GCDuringIteration 149 int first = firstValue(map); in test() 155 equal(firstValue(map), first-1); in test() 159 int first = firstValue(map); in test() 171 equal(firstValue(map), first-1); in test() 175 int first = firstValue(map); in test() 181 equal(firstValue(map), first); in test() 186 equal(firstValue(map), first-2); in test() 190 int first = firstValue(map); in test() 199 equal(firstValue(map), first); in test() [all …]
|
/libcore/support/src/test/java/tests/util/ |
D | SummaryStatistics.java | 28 private Double firstValue = null; field in SummaryStatistics 43 if (firstValue == null) { in add() 44 firstValue = Double.valueOf(value); in add() 47 shiftedSquaresSum += square(value - firstValue); in add() 58 double shiftedMean = (sum - numValues * firstValue) / numValues; in var()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | InheritableThreadLocal.java | 85 void createMap(Thread t, T firstValue) { in createMap() argument 86 t.inheritableThreadLocals = new ThreadLocalMap(this, firstValue); in createMap()
|
D | ThreadLocal.java | 264 void createMap(Thread t, T firstValue) { in createMap() argument 265 t.threadLocals = new ThreadLocalMap(this, firstValue); in createMap() 386 ThreadLocalMap(ThreadLocal<?> firstKey, Object firstValue) { in ThreadLocalMap() argument 389 table[i] = new Entry(firstKey, firstValue); in ThreadLocalMap()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | ThreadLocal.java | 71 void createMap(java.lang.Thread t, T firstValue) { in createMap() argument 115 ThreadLocalMap(java.lang.ThreadLocal<?> firstKey, java.lang.Object firstValue) { in ThreadLocalMap() argument
|