Home
last modified time | relevance | path

Searched refs:goodFastHash (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashingTest.java20 import static com.google.common.hash.Hashing.goodFastHash;
120 HashFunction hasher = Hashing.goodFastHash(i); in testGoodFastHash()
128 HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(32), 250, 0.20); in testGoodFastHash32()
129 HashTestUtils.checkAvalanche(Hashing.goodFastHash(32), 250, 0.17); in testGoodFastHash32()
130 HashTestUtils.checkNo2BitCharacteristics(Hashing.goodFastHash(32)); in testGoodFastHash32()
131 HashTestUtils.checkNoFunnels(Hashing.goodFastHash(32)); in testGoodFastHash32()
132 HashTestUtils.assertInvariants(Hashing.goodFastHash(32)); in testGoodFastHash32()
137 HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(128), 250, 0.20); in testGoodFastHash128()
138 HashTestUtils.checkAvalanche(Hashing.goodFastHash(128), 250, 0.17); in testGoodFastHash128()
139 HashTestUtils.checkNo2BitCharacteristics(Hashing.goodFastHash(128)); in testGoodFastHash128()
[all …]
DHashFunctionEnum.java27 GOOD_FAST_HASH_32(Hashing.goodFastHash(32)),
28 GOOD_FAST_HASH_64(Hashing.goodFastHash(64)),
29 GOOD_FAST_HASH_128(Hashing.goodFastHash(128)),
30 GOOD_FAST_HASH_256(Hashing.goodFastHash(256)),
/external/guava/guava/src/com/google/common/hash/
DHashing.java60 public static HashFunction goodFastHash(int minimumBits) { in goodFastHash() method in Hashing