/guava/android/guava/src/com/google/common/collect/CompactHashSet.java
for ( int oldTableIndex = expectedSize; oldTableIndex <= oldMask; oldTableIndex++) {
for ( int oldTableIndex = 0; oldTableIndex <= oldMask; oldTableIndex++ ) {
int newMask = newCapacity - 1; if (targetEntryIndex != UNSET) { CompactHashing.tableSet(newTable, targetHash & newMask, targetEntryIndex + 1); } Object oldTable = requireTable(); int[] entries = requireEntries(); <extra_id_0> int oldNext = CompactHashing.tableGet(oldTable, oldTableIndex); while (oldNext != UNSET) { int entryIndex = oldNext - 1; int oldEntry = entries[entryIndex]; int hash = CompactHashing.getHashPrefix(oldEntry, oldMask) | oldTableIndex; int newTableIndex = hash & newMask;