Home
last modified time | relevance | path

Searched refs:hashLong (Results 1 – 14 of 14) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DMurmur3Hash32Test.java38 assertHash(1669671676, murmur3_32().hashLong(0L)); in testKnownLongInputs()
39 assertHash(-846261623, murmur3_32().hashLong(-42L)); in testKnownLongInputs()
40 assertHash(1871679806, murmur3_32().hashLong(42L)); in testKnownLongInputs()
41 assertHash(1366273829, murmur3_32().hashLong(Long.MIN_VALUE)); in testKnownLongInputs()
42 assertHash(-2106506049, murmur3_32().hashLong(Long.MAX_VALUE)); in testKnownLongInputs()
DAbstractNonStreamingHashFunctionTest.java148 public HashCode hashLong(long input) { in hashLong() method in NonStreamingVersion
DHashingTest.java344 byte[] md5Hash = Hashing.md5().hashLong(42L).asBytes(); in testConcatenatedHashFunction_makeHash()
345 byte[] murmur3Hash = Hashing.murmur3_32().hashLong(42L).asBytes(); in testConcatenatedHashFunction_makeHash()
352 new ConcatenatedHashFunction(Hashing.md5(), Hashing.murmur3_32()).hashLong(42L)); in testConcatenatedHashFunction_makeHash()
DAbstractStreamingHasherTest.java272 public HashCode hashLong(long input) {
DHashTestUtils.java509 assertEquals(hashFunction.hashLong(l), in assertHashLongEquivalence()
/external/guava/guava/src/com/google/common/hash/
DHashFunction.java167 HashCode hashLong(long input); in hashLong() method
DAbstractNonStreamingHashFunction.java65 @Override public HashCode hashLong(long input) { in hashLong() method in AbstractNonStreamingHashFunction
DMurmur3_32HashFunction.java91 @Override public HashCode hashLong(long input) { in hashLong() method in Murmur3_32HashFunction
DAbstractStreamingHashFunction.java52 @Override public HashCode hashLong(long input) { in hashLong() method in AbstractStreamingHashFunction
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDoubleArrayList.java110 result = (31 * result) + Internal.hashLong(bits); in hashCode()
DLongArrayList.java108 result = (31 * result) + Internal.hashLong(array[i]); in hashCode()
DGeneratedMessageLite.java1835 hashCode = (53 * hashCode) + Internal.hashLong(Double.doubleToLongBits(mine)); in visitDouble()
1847 hashCode = (53 * hashCode) + Internal.hashLong(mine); in visitLong()
1879 hashCode = (53 * hashCode) + Internal.hashLong(Double.doubleToLongBits((Double) mine)); in visitOneofDouble()
1891 hashCode = (53 * hashCode) + Internal.hashLong((Long) mine); in visitOneofLong()
DInternal.java221 public static int hashLong(long n) { in hashLong() method in Internal
/external/guava/guava/src/com/google/common/net/
DInetAddresses.java902 int coercedHash = Hashing.murmur3_32().hashLong(addressAsLong).asInt(); in getCoercedIPv4Address()