Searched refs:newTableSize (Results 1 – 5 of 5) sorted by relevance
440 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);
360 int newTableSize = oldKToV.length * 2; in rehashIfNecessary() local362 this.hashTableKToV = createTable(newTableSize); in rehashIfNecessary()363 this.hashTableVToK = createTable(newTableSize); in rehashIfNecessary()364 this.mask = newTableSize - 1; in rehashIfNecessary()
897 void init(uint32_t newTableSize);966 void GHashTable::init(uint32_t newTableSize) { in init() argument967 table = new GHashCell[newTableSize]; in init()968 memset(table, 0, newTableSize * sizeof(GHashCell)); in init()969 tableSize = newTableSize; in init()
268 int newTableSize = Math.max(2, Integer.highestOneBit(minCapacity - 1) << 1); in ensureCapacity() local269 resizeTable(newTableSize); in ensureCapacity()
169 int newTableSize = Hashing.closedTableSize(minCapacity, 1.0); in ensureCapacity() local170 hashTableKToV = createFilledWithAbsent(newTableSize); in ensureCapacity()171 hashTableVToK = createFilledWithAbsent(newTableSize); in ensureCapacity()