Searched refs:asLong (Results 1 – 6 of 6) sorted by relevance
/external/guava/guava-tests/test/com/google/common/hash/ |
D | SipHashFunctionTest.java | 124 assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong()); in test15ByteStringFromSipHashPaper() 165 assertEquals(expected, SIP_WITH_KEY.hashString(input, UTF_8).asLong()); in assertSip() 166 assertEquals(expected, SIP_WITH_KEY.newHasher().putString(input, UTF_8).hash().asLong()); in assertSip() 167 assertEquals(expected, SIP_WITHOUT_KEY.hashString(input, UTF_8).asLong()); in assertSip() 168 assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putString(input, UTF_8).hash().asLong()); in assertSip() 172 assertEquals(expected, SIP_WITH_KEY.hashBytes(input).asLong()); in assertSip() 173 assertEquals(expected, SIP_WITH_KEY.newHasher().putBytes(input).hash().asLong()); in assertSip() 174 assertEquals(expected, SIP_WITHOUT_KEY.hashBytes(input).asLong()); in assertSip() 175 assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putBytes(input).hash().asLong()); in assertSip()
|
D | HashCodeTest.java | 79 HashCode fromLong = HashCode.fromLong(expected.asLong); in testFromLong() 352 if (expectedHashCode.asLong == null) { in assertExpectedHashCode() 354 hash.asLong(); in assertExpectedHashCode() 358 assertEquals(expectedHashCode.asLong.longValue(), hash.asLong()); in assertExpectedHashCode() 388 final Long asLong; // null means that asLong should throw an exception field in HashCodeTest.ExpectedHashCode 390 ExpectedHashCode(byte[] bytes, int asInt, Long asLong, String toString) { in ExpectedHashCode() argument 393 this.asLong = asLong; in ExpectedHashCode()
|
/external/guava/guava/src/com/google/common/hash/ |
D | HashCode.java | 61 public abstract long asLong(); in asLong() method in HashCode 150 public long asLong() { in asLong() method in HashCode.IntHashCode 214 public long asLong() { in asLong() method in HashCode.LongHashCode 232 return hash == that.asLong(); in equalsSameBits() 285 public long asLong() { in asLong() method in HashCode.BytesHashCode
|
D | BloomFilterStrategies.java | 48 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); in MURMUR128_MITZ_32() 67 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); in MURMUR128_MITZ_32()
|
/external/smali/util/src/main/java/org/jf/util/ |
D | NumberUtils.java | 123 String asLong = format.format(value); in isLikelyDouble() local 139 return asDouble.length() < asLong.length(); in isLikelyDouble()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | UnsignedInts.java | 273 long asLong = x & INT_MASK; in toString() local 274 return Long.toString(asLong, radix); in toString()
|