Searched refs:MAX_POWER_OF_TWO (Results 1 – 16 of 16) sorted by relevance
25 private static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); field in Collections50 if (expectedSize < MAX_POWER_OF_TWO) { in calculateInitialCapacity()
54 private static int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
230 static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
313 return new StringBuilder((int) Math.min(size * 8L, Ints.MAX_POWER_OF_TWO)); in newStringBuilderForCollection()
208 if (expectedSize < Ints.MAX_POWER_OF_TWO) {
107 static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
50 public static final byte MAX_POWER_OF_TWO = 1 << 6; field in SignedBytes
53 public static final byte MAX_POWER_OF_TWO = (byte) 0x80; field in UnsignedBytes
64 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); field in Shorts
63 public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2); field in Longs
66 public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); field in Ints
295 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)");
20 import static com.google.common.primitives.Ints.MAX_POWER_OF_TWO;349 } else if (numBindings < MAX_POWER_OF_TWO) { in mapCapacity()
62 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); field in Shorts
65 public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); field in Ints
203 if (expectedSize < Ints.MAX_POWER_OF_TWO) {