/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | SignedBytesTest.java | 47 assertEquals(value, SignedBytes.checkedCast((long) value)); in testCheckedCast() 67 SignedBytes.checkedCast(value); in assertCastFails()
|
D | CharsTest.java | 57 assertEquals(value, Chars.checkedCast((long) value)); in testCheckedCast() 77 Chars.checkedCast(value); in assertCastFails()
|
D | ShortsTest.java | 58 assertEquals(value, Shorts.checkedCast((long) value)); in testCheckedCast() 78 Shorts.checkedCast(value); in assertCastFails()
|
D | IntsTest.java | 58 assertEquals(value, Ints.checkedCast((long) value)); in testCheckedCast() 78 Ints.checkedCast(value); in assertCastFails()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | SignedBytesTest.java | 50 assertEquals(value, SignedBytes.checkedCast((long) value)); in testCheckedCast() 70 SignedBytes.checkedCast(value); in assertCastFails()
|
D | UnsignedBytesTest.java | 55 UnsignedBytes.checkedCast(UnsignedBytes.toInt(value))); in testCheckedCast() 76 UnsignedBytes.checkedCast(value); in assertCastFails()
|
D | CharsTest.java | 60 assertEquals(value, Chars.checkedCast((long) value)); in testCheckedCast() 80 Chars.checkedCast(value); in assertCastFails()
|
D | ShortsTest.java | 62 assertEquals(value, Shorts.checkedCast((long) value)); in testCheckedCast() 82 Shorts.checkedCast(value); in assertCastFails()
|
D | IntsTest.java | 62 assertEquals(value, Ints.checkedCast((long) value)); in testCheckedCast() 82 Ints.checkedCast(value); in assertCastFails()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | DataType.java | 62 this.code = UnsignedBytes.checkedCast(code); in DataType()
|
/external/guava/guava/src/com/google/common/hash/ |
D | BloomFilter.java | 424 dout.writeByte(SignedBytes.checkedCast(strategy.ordinal())); 425 dout.writeByte(UnsignedBytes.checkedCast(numHashFunctions)); // note: checked at the c'tor
|
D | BloomFilterStrategies.java | 145 this(new long[Ints.checkedCast(LongMath.divide(bits, 64, RoundingMode.CEILING))]); in BitArray()
|
/external/guava/guava-tests/benchmark/com/google/common/cache/ |
D | LoadingCacheSingleThreadBenchmark.java | 54 max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration)); in setUp()
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | MapMakerSingleThreadBenchmark.java | 57 max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration)); in setUp()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | SignedBytes.java | 60 public static byte checkedCast(long value) { in checkedCast() method in SignedBytes
|
D | UnsignedBytes.java | 85 public static byte checkedCast(long value) { in checkedCast() method in UnsignedBytes
|
D | Chars.java | 79 public static char checkedCast(long value) { in checkedCast() method in Chars
|
D | Shorts.java | 86 public static short checkedCast(long value) { in checkedCast() method in Shorts
|
D | Ints.java | 87 public static int checkedCast(long value) { in checkedCast() method in Ints
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
D | AltsTsiFrameProtector.java | 150 ByteBuf protectedBuf = alloc.directBuffer(Ints.checkedCast(protectedBytes)); in handleUnprotected() 337 Ints.checkedCast(requiredUnprotectedBytesCompleteFrames + suffixBytes)); in handlePayload()
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | Chars.java | 77 public static char checkedCast(long value) { in checkedCast() method in Chars
|
D | Shorts.java | 84 public static short checkedCast(long value) { in checkedCast() method in Shorts
|
D | Ints.java | 86 public static int checkedCast(long value) { in checkedCast() method in Ints
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | BloomFilterTest.java | 304 int arraySize = Ints.checkedCast(LongMath.divide(numBits, 64, RoundingMode.CEILING)); in testBitSize()
|