/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashingTest.java | 19 import static com.google.common.hash.Hashing.ConcatenatedHashFunction; 20 import static com.google.common.hash.Hashing.goodFastHash; 49 HashTestUtils.checkAvalanche(Hashing.md5(), 100, 0.4); in testMd5() 50 HashTestUtils.checkNo2BitCharacteristics(Hashing.md5()); in testMd5() 51 HashTestUtils.checkNoFunnels(Hashing.md5()); in testMd5() 52 HashTestUtils.assertInvariants(Hashing.md5()); in testMd5() 53 assertEquals("Hashing.md5()", Hashing.md5().toString()); in testMd5() 57 HashTestUtils.checkAvalanche(Hashing.sha1(), 100, 0.4); in testSha1() 58 HashTestUtils.checkNo2BitCharacteristics(Hashing.sha1()); in testSha1() 59 HashTestUtils.checkNoFunnels(Hashing.sha1()); in testSha1() [all …]
|
D | HashFunctionEnum.java | 25 ADLER32(Hashing.adler32()), 26 CRC32(Hashing.crc32()), 27 GOOD_FAST_HASH_32(Hashing.goodFastHash(32)), 28 GOOD_FAST_HASH_64(Hashing.goodFastHash(64)), 29 GOOD_FAST_HASH_128(Hashing.goodFastHash(128)), 30 GOOD_FAST_HASH_256(Hashing.goodFastHash(256)), 31 MD5(Hashing.md5()), 32 MURMUR3_128(Hashing.murmur3_128()), 33 MURMUR3_32(Hashing.murmur3_32()), 34 SHA1(Hashing.sha1()), [all …]
|
D | MessageDigestHashFunctionTest.java | 43 .put("MD5", Hashing.md5()) 44 .put("SHA", Hashing.sha1()) // Not the official name, but still works 45 .put("SHA1", Hashing.sha1()) // Not the official name, but still works 46 .put("sHa-1", Hashing.sha1()) // Not the official name, but still works 47 .put("SHA-1", Hashing.sha1()) 48 .put("SHA-256", Hashing.sha256()) 49 .put("SHA-512", Hashing.sha512()) 61 Hasher sha1 = Hashing.sha1().newHasher(); in testPutAfterHash() 75 Hasher sha1 = Hashing.sha1().newHasher(); in testHashTwice() 89 assertEquals("Hashing.md5()", Hashing.md5().toString()); in testToString() [all …]
|
D | HashingInputStreamTest.java | 116 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); in testHash_hashesCorrectly() 117 HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); in testHash_hashesCorrectly() 127 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); in testHash_hashesCorrectlyReadOutOfBound() 128 HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); in testHash_hashesCorrectlyReadOutOfBound() 139 HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'}); in testHash_hashesCorrectlyForSkipping() 140 HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); in testHash_hashesCorrectlyForSkipping() 155 tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer)); in testChecksForNull()
|
D | SipHashFunctionTest.java | 34 private static final HashFunction SIP_WITH_KEY = Hashing.sipHash24(K0, K1); 35 private static final HashFunction SIP_WITHOUT_KEY = Hashing.sipHash24(); 124 assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong()); in test15ByteStringFromSipHashPaper() 161 assertEquals("Hashing.sipHash24(20, 13)", Hashing.sipHash24(20, 13).toString()); in testToString()
|
D | HashingOutputStreamTest.java | 82 HashCode expectedHash = Hashing.md5().hashBytes(buf); in testHash_hashesCorrectly() 83 HashingOutputStream out = new HashingOutputStream(Hashing.md5(), buffer); in testHash_hashesCorrectly() 93 new HashingOutputStream(Hashing.md5(), new ByteArrayOutputStream())); in testChecksForNull()
|
D | ChecksumHashFunctionTest.java | 17 import static com.google.common.hash.Hashing.ChecksumType.ADLER_32; 18 import static com.google.common.hash.Hashing.ChecksumType.CRC_32;
|
D | HashCodeTest.java | 171 HashCode hash1 = Hashing.sha1().hashString("foo"); in testRoundTripHashCodeUsingBaseEncoding() 204 HashCode hash1 = Hashing.sha1().hashString("foo"); in testRoundTripHashCodeUsingFromString() 229 String string = Hashing.sha1().hashString("foo").toString().toUpperCase(); in testFromStringFailsWithUpperCaseString()
|
D | Murmur3Hash32Test.java | 19 import static com.google.common.hash.Hashing.murmur3_32;
|
D | Murmur3Hash128Test.java | 19 import static com.google.common.hash.Hashing.murmur3_128;
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
D | MessageDigestAlgorithmBenchmark.java | 23 import com.google.common.hash.Hashing; 64 MD5("MD5", Hashing.md5()), 65 SHA_1("SHA-1", Hashing.sha1()), 66 SHA_256("SHA-256", Hashing.sha256()), 67 SHA_512("SHA-512", Hashing.sha512());
|
D | ChecksumBenchmark.java | 54 return runHashFunction(reps, Hashing.crc32()); in crc32HashFunction() 70 return runHashFunction(reps, Hashing.adler32()); in adler32HashFunction() 88 result ^= Hashing.crc32().hashInt(reps).asBytes()[0]; in runHashFunction() 89 result ^= Hashing.adler32().hashInt(reps).asBytes()[0]; in runHashFunction()
|
/external/guava/guava/src/com/google/common/collect/ |
D | RegularImmutableBiMap.java | 56 int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR); in RegularImmutableBiMap() 71 int keyBucket = Hashing.smear(keyHash) & mask; in RegularImmutableBiMap() 72 int valueBucket = Hashing.smear(valueHash) & mask; in RegularImmutableBiMap() 105 int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR); in RegularImmutableBiMap() 120 int keyBucket = Hashing.smear(keyHash) & mask; in RegularImmutableBiMap() 121 int valueBucket = Hashing.smear(valueHash) & mask; in RegularImmutableBiMap() 192 int bucket = Hashing.smear(key.hashCode()) & mask; in get() 267 int bucket = Hashing.smear(value.hashCode()) & mask;
|
D | RegularImmutableMap.java | 55 int tableSize = Hashing.closedTableSize(size, MAX_LOAD_FACTOR); in RegularImmutableMap() 62 int tableIndex = Hashing.smear(key.hashCode()) & mask; in RegularImmutableMap() 80 int tableSize = Hashing.closedTableSize(size, MAX_LOAD_FACTOR); in RegularImmutableMap() 89 int tableIndex = Hashing.smear(key.hashCode()) & mask; in RegularImmutableMap() 155 int index = Hashing.smear(key.hashCode()) & mask; in get()
|
D | Hashing.java | 32 final class Hashing { class 33 private Hashing() {} in Hashing() method in Hashing
|
D | LinkedHashMultimap.java | 324 int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR); in ValueSet() 404 int smearedHash = Hashing.smearedHash(o); in contains() 416 int smearedHash = Hashing.smearedHash(value); in add() 439 if (Hashing.needsResizing(size, hashTable.length, VALUE_SET_LOAD_FACTOR)) { in rehashIfNecessary() 456 int smearedHash = Hashing.smearedHash(o); in remove()
|
D | RegularImmutableSet.java | 49 for (int i = Hashing.smear(target.hashCode()); true; i++) { in contains()
|
D | HashBiMap.java | 112 int tableSize = Hashing.closedTableSize(expectedSize, LOAD_FACTOR); in init() 173 return Hashing.smear((o == null) ? 0 : o.hashCode()); in hash() 282 if (Hashing.needsResizing(size, oldKToV.length, LOAD_FACTOR)) { in rehashIfNecessary()
|
/external/guava/guava/src/com/google/common/hash/ |
D | BloomFilterStrategies.java | 48 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); in MURMUR128_MITZ_32() 67 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); in MURMUR128_MITZ_32() 95 byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal(); in MURMUR128_MITZ_64() 113 byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal(); in MURMUR128_MITZ_64()
|
D | Hashing.java | 44 public final class Hashing { class 485 private Hashing() {} in Hashing() method in Hashing
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ByteSourceTester.java | 26 import com.google.common.hash.Hashing; 199 HashCode expectedHash = Hashing.md5().hashBytes(expected); in testHash() 200 assertEquals(expectedHash, source.hash(Hashing.md5())); in testHash()
|
D | FilesTest.java | 25 import com.google.common.hash.Hashing; 606 assertEquals(init, Hashing.md5().newHasher().hash().toString()); in testHash() 609 assertEquals(asciiHash, Files.hash(asciiFile, Hashing.md5()).toString()); in testHash() 612 assertEquals(i18nHash, Files.hash(i18nFile, Hashing.md5()).toString()); in testHash()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | LinkedHashMultimap.java | 320 int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR); in ValueSet() 400 int smearedHash = Hashing.smearedHash(o); in contains() 412 int smearedHash = Hashing.smearedHash(value); in add() 435 if (Hashing.needsResizing(size, hashTable.length, VALUE_SET_LOAD_FACTOR)) { in rehashIfNecessary() 452 int smearedHash = Hashing.smearedHash(o); in remove()
|
/external/lzma/ |
D | Methods.txt | 144 03 - Rar29 Password Hashing (modified SHA1) 146 01 - SHA-256 Password Hashing
|
/external/llvm/lib/Support/ |
D | Android.mk | 33 Hashing.cpp \
|