Home
last modified time | relevance | path

Searched refs:HashFunction (Results 1 – 25 of 33) sorted by relevance

12

/external/guava/guava/src/com/google/common/hash/
DHashing.java60 public static HashFunction goodFastHash(int minimumBits) { in goodFastHash()
72 HashFunction[] hashFunctions = new HashFunction[hashFunctionsNeeded]; in goodFastHash()
96 public static HashFunction murmur3_32(int seed) { in murmur3_32()
108 public static HashFunction murmur3_32() { in murmur3_32()
113 static final HashFunction MURMUR3_32 = new Murmur3_32HashFunction(0);
116 static final HashFunction GOOD_FAST_HASH_FUNCTION_32 = murmur3_32(GOOD_FAST_HASH_SEED);
127 public static HashFunction murmur3_128(int seed) { in murmur3_128()
139 public static HashFunction murmur3_128() { in murmur3_128()
144 static final HashFunction MURMUR3_128 = new Murmur3_128HashFunction(0);
147 static final HashFunction GOOD_FAST_HASH_FUNCTION_128 = murmur3_128(GOOD_FAST_HASH_SEED);
[all …]
DAbstractCompositeHashFunction.java31 final HashFunction[] functions;
33 AbstractCompositeHashFunction(HashFunction... functions) { in AbstractCompositeHashFunction()
34 for (HashFunction function : functions) { in AbstractCompositeHashFunction()
DHashFunction.java132 public interface HashFunction { interface
DHashingOutputStream.java45 public HashingOutputStream(HashFunction hashFunction, OutputStream out) { in HashingOutputStream()
/external/guava/guava-tests/test/com/google/common/hash/
DHashingTest.java120 HashFunction hasher = Hashing.goodFastHash(i); in testGoodFastHash()
379 private static final ImmutableTable<HashFunction, String, String> KNOWN_HASHES =
380 ImmutableTable.<HashFunction, String, String>builder()
424 if (method.getReturnType().equals(HashFunction.class) // must return HashFunction in testAllHashFunctionsHaveKnownHashes()
427 HashFunction hashFunction = (HashFunction) method.invoke(Hashing.class); in testAllHashFunctionsHaveKnownHashes()
435 for (Cell<HashFunction, String, String> cell : KNOWN_HASHES.cellSet()) { in testKnownUtf8Hashing()
436 HashFunction func = cell.getRowKey(); in testKnownUtf8Hashing()
468 HashFunction hashFunction1a = goodFastHash(1); in testGoodFastHashEquals()
469 HashFunction hashFunction1b = goodFastHash(32); in testGoodFastHashEquals()
470 HashFunction hashFunction2a = goodFastHash(33); in testGoodFastHashEquals()
[all …]
DHashTestUtils.java245 static void checkNoFunnels(HashFunction function) { in checkNoFunnels()
288 static void checkAvalanche(HashFunction function, int trials, double epsilon) { in checkAvalanche()
328 static void checkNo2BitCharacteristics(HashFunction function) { in checkNo2BitCharacteristics()
375 static void check2BitAvalanche(HashFunction function, int trials, double epsilon) { in check2BitAvalanche()
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()
[all …]
DHashFunctionEnum.java43 private final HashFunction hashFunction;
45 private HashFunctionEnum(HashFunction hashFunction) { in HashFunctionEnum()
49 HashFunction getHashFunction() { in getHashFunction()
DChecksumHashFunctionTest.java75 HashFunction func = new ChecksumHashFunction(supplier, 32, toString); in assertChecksum()
83 HashFunction func = new ChecksumHashFunction(supplier, 32, toString); in assertHash32()
DSipHashFunctionTest.java34 private static final HashFunction SIP_WITH_KEY = Hashing.sipHash24(K0, K1);
35 private static final HashFunction SIP_WITHOUT_KEY = Hashing.sipHash24();
DHashingOutputStreamTest.java32 private HashFunction hashFunction;
38 hashFunction = EasyMock.createMock(HashFunction.class); in setUp()
DMessageDigestHashFunctionTest.java42 private static final ImmutableMap<String, HashFunction> ALGORITHMS =
43 new ImmutableMap.Builder<String, HashFunction>()
DHashingInputStreamTest.java36 private HashFunction hashFunction;
43 hashFunction = EasyMock.createMock(HashFunction.class); in setUp()
/external/flatbuffers/include/flatbuffers/
Dhash.h73 typedef T (*HashFunction)(const char *);
74 HashFunction function;
92 inline NamedHashFunction<uint16_t>::HashFunction FindHashFunction16(
103 inline NamedHashFunction<uint32_t>::HashFunction FindHashFunction32(
114 inline NamedHashFunction<uint64_t>::HashFunction FindHashFunction64(
/external/guava/guava-tests/benchmark/com/google/common/hash/
DMessageDigestAlgorithmBenchmark.java22 import com.google.common.hash.HashFunction;
70 private final HashFunction hashFn;
71 Algorithm(String algorithmName, HashFunction hashFn) { in Algorithm()
82 public HashFunction getHashFunction() { in getHashFunction()
DHashFunctionBenchmark.java22 import com.google.common.hash.HashFunction;
55 HashFunction hashFunction = hashFunctionEnum.getHashFunction(); in hashFunction()
/external/google-fruit/include/fruit/impl/data_structures/
Dsemistatic_map.defn.h26 inline SemistaticMap<Key, Value>::HashFunction::HashFunction() : a(0), shift(0) {} in HashFunction() function
29 inline typename SemistaticMap<Key, Value>::Unsigned SemistaticMap<Key, Value>::HashFunction::hash(U… in hash()
Dsemistatic_map.h53 struct HashFunction { struct
57 HashFunction(); argument
69 HashFunction hash_function;
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DHost.java27 import com.google.common.hash.HashFunction;
72 private void initHash(HashFunction hashFunction) { in initHash()
103 private HashFunction hashFunction = getPersistentHashFunction();
119 @VisibleForTesting public Builder hashFunctionForTesting(HashFunction hashFunction) { in hashFunctionForTesting()
DPersistentHashing.java19 import com.google.common.hash.HashFunction;
28 static HashFunction getPersistentHashFunction() { in getPersistentHashFunction()
/external/flatbuffers/src/
Dflathash.cpp58 flatbuffers::NamedHashFunction<uint16_t>::HashFunction hash_function16 = in main()
60 flatbuffers::NamedHashFunction<uint32_t>::HashFunction hash_function32 = in main()
62 flatbuffers::NamedHashFunction<uint64_t>::HashFunction hash_function64 = in main()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFAcceleratorTable.cpp26 Hdr.HashFunction = AccelSection.getU16(&Offset); in extract()
53 << "Hash function = " << format("0x%08x", Hdr.HashFunction) << '\n' in dump()
/external/tensorflow/tensorflow/core/kernels/
Dxsmm_conv2d.cc129 struct HashFunction { struct
139 HashFunction>::iterator i = libxsmm_handles.find(w); in find()
153 HashFunction>::iterator i; in ~handles()
161 HashFunction>
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_lru_cache.h34 template <class Key, class Value, class HashFunction>
39 typedef HashFunction hasher;
/external/guava/guava/src/com/google/common/io/
DByteSource.java27 import com.google.common.hash.HashFunction;
295 public HashCode hash(HashFunction hashFunction) throws IOException { in hash()
536 public HashCode hash(HashFunction hashFunction) throws IOException { in hash()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h25 uint16_t HashFunction; member

12