- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for resizeTable (1.34 sec)
-
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
if (minCapacity > entries.length) { resizeEntries(minCapacity); } if (minCapacity >= threshold) { int newTableSize = Math.max(2, Integer.highestOneBit(minCapacity - 1) << 1); resizeTable(newTableSize); } } @CanIgnoreReturnValue public int put(@ParametricNullness K key, int value) { checkPositive(value, "count"); long[] entries = this.entries;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
int next = CompactHashing.tableGet(requireTable(), tableIndex); if (next == UNSET) { // uninitialized bucket if (newSize > mask) { // Resize and add new entry mask = resizeTable(mask, CompactHashing.newCapacity(mask), hash, newEntryIndex); } else { CompactHashing.tableSet(requireTable(), tableIndex, newEntryIndex + 1); } } else { int entryIndex;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0)