OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:longToInt
(Results
1 - 4
of
4
) sorted by null
/art/test/551-checker-shifter-operand/src/
Main.java
72
static int $noinline$
longToInt
(long v) { if (doThrow) throw new Error(); return (int)v; }
299
assertLongEquals((a ^ $noinline$LongUshr(b, 7)) | (a ^ $noinline$
longToInt
(b)),
630
assertLongEquals(a + $noinline$
longToInt
(b), a + (int)b);
[
all
...]
/art/test/422-type-conversion/src/
Main.java
98
longToInt
();
279
private static void
longToInt
() {
280
assertIntEquals(1, $opt$noinline$
LongToInt
(1L));
281
assertIntEquals(0, $opt$noinline$
LongToInt
(0L));
282
assertIntEquals(-1, $opt$noinline$
LongToInt
(-1L));
283
assertIntEquals(51, $opt$noinline$
LongToInt
(51L));
284
assertIntEquals(-51, $opt$noinline$
LongToInt
(-51L));
285
assertIntEquals(2147483647, $opt$noinline$
LongToInt
(2147483647L)); // 2^31 - 1
286
assertIntEquals(-2147483647, $opt$noinline$
LongToInt
(-2147483647L)); // -(2^31 - 1)
287
assertIntEquals(-2147483648, $opt$noinline$
LongToInt
(-2147483648L)); // -(2^31
[
all
...]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DexMakerTest.java
657
Method
longToInt
= numericCastingMethod(long.class, int.class);
658
assertEquals(0x1234abcd,
longToInt
.invoke(null, 0x000000001234abcdL));
659
assertEquals(0x1234abcd,
longToInt
.invoke(null, 0x123456781234abcdL));
660
assertEquals(0x1234abcd,
longToInt
.invoke(null, 0xffffffff1234abcdL));
[
all
...]
/external/error_prone/javac/
javac-9+181-r4173-1.jar
Completed in 258 milliseconds