Home
last modified time | relevance | path

Searched defs:hashFunction (Results 1 – 12 of 12) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/hash/
DHashFunctionBenchmark.java54 @Benchmark int hashFunction(int reps) { in hashFunction() method in HashFunctionBenchmark
55 HashFunction hashFunction = hashFunctionEnum.getHashFunction(); in hashFunction() local
DChecksumBenchmark.java85 private byte runHashFunction(int reps, HashFunction hashFunction) { in runHashFunction()
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DHost.java72 private void initHash(HashFunction hashFunction) { in initHash()
103 private HashFunction hashFunction = getPersistentHashFunction(); field in Host.Builder
119 @VisibleForTesting public Builder hashFunctionForTesting(HashFunction hashFunction) { in hashFunctionForTesting()
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java58 static void verifyHashFunction(HashFn hashFunction, int hashbits, int expected) { in verifyHashFunction()
414 static void assertInvariants(HashFunction hashFunction) { in assertInvariants()
433 static void assertHashBytesThrowsCorrectExceptions(HashFunction hashFunction) { in assertHashBytesThrowsCorrectExceptions()
450 static void assertIndependentHashers(HashFunction hashFunction) { in assertIndependentHashers()
470 static HashCode randomHash(HashFunction hashFunction, Random random, int numActions) { in randomHash()
478 private static void assertShortcutsAreEquivalent(HashFunction hashFunction, int trials) { in assertShortcutsAreEquivalent()
489 private static void assertHashBytesEquivalence(HashFunction hashFunction, Random random) { in assertHashBytesEquivalence()
501 private static void assertHashIntEquivalence(HashFunction hashFunction, Random random) { in assertHashIntEquivalence()
507 private static void assertHashLongEquivalence(HashFunction hashFunction, Random random) { in assertHashLongEquivalence()
521 private static void assertHashStringEquivalence(HashFunction hashFunction, Random random) { in assertHashStringEquivalence()
[all …]
DHashFunctionEnum.java43 private final HashFunction hashFunction; field in HashFunctionEnum
45 private HashFunctionEnum(HashFunction hashFunction) { in HashFunctionEnum()
DHashingOutputStreamTest.java32 private HashFunction hashFunction; field in HashingOutputStreamTest
DHashingInputStreamTest.java36 private HashFunction hashFunction; field in HashingInputStreamTest
DHashingTest.java427 HashFunction hashFunction = (HashFunction) method.invoke(Hashing.class); in testAllHashFunctionsHaveKnownHashes() local
/external/guava/guava/src/com/google/common/hash/
DHashingOutputStream.java45 public HashingOutputStream(HashFunction hashFunction, OutputStream out) { in HashingOutputStream()
DHashingInputStream.java41 public HashingInputStream(HashFunction hashFunction, InputStream in) { in HashingInputStream()
/external/guava/guava/src/com/google/common/io/
DByteSource.java295 public HashCode hash(HashFunction hashFunction) throws IOException { in hash()
536 public HashCode hash(HashFunction hashFunction) throws IOException { in hash()
DFiles.java592 public static HashCode hash(File file, HashFunction hashFunction) in hash()