OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:byteToLong
(Results
1 - 2
of
2
) sorted by null
/art/test/551-checker-shifter-operand/src/
Main.java
56
static long $noinline$
byteToLong
(byte v) { if (doThrow) throw new Error(); return (long)v; }
356
assertLongEquals(a + $noinline$
byteToLong
(b), a + (long)b);
[
all
...]
/art/test/422-type-conversion/src/
Main.java
80
byteToLong
();
140
private static void
byteToLong
() {
141
assertLongEquals(1L, $opt$noinline$
ByteToLong
((byte)1));
142
assertLongEquals(0L, $opt$noinline$
ByteToLong
((byte)0));
143
assertLongEquals(-1L, $opt$noinline$
ByteToLong
((byte)-1));
144
assertLongEquals(51L, $opt$noinline$
ByteToLong
((byte)51));
145
assertLongEquals(-51L, $opt$noinline$
ByteToLong
((byte)-51));
146
assertLongEquals(127L, $opt$noinline$
ByteToLong
((byte)127)); // 2^7 - 1
147
assertLongEquals(-127L, $opt$noinline$
ByteToLong
((byte)-127)); // -(2^7 - 1)
148
assertLongEquals(-128L, $opt$noinline$
ByteToLong
((byte)-128)); // -(2^7
[
all
...]
Completed in 105 milliseconds