Searched refs:hashLong (Results 1 – 14 of 14) sorted by relevance
38 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()
148 public HashCode hashLong(long input) { in hashLong() method in NonStreamingVersion
344 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()
272 public HashCode hashLong(long input) {
509 assertEquals(hashFunction.hashLong(l), in assertHashLongEquivalence()
167 HashCode hashLong(long input); in hashLong() method
65 @Override public HashCode hashLong(long input) { in hashLong() method in AbstractNonStreamingHashFunction
91 @Override public HashCode hashLong(long input) { in hashLong() method in Murmur3_32HashFunction
52 @Override public HashCode hashLong(long input) { in hashLong() method in AbstractStreamingHashFunction
110 result = (31 * result) + Internal.hashLong(bits); in hashCode()
108 result = (31 * result) + Internal.hashLong(array[i]); in hashCode()
1835 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()
221 public static int hashLong(long n) { in hashLong() method in Internal
902 int coercedHash = Hashing.murmur3_32().hashLong(addressAsLong).asInt(); in getCoercedIPv4Address()