Home
last modified time | relevance | path

Searched refs:newTableSize (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DImmutableSet.java440 static Object[] rebuildHashTable(int newTableSize, Object[] elements, int n) {
441 Object[] hashTable = new Object[newTableSize];
776 int newTableSize = hashTable.length * 2;
777 hashTable = rebuildHashTable(newTableSize, dedupedElements, distinct);
778 maxRunBeforeFallback = maxRunBeforeFallback(newTableSize);
779 expandTableThreshold = (int) (DESIRED_LOAD_FACTOR * newTableSize);
DHashBiMap.java360 int newTableSize = oldKToV.length * 2; in rehashIfNecessary() local
362 this.hashTableKToV = createTable(newTableSize); in rehashIfNecessary()
363 this.hashTableVToK = createTable(newTableSize); in rehashIfNecessary()
364 this.mask = newTableSize - 1; in rehashIfNecessary()
/external/llvm-project/lld/COFF/
DDebugTypes.cpp897 void init(uint32_t newTableSize);
966 void GHashTable::init(uint32_t newTableSize) { in init() argument
967 table = new GHashCell[newTableSize]; in init()
968 memset(table, 0, newTableSize * sizeof(GHashCell)); in init()
969 tableSize = newTableSize; in init()
/external/guava/android/guava/src/com/google/common/collect/
DObjectCountHashMap.java268 int newTableSize = Math.max(2, Integer.highestOneBit(minCapacity - 1) << 1); in ensureCapacity() local
269 resizeTable(newTableSize); in ensureCapacity()
DHashBiMap.java169 int newTableSize = Hashing.closedTableSize(minCapacity, 1.0); in ensureCapacity() local
170 hashTableKToV = createFilledWithAbsent(newTableSize); in ensureCapacity()
171 hashTableVToK = createFilledWithAbsent(newTableSize); in ensureCapacity()