/guava/android/guava/src/com/google/common/collect/Hashing.java
private static final short MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
static int smear(int hashCode) { return (int) (C2 * Integer.rotateLeft((int) (hashCode * C1), 15)); } static int smearedHash(@CheckForNull Object o) { return smear((o == null) ? 0 : o.hashCode()); } <extra_id_0> static int closedTableSize(int expectedEntries, double loadFactor) { expectedEntries = Math.max(expectedEntries, 2); int tableSize = Integer.highestOneBit(expectedEntries); if (expectedEntries > (int) (loadFactor * tableSize)) { tableSize <<= 1; return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE;