Home
last modified time | relevance | path

Searched refs:asLong (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodesTest.java60 HashCode fromLong = HashCodes.fromLong(expected.asLong); in testFromLong()
79 if (expected.asLong == null) { in assertExpectedHashCode()
81 hash.asLong(); in assertExpectedHashCode()
85 assertEquals(expected.asLong.longValue(), hash.asLong()); in assertExpectedHashCode()
115 final Long asLong; // null means that asLong should throw an exception field in HashCodesTest.ExpectedHashCode
117 ExpectedHashCode(byte[] bytes, int asInt, Long asLong, String toString) { in ExpectedHashCode() argument
120 this.asLong = asLong; in ExpectedHashCode()
/external/guava/guava/src/com/google/common/hash/
DHashCodes.java56 @Override public long asLong() { in asLong() method in HashCodes.IntHashCode
96 @Override public long asLong() { in asLong() method in HashCodes.LongHashCode
132 @Override public long asLong() { in asLong() method in HashCodes.BytesHashCode
DBloomFilterStrategies.java29 long hash64 = Hashing.murmur3_128().newHasher().putObject(object, funnel).hash().asLong(); in MURMUR128_MITZ_32()
44 long hash64 = Hashing.murmur3_128().newHasher().putObject(object, funnel).hash().asLong(); in MURMUR128_MITZ_32()
DHashCode.java45 public abstract long asLong(); in asLong() method in HashCode
DHashing.java155 return (hashCode.bits() < 64) ? UnsignedInts.toLong(hashCode.asInt()) : hashCode.asLong(); in padToLong()
/external/guava/guava/src/com/google/common/primitives/
DUnsignedInts.java239 long asLong = x & INT_MASK; in toString() local
240 return Long.toString(asLong, radix); in toString()