Searched refs:murmur3_32 (Results 1 – 6 of 6) sorted by relevance
/external/guava/guava-tests/test/com/google/common/hash/ |
D | Murmur3Hash32Test.java | 19 import static com.google.common.hash.Hashing.murmur3_32; 30 assertHash(593689054, murmur3_32().hashInt(0)); in testKnownIntegerInputs() 31 assertHash(-189366624, murmur3_32().hashInt(-42)); in testKnownIntegerInputs() 32 assertHash(-1134849565, murmur3_32().hashInt(42)); in testKnownIntegerInputs() 33 assertHash(-1718298732, murmur3_32().hashInt(Integer.MIN_VALUE)); in testKnownIntegerInputs() 34 assertHash(-1653689534, murmur3_32().hashInt(Integer.MAX_VALUE)); in testKnownIntegerInputs() 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() [all …]
|
D | HashingTest.java | 100 HashTestUtils.check2BitAvalanche(Hashing.murmur3_32(), 250, 0.20); in testMurmur3_32() 101 HashTestUtils.checkAvalanche(Hashing.murmur3_32(), 250, 0.17); in testMurmur3_32() 102 HashTestUtils.checkNo2BitCharacteristics(Hashing.murmur3_32()); in testMurmur3_32() 103 HashTestUtils.checkNoFunnels(Hashing.murmur3_32()); in testMurmur3_32() 104 HashTestUtils.assertInvariants(Hashing.murmur3_32()); in testMurmur3_32() 105 assertEquals("Hashing.murmur3_32(0)", Hashing.murmur3_32().toString()); in testMurmur3_32() 329 new ConcatenatedHashFunction(Hashing.md5(), Hashing.murmur3_32()), in testConcatenatedHashFunction_equals() 330 new ConcatenatedHashFunction(Hashing.md5(), Hashing.murmur3_32())); in testConcatenatedHashFunction_equals() 336 assertEquals(Hashing.md5().bits() + Hashing.murmur3_32().bits(), in testConcatenatedHashFunction_bits() 337 new ConcatenatedHashFunction(Hashing.md5(), Hashing.murmur3_32()).bits()); in testConcatenatedHashFunction_bits() [all …]
|
D | HashFunctionEnum.java | 33 MURMUR3_32(Hashing.murmur3_32()),
|
/external/guava/guava/src/com/google/common/hash/ |
D | Hashing.java | 96 public static HashFunction murmur3_32(int seed) { in murmur3_32() method in Hashing 108 public static HashFunction murmur3_32() { in murmur3_32() method in Hashing 116 static final HashFunction GOOD_FAST_HASH_FUNCTION_32 = murmur3_32(GOOD_FAST_HASH_SEED);
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
D | PersistentHashing.java | 29 return Hashing.murmur3_32(); in getPersistentHashFunction()
|
/external/guava/guava/src/com/google/common/net/ |
D | InetAddresses.java | 902 int coercedHash = Hashing.murmur3_32().hashLong(addressAsLong).asInt(); in getCoercedIPv4Address()
|