Home
last modified time | relevance | path

Searched refs:MAX_POWER_OF_TWO (Results 1 – 15 of 15) sorted by relevance

/external/dagger2/core/src/main/java/dagger/internal/
DCollections.java25 private static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); field in Collections
50 if (expectedSize < MAX_POWER_OF_TWO) { in calculateInitialCapacity()
/external/guava/guava/src/com/google/common/collect/
DHashing.java54 private static int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
DImmutableSet.java230 static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
DCollections2.java313 return new StringBuilder((int) Math.min(size * 8L, Ints.MAX_POWER_OF_TWO)); in newStringBuilderForCollection()
DMaps.java208 if (expectedSize < Ints.MAX_POWER_OF_TWO) {
DMapMakerInternalMap.java107 static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
/external/guava/guava/src/com/google/common/primitives/
DSignedBytes.java50 public static final byte MAX_POWER_OF_TWO = 1 << 6; field in SignedBytes
DUnsignedBytes.java53 public static final byte MAX_POWER_OF_TWO = (byte) 0x80; field in UnsignedBytes
DShorts.java64 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); field in Shorts
DLongs.java63 public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2); field in Longs
DInts.java66 public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); field in Ints
/external/guava/guava/src/com/google/common/util/concurrent/
DStriped.java295 this.mask = stripes > Ints.MAX_POWER_OF_TWO ? ALL_SET : ceilToPowerOfTwo(stripes) - 1;
318 Preconditions.checkArgument(stripes <= Ints.MAX_POWER_OF_TWO, "Stripes must be <= 2^30)");
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DShorts.java62 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); field in Shorts
DInts.java65 public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); field in Ints
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DMaps.java203 if (expectedSize < Ints.MAX_POWER_OF_TWO) {