OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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; }
585
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/dexmaker-tests/src/androidTest/java/com/android/dx/
DexMakerTest.java
651
Method
intToLong
= numericCastingMethod(int.class, long.class);
652
assertEquals(0x0000000000000000L,
intToLong
.invoke(null, 0x00000000));
653
assertEquals(0x000000007fffffffL,
intToLong
.invoke(null, 0x7fffffff));
654
assertEquals(0xffffffff80000000L,
intToLong
.invoke(null, 0x80000000));
655
assertEquals(0xffffffffffffffffL,
intToLong
.invoke(null, 0xffffffff));
[
all
...]
Completed in 851 milliseconds