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; }
482
assertIntEquals(a + $noinline$
shortToByte
(b), a + (byte)b);
529
assertLongEquals(a + $noinline$
shortToByte
(b), a + (byte)b);
[
all
...]
/art/test/422-type-conversion/src/
Main.java
125
shortToByte
();
506
private static void
shortToByte
() {
507
assertByteEquals((byte)1, $opt$noinline$
ShortToByte
((short)1));
508
assertByteEquals((byte)0, $opt$noinline$
ShortToByte
((short)0));
509
assertByteEquals((byte)-1, $opt$noinline$
ShortToByte
((short)-1));
510
assertByteEquals((byte)51, $opt$noinline$
ShortToByte
((short)51));
511
assertByteEquals((byte)-51, $opt$noinline$
ShortToByte
((short)-51));
512
assertByteEquals((byte)127, $opt$noinline$
ShortToByte
((short)127)); // 2^7 - 1
513
assertByteEquals((byte)-127, $opt$noinline$
ShortToByte
((short)-127)); // -(2^7 - 1)
514
assertByteEquals((byte)-128, $opt$noinline$
ShortToByte
((short)-128)); // -(2^7
[
all
...]
Completed in 207 milliseconds