OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:charToLong
(Results
1 - 2
of
2
) sorted by null
/art/test/551-checker-shifter-operand/src/
Main.java
60
static long $noinline$
charToLong
(char v) { if (doThrow) throw new Error(); return (long)v; }
429
assertLongEquals(a + $noinline$
charToLong
(b), a + (long)b);
[
all
...]
/art/test/422-type-conversion/src/
Main.java
83
charToLong
();
173
private static void
charToLong
() {
174
assertLongEquals(1L, $opt$noinline$
CharToLong
((char)1));
175
assertLongEquals(0L, $opt$noinline$
CharToLong
((char)0));
176
assertLongEquals(51L, $opt$noinline$
CharToLong
((char)51));
177
assertLongEquals(32767L, $opt$noinline$
CharToLong
((char)32767)); // 2^15 - 1
178
assertLongEquals(65535L, $opt$noinline$
CharToLong
((char)65535)); // 2^16 - 1
179
assertLongEquals(65535L, $opt$noinline$
CharToLong
((char)-1));
180
assertLongEquals(65485L, $opt$noinline$
CharToLong
((char)-51));
181
assertLongEquals(32769L, $opt$noinline$
CharToLong
((char)-32767)); // -(2^15 - 1
[
all
...]
Completed in 51 milliseconds