Home
last modified time | relevance | path

Searched refs:newTable (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/
DHashMap.java548 HashMapEntry<K, V>[] newTable = makeTable(newCapacity); in ensureCapacity() local
555 HashMapEntry<K, V> newNext = newTable[newIndex]; in ensureCapacity()
556 newTable[newIndex] = e; in ensureCapacity()
569 @SuppressWarnings("unchecked") HashMapEntry<K, V>[] newTable in makeTable() local
571 table = newTable; in makeTable()
573 return newTable; in makeTable()
589 HashMapEntry<K, V>[] newTable = makeTable(newCapacity); in doubleCapacity() local
591 return newTable; in doubleCapacity()
605 newTable[j | highBit] = e; in doubleCapacity()
610 newTable[j | nextHighBit] = n; in doubleCapacity()
[all …]
DHashtable.java455 HashtableEntry<K, V>[] newTable = makeTable(newCapacity); in ensureCapacity() local
462 HashtableEntry<K, V> newNext = newTable[newIndex]; in ensureCapacity()
463 newTable[newIndex] = e; in ensureCapacity()
487 @SuppressWarnings("unchecked") HashtableEntry<K, V>[] newTable in makeTable() local
489 table = newTable; in makeTable()
491 return newTable; in makeTable()
507 HashtableEntry<K, V>[] newTable = makeTable(newCapacity); in doubleCapacity() local
509 return newTable; in doubleCapacity()
523 newTable[j | highBit] = e; in doubleCapacity()
528 newTable[j | nextHighBit] = n; in doubleCapacity()
[all …]
/libcore/luni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java403 HashEntry<K,V>[] newTable = in rehash() local
412 newTable[idx] = e; in rehash()
425 newTable[lastIdx] = lastRun; in rehash()
431 HashEntry<K,V> n = newTable[k]; in rehash()
432 newTable[k] = new HashEntry<K,V>(h, p.key, v, n); in rehash()
438 node.setNext(newTable[nodeIndex]); in rehash()
439 newTable[nodeIndex] = node; in rehash()
440 table = newTable; in rehash()