OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HashTestUtils
(Results
1 - 9
of
9
) sorted by null
/external/guava/guava-tests/test/com/google/common/hash/
HashingTest.java
49
HashTestUtils
.checkAvalanche(Hashing.md5(), 100, 0.4);
50
HashTestUtils
.checkNo2BitCharacteristics(Hashing.md5());
51
HashTestUtils
.checkNoFunnels(Hashing.md5());
52
HashTestUtils
.assertInvariants(Hashing.md5());
57
HashTestUtils
.checkAvalanche(Hashing.sha1(), 100, 0.4);
58
HashTestUtils
.checkNo2BitCharacteristics(Hashing.sha1());
59
HashTestUtils
.checkNoFunnels(Hashing.sha1());
60
HashTestUtils
.assertInvariants(Hashing.sha1());
65
HashTestUtils
.checkAvalanche(Hashing.sha256(), 100, 0.4);
66
HashTestUtils
.checkNo2BitCharacteristics(Hashing.sha256())
[
all
...]
Murmur3Hash128Test.java
22
import com.google.common.hash.
HashTestUtils
.HashFn;
53
byte[] input =
HashTestUtils
.ascii(stringInput);
79
HashTestUtils
.verifyHashFunction(hf, 128, 0x6384BA69);
83
HashTestUtils
.assertInvariants(murmur3_128());
Murmur3Hash32Test.java
21
import com.google.common.hash.
HashTestUtils
.HashFn;
69
HashTestUtils
.verifyHashFunction(hf, 32, 0xB0F57EE3);
73
HashTestUtils
.assertInvariants(murmur3_32());
AbstractNonStreamingHashFunctionTest.java
20
import com.google.common.hash.
HashTestUtils
.RandomHasherAction;
61
assertPutString(new char[] { 'p',
HashTestUtils
.randomLowSurrogate(new Random()) });
67
assertPutString(new char[] { 'p',
HashTestUtils
.randomHighSurrogate(new Random()) });
72
HashTestUtils
.randomLowSurrogate(new Random()),
73
HashTestUtils
.randomHighSurrogate(new Random()) });
78
HashTestUtils
.randomHighSurrogate(new Random()),
79
HashTestUtils
.randomLowSurrogate(new Random()) });
ChecksumHashFunctionTest.java
68
byte[] bytes =
HashTestUtils
.ascii(input);
81
byte[] bytes =
HashTestUtils
.ascii(input);
MessageDigestHashFunctionTest.java
56
assertMessageDigestHashing(
HashTestUtils
.ascii(stringToTest), algorithmToTest);
BloomFilterTest.java
186
checkSanity(BloomFilter.create(
HashTestUtils
.BAD_FUNNEL, expectedInsertions, fpr));
261
BloomFilter.create(
HashTestUtils
.BAD_FUNNEL, Integer.MAX_VALUE, Double.MIN_VALUE);
287
BloomFilter<Object> bf = BloomFilter.create(
HashTestUtils
.BAD_FUNNEL, 10, 0.03);
HashTestUtils.java
40
final class
HashTestUtils
{
41
private
HashTestUtils
() {}
419
HashCode hashcode1 = hashFunction.hashObject(o,
HashTestUtils
.BAD_FUNNEL);
420
HashCode hashcode2 = hashFunction.hashObject(o,
HashTestUtils
.BAD_FUNNEL);
AbstractStreamingHasherTest.java
24
import com.google.common.hash.
HashTestUtils
.RandomHasherAction;
Completed in 734 milliseconds