Home
last modified time | relevance | path

Searched refs:HASH_FN (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DFarmHashFingerprint64Test.java35 private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64(); field in FarmHashFingerprint64Test
48 assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s)); in testStringsConsistency()
70 assertThat(HASH_FN.hashUnencodedChars(stringA)) in testUtf8()
71 .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB)); in testUtf8()
83 Hasher hasher = HASH_FN.newHasher(); in testPutNonChars()
96 hasher = HASH_FN.newHasher(); in testPutNonChars()
108 hasher = HASH_FN.newHasher(); in testPutNonChars()
116 hasher = HASH_FN.newHasher(); in testPutNonChars()
120 hasher = HASH_FN.newHasher(); in testPutNonChars()
124 hasher = HASH_FN.newHasher(); in testPutNonChars()
[all …]
DFingerprint2011Test.java58 private static final HashFunction HASH_FN = Hashing.fingerprint2011(); field in Fingerprint2011Test
71 assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s)); in testStringsConsistency()
93 assertThat(HASH_FN.hashUnencodedChars(stringA)) in testUtf8()
94 .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB)); in testUtf8()
117 Hasher hasher = HASH_FN.newHasher(); in testPutNonChars()
130 hasher = HASH_FN.newHasher(); in testPutNonChars()
142 hasher = HASH_FN.newHasher(); in testPutNonChars()
150 hasher = HASH_FN.newHasher(); in testPutNonChars()
154 hasher = HASH_FN.newHasher(); in testPutNonChars()
158 hasher = HASH_FN.newHasher(); in testPutNonChars()
[all …]
/external/guava/android/guava-tests/test/com/google/common/hash/
DFarmHashFingerprint64Test.java35 private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64(); field in FarmHashFingerprint64Test
48 assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s)); in testStringsConsistency()
70 assertThat(HASH_FN.hashUnencodedChars(stringA)) in testUtf8()
71 .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB)); in testUtf8()
83 Hasher hasher = HASH_FN.newHasher(); in testPutNonChars()
96 hasher = HASH_FN.newHasher(); in testPutNonChars()
108 hasher = HASH_FN.newHasher(); in testPutNonChars()
116 hasher = HASH_FN.newHasher(); in testPutNonChars()
120 hasher = HASH_FN.newHasher(); in testPutNonChars()
124 hasher = HASH_FN.newHasher(); in testPutNonChars()
[all …]
DFingerprint2011Test.java58 private static final HashFunction HASH_FN = Hashing.fingerprint2011(); field in Fingerprint2011Test
71 assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s)); in testStringsConsistency()
93 assertThat(HASH_FN.hashUnencodedChars(stringA)) in testUtf8()
94 .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB)); in testUtf8()
117 Hasher hasher = HASH_FN.newHasher(); in testPutNonChars()
130 hasher = HASH_FN.newHasher(); in testPutNonChars()
142 hasher = HASH_FN.newHasher(); in testPutNonChars()
150 hasher = HASH_FN.newHasher(); in testPutNonChars()
154 hasher = HASH_FN.newHasher(); in testPutNonChars()
158 hasher = HASH_FN.newHasher(); in testPutNonChars()
[all …]