Searched refs:parseUnsignedLong (Results 1 – 5 of 5) sorted by relevance
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | UnsignedLongsTest.java | 131 assertEquals(0xffffffffffffffffL, UnsignedLongs.parseUnsignedLong("18446744073709551615")); in testParseLong() 132 assertEquals(0x7fffffffffffffffL, UnsignedLongs.parseUnsignedLong("9223372036854775807")); in testParseLong() 133 assertEquals(0xff1a618b7f65ea12L, UnsignedLongs.parseUnsignedLong("18382112080831834642")); in testParseLong() 134 assertEquals(0x5a4316b8c153ac4dL, UnsignedLongs.parseUnsignedLong("6504067269626408013")); in testParseLong() 135 assertEquals(0x6cf78a4b139a4e2aL, UnsignedLongs.parseUnsignedLong("7851896530399809066")); in testParseLong() 139 UnsignedLongs.parseUnsignedLong("18446744073709551616"); in testParseLong() 183 assertEquals(0xffffffffffffffffL, UnsignedLongs.parseUnsignedLong("ffffffffffffffff", 16)); in testParseLongWithRadix() 184 assertEquals(0x1234567890abcdefL, UnsignedLongs.parseUnsignedLong("1234567890abcdef", 16)); in testParseLongWithRadix() 191 assertEquals(max.longValue(), UnsignedLongs.parseUnsignedLong(maxAsString, radix)); in testParseLongWithRadix() 197 UnsignedLongs.parseUnsignedLong(overflowAsString, radix); in testParseLongWithRadix() [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | UnsignedLongsTest.java | 148 assertEquals(0xffffffffffffffffL, UnsignedLongs.parseUnsignedLong("18446744073709551615")); in testParseLong() 149 assertEquals(0x7fffffffffffffffL, UnsignedLongs.parseUnsignedLong("9223372036854775807")); in testParseLong() 150 assertEquals(0xff1a618b7f65ea12L, UnsignedLongs.parseUnsignedLong("18382112080831834642")); in testParseLong() 151 assertEquals(0x5a4316b8c153ac4dL, UnsignedLongs.parseUnsignedLong("6504067269626408013")); in testParseLong() 152 assertEquals(0x6cf78a4b139a4e2aL, UnsignedLongs.parseUnsignedLong("7851896530399809066")); in testParseLong() 156 UnsignedLongs.parseUnsignedLong("18446744073709551616"); in testParseLong() 200 assertEquals(0xffffffffffffffffL, UnsignedLongs.parseUnsignedLong("ffffffffffffffff", 16)); in testParseLongWithRadix() 201 assertEquals(0x1234567890abcdefL, UnsignedLongs.parseUnsignedLong("1234567890abcdef", 16)); in testParseLongWithRadix() 208 assertEquals(max.longValue(), UnsignedLongs.parseUnsignedLong(maxAsString, radix)); in testParseLongWithRadix() 214 UnsignedLongs.parseUnsignedLong(overflowAsString, radix); in testParseLongWithRadix() [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/primitives/ |
D | UnsignedLongsBenchmark.java | 70 @Benchmark long parseUnsignedLong(int reps) { in parseUnsignedLong() method in UnsignedLongsBenchmark 77 tmp += UnsignedLongs.parseUnsignedLong(decimalStrings[j]); in parseUnsignedLong() 78 tmp += UnsignedLongs.parseUnsignedLong(hexStrings[j], 16); in parseUnsignedLong() 79 tmp += UnsignedLongs.parseUnsignedLong(binaryStrings[j], 2); in parseUnsignedLong()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | UnsignedLongs.java | 249 public static long parseUnsignedLong(String s) { in parseUnsignedLong() method in UnsignedLongs 250 return parseUnsignedLong(s, 10); in parseUnsignedLong() 273 return parseUnsignedLong(request.rawValue, request.radix); in decode() 293 public static long parseUnsignedLong(String s, int radix) { in parseUnsignedLong() method in UnsignedLongs
|
D | UnsignedLong.java | 120 return fromLongBits(UnsignedLongs.parseUnsignedLong(string, radix)); in valueOf()
|