HomeSort by relevance Sort by last modified time
    Searched refs:intToLong (Results 1 - 3 of 3) sorted by null

  /art/test/551-checker-shifter-operand/src/
Main.java 68 static long $noinline$intToLong (int v) { if (doThrow) throw new Error(); return (long)v; }
411 assertLongEquals(a + $noinline$intToLong (b), a + (long)b);
    [all...]
  /art/test/422-type-conversion/src/
Main.java 82 intToLong();
162 private static void intToLong() {
163 assertLongEquals(1L, $opt$noinline$IntToLong(1));
164 assertLongEquals(0L, $opt$noinline$IntToLong(0));
165 assertLongEquals(-1L, $opt$noinline$IntToLong(-1));
166 assertLongEquals(51L, $opt$noinline$IntToLong(51));
167 assertLongEquals(-51L, $opt$noinline$IntToLong(-51));
168 assertLongEquals(2147483647L, $opt$noinline$IntToLong(2147483647)); // 2^31 - 1
169 assertLongEquals(-2147483647L, $opt$noinline$IntToLong(-2147483647)); // -(2^31 - 1)
170 assertLongEquals(-2147483648L, $opt$noinline$IntToLong(-2147483648)); // -(2^31
    [all...]
  /external/dexmaker/src/test/java/com/google/dexmaker/
DexMakerTest.java 549 Method intToLong = numericCastingMethod(int.class, long.class);
550 assertEquals(0x0000000000000000L, intToLong.invoke(null, 0x00000000));
551 assertEquals(0x000000007fffffffL, intToLong.invoke(null, 0x7fffffff));
552 assertEquals(0xffffffff80000000L, intToLong.invoke(null, 0x80000000));
553 assertEquals(0xffffffffffffffffL, intToLong.invoke(null, 0xffffffff));
    [all...]

Completed in 501 milliseconds