OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:shortToByte
(Results
1 - 2
of
2
) sorted by null
/art/test/551-checker-shifter-operand/src/
Main.java
61
static byte $noinline$
shortToByte
(short v) { if (doThrow) throw new Error(); return (byte)v; }
353
assertIntEquals(a + $noinline$
shortToByte
(b), a + (byte)b);
380
assertLongEquals(a + $noinline$
shortToByte
(b), a + (byte)b);
[
all
...]
/art/test/422-type-conversion/src/
Main.java
125
shortToByte
();
502
private static void
shortToByte
() {
503
assertByteEquals((byte)1, $opt$noinline$
ShortToByte
((short)1));
504
assertByteEquals((byte)0, $opt$noinline$
ShortToByte
((short)0));
505
assertByteEquals((byte)-1, $opt$noinline$
ShortToByte
((short)-1));
506
assertByteEquals((byte)51, $opt$noinline$
ShortToByte
((short)51));
507
assertByteEquals((byte)-51, $opt$noinline$
ShortToByte
((short)-51));
508
assertByteEquals((byte)127, $opt$noinline$
ShortToByte
((short)127)); // 2^7 - 1
509
assertByteEquals((byte)-127, $opt$noinline$
ShortToByte
((short)-127)); // -(2^7 - 1)
510
assertByteEquals((byte)-128, $opt$noinline$
ShortToByte
((short)-128)); // -(2^7
[
all
...]
Completed in 997 milliseconds