Searched defs:hashFunction (Results 1 – 12 of 12) sorted by relevance
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
D | HashFunctionBenchmark.java | 54 @Benchmark int hashFunction(int reps) { in hashFunction() method in HashFunctionBenchmark 55 HashFunction hashFunction = hashFunctionEnum.getHashFunction(); in hashFunction() local
|
D | ChecksumBenchmark.java | 85 private byte runHashFunction(int reps, HashFunction hashFunction) { in runHashFunction()
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
D | Host.java | 72 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/ |
D | HashTestUtils.java | 58 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 …]
|
D | HashFunctionEnum.java | 43 private final HashFunction hashFunction; field in HashFunctionEnum 45 private HashFunctionEnum(HashFunction hashFunction) { in HashFunctionEnum()
|
D | HashingOutputStreamTest.java | 32 private HashFunction hashFunction; field in HashingOutputStreamTest
|
D | HashingInputStreamTest.java | 36 private HashFunction hashFunction; field in HashingInputStreamTest
|
D | HashingTest.java | 427 HashFunction hashFunction = (HashFunction) method.invoke(Hashing.class); in testAllHashFunctionsHaveKnownHashes() local
|
/external/guava/guava/src/com/google/common/hash/ |
D | HashingOutputStream.java | 45 public HashingOutputStream(HashFunction hashFunction, OutputStream out) { in HashingOutputStream()
|
D | HashingInputStream.java | 41 public HashingInputStream(HashFunction hashFunction, InputStream in) { in HashingInputStream()
|
/external/guava/guava/src/com/google/common/io/ |
D | ByteSource.java | 295 public HashCode hash(HashFunction hashFunction) throws IOException { in hash() 536 public HashCode hash(HashFunction hashFunction) throws IOException { in hash()
|
D | Files.java | 592 public static HashCode hash(File file, HashFunction hashFunction) in hash()
|