Home
last modified time | relevance | path

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

/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()
DHashingInputStream.java41 public HashingInputStream(HashFunction hashFunction, InputStream in) { in HashingInputStream()
DAbstractNonStreamingHashFunction.java33 abstract class AbstractNonStreamingHashFunction implements HashFunction {
DAbstractStreamingHashFunction.java35 abstract class AbstractStreamingHashFunction implements HashFunction {
/external/guava/guava-tests/test/com/google/common/hash/
DHashingTest.java120 HashFunction hasher = Hashing.goodFastHash(i); in testGoodFastHash()
386 private static final ImmutableTable<HashFunction, String, String> KNOWN_HASHES =
387 ImmutableTable.<HashFunction, String, String>builder()
428 if (method.getReturnType().equals(HashFunction.class) // must return HashFunction in testAllHashFunctionsHaveKnownHashes()
431 HashFunction hashFunction = (HashFunction) method.invoke(Hashing.class); in testAllHashFunctionsHaveKnownHashes()
439 for (Cell<HashFunction, String, String> cell : KNOWN_HASHES.cellSet()) { in testKnownUtf8Hashing()
440 HashFunction func = cell.getRowKey(); in testKnownUtf8Hashing()
472 HashFunction hashFunction1a = goodFastHash(1); in testGoodFastHashEquals()
473 HashFunction hashFunction1b = goodFastHash(32); in testGoodFastHashEquals()
474 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()
DHashingOutputStreamTest.java32 private HashFunction hashFunction;
38 hashFunction = EasyMock.createMock(HashFunction.class); in setUp()
DSipHashFunctionTest.java34 private static final HashFunction SIP_WITH_KEY = Hashing.sipHash24(K0, K1);
35 private static final HashFunction SIP_WITHOUT_KEY = Hashing.sipHash24();
DMessageDigestHashFunctionTest.java41 private static final ImmutableMap<String, HashFunction> ALGORITHMS =
42 new ImmutableMap.Builder<String, HashFunction>()
DHashingInputStreamTest.java35 private HashFunction hashFunction;
42 hashFunction = EasyMock.createMock(HashFunction.class); in setUp()
/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()
DChecksumBenchmark.java85 private byte runHashFunction(int reps, HashFunction hashFunction) { in runHashFunction()
/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/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h25 uint16_t HashFunction; member
/external/guava/guava/src/com/google/common/io/
DByteSource.java27 import com.google.common.hash.HashFunction;
310 public HashCode hash(HashFunction hashFunction) throws IOException { in hash()
551 public HashCode hash(HashFunction hashFunction) throws IOException { in hash()
DByteStreams.java27 import com.google.common.hash.HashFunction;
938 InputSupplier<? extends InputStream> supplier, HashFunction hashFunction)
DFiles.java32 import com.google.common.hash.HashFunction;
789 public static HashCode hash(File file, HashFunction hashFunction) in hash()
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...