Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/
DDaggerCollections.java34 private static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); field in DaggerCollections
81 if (expectedSize < MAX_POWER_OF_TWO) { in calculateInitialCapacity()
/external/guava/android/guava/src/com/google/common/collect/
DCompactHashing.java47 static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1;
76 || buckets > Ints.MAX_POWER_OF_TWO in createTable()
DHashing.java57 private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
DImmutableSet.java195 static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
DCollections2.java329 return new StringBuilder((int) Math.min(size * 8L, Ints.MAX_POWER_OF_TWO)); in newStringBuilderForCollection()
DMapMakerInternalMap.java105 static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
DMaps.java228 if (expectedSize < Ints.MAX_POWER_OF_TWO) {
/external/guava/guava/src/com/google/common/collect/
DCompactHashing.java47 static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1;
76 || buckets > Ints.MAX_POWER_OF_TWO in createTable()
DHashing.java57 private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
DCollections2.java352 return new StringBuilder((int) Math.min(size * 8L, Ints.MAX_POWER_OF_TWO)); in newStringBuilderForCollection()
DImmutableSet.java627 static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
DMapMakerInternalMap.java105 static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
DMaps.java329 if (expectedSize < Ints.MAX_POWER_OF_TWO) {
/external/guava/guava/src/com/google/common/primitives/
DSignedBytes.java47 public static final byte MAX_POWER_OF_TWO = 1 << 6; field in SignedBytes
DUnsignedBytes.java54 public static final byte MAX_POWER_OF_TWO = (byte) 0x80; field in UnsignedBytes
DShorts.java62 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); field in Shorts
DInts.java64 public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); field in Ints
DLongs.java63 public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2); field in Longs
/external/guava/android/guava/src/com/google/common/primitives/
DSignedBytes.java47 public static final byte MAX_POWER_OF_TWO = 1 << 6; field in SignedBytes
DUnsignedBytes.java54 public static final byte MAX_POWER_OF_TWO = (byte) 0x80; field in UnsignedBytes
DShorts.java62 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); field in Shorts
DInts.java62 public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); field in Ints
DLongs.java61 public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2); field in Longs
/external/guava/guava/src/com/google/common/util/concurrent/
DStriped.java386 this.mask = stripes > Ints.MAX_POWER_OF_TWO ? ALL_SET : ceilToPowerOfTwo(stripes) - 1;
411 Preconditions.checkArgument(stripes <= Ints.MAX_POWER_OF_TWO, "Stripes must be <= 2^30)");
/external/guava/android/guava/src/com/google/common/util/concurrent/
DStriped.java386 this.mask = stripes > Ints.MAX_POWER_OF_TWO ? ALL_SET : ceilToPowerOfTwo(stripes) - 1;
411 Preconditions.checkArgument(stripes <= Ints.MAX_POWER_OF_TWO, "Stripes must be <= 2^30)");