/external/guava/guava-tests/test/com/google/common/hash/ |
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...] |
HashingTest.java | 19 import static com.google.common.hash.Hashing.ConcatenatedHashFunction; 20 import static com.google.common.hash.Hashing.goodFastHash; 42 * Unit tests for {@link Hashing}. 49 HashTestUtils.checkAvalanche(Hashing.md5(), 100, 0.4); 50 HashTestUtils.checkNo2BitCharacteristics(Hashing.md5()); 51 HashTestUtils.checkNoFunnels(Hashing.md5()); 52 HashTestUtils.assertInvariants(Hashing.md5()); 53 assertEquals("Hashing.md5()", Hashing.md5().toString()); 57 HashTestUtils.checkAvalanche(Hashing.sha1(), 100, 0.4) [all...] |
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(); 75 Hasher sha1 = Hashing.sha1().newHasher(); 89 assertEquals("Hashing.md5()", Hashing.md5().toString()) [all...] |
HashingInputStreamTest.java | 116 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); 117 HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); 127 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); 128 HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); 139 HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'}); 140 HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); 155 tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer));
|
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()); 159 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITH_KEY.toString()); 160 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITHOUT_KEY.toString()); 161 assertEquals("Hashing.sipHash24(20, 13)", Hashing.sipHash24(20, 13).toString());
|
HashingOutputStreamTest.java | 82 HashCode expectedHash = Hashing.md5().hashBytes(buf); 83 HashingOutputStream out = new HashingOutputStream(Hashing.md5(), buffer); 93 new HashingOutputStream(Hashing.md5(), new ByteArrayOutputStream()));
|
/external/llvm/lib/Support/ |
Hashing.cpp | 1 //===-------------- lib/Support/Hashing.cpp -------------------------------===// 10 // This file provides implementation bits for the LLVM common hashing 16 #include "llvm/ADT/Hashing.h" 23 size_t llvm::hashing::detail::fixed_seed_override = 0; 28 hashing::detail::fixed_seed_override = fixed_value;
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
MessageDigestAlgorithmBenchmark.java | 23 import com.google.common.hash.Hashing; 37 * <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API). 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()); 97 @Benchmark byte hashing(int reps) { method in class:MessageDigestAlgorithmBenchmark
|
ChecksumBenchmark.java | 54 return runHashFunction(reps, Hashing.crc32()); 70 return runHashFunction(reps, Hashing.adler32()); 88 result ^= Hashing.crc32().hashInt(reps).asBytes()[0]; 89 result ^= Hashing.adler32().hashInt(reps).asBytes()[0];
|
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/api/webapp2_extras/ |
security.rst | 7 This module provides security related helpers such as secure password hashing
|
/external/iptables/include/linux/netfilter/ |
xt_NFQUEUE.h | 34 #define NFQ_FLAG_CPU_FANOUT 0x02 /* use current CPU (no hashing) */
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_NFQUEUE.h | 34 #define NFQ_FLAG_CPU_FANOUT 0x02 /* use current CPU (no hashing) */
|
/external/valgrind/memcheck/tests/ |
realloc2.c | 2 multiple blocks hashing to the same list and one being overwritten at
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-dynload/ |
_sha.so | |
/external/guava/guava/src/com/google/common/hash/ |
package-info.java | 21 * hashing</a>.
|
Hashing.java | 32 * Static methods to obtain {@link HashFunction} instances, and other static hashing-related 44 public final class Hashing { 50 * Hashing} class is loaded. <b>Do not use this method</b> if hash codes may escape the current 53 * <p>Repeated calls to this method on the same loaded {@code Hashing} class, using the same value 186 static final HashFunction MD5 = new MessageDigestHashFunction("MD5", "Hashing.md5()"); 199 new MessageDigestHashFunction("SHA-1", "Hashing.sha1()"); 212 new MessageDigestHashFunction("SHA-256", "Hashing.sha256()"); 225 new MessageDigestHashFunction("SHA-512", "Hashing.sha512()"); 243 checksumHashFunction(ChecksumType.CRC_32, "Hashing.crc32()"); 261 checksumHashFunction(ChecksumType.ADLER_32, "Hashing.adler32()") [all...] |
BloomFilterStrategies.java | 40 * See "Less Hashing, Same Performance: Building a Better Bloom Filter" by Adam Kirsch and 48 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); 67 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); 85 * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks 95 byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal(); 113 byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal();
|
/external/llvm/test/Linker/ |
unique-fwd-decl-order.ll | 4 ; This test exercises MDNode hashing. For the nodes to be correctly uniqued,
|
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableBiMap.java | 56 int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR); 71 int keyBucket = Hashing.smear(keyHash) & mask; 72 int valueBucket = Hashing.smear(valueHash) & mask; 105 int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR); 120 int keyBucket = Hashing.smear(keyHash) & mask; 121 int valueBucket = Hashing.smear(valueHash) & mask; 192 int bucket = Hashing.smear(key.hashCode()) & mask; 267 int bucket = Hashing.smear(value.hashCode()) & mask;
|
RegularImmutableMap.java | 55 int tableSize = Hashing.closedTableSize(size, MAX_LOAD_FACTOR); 62 int tableIndex = Hashing.smear(key.hashCode()) & mask; 80 int tableSize = Hashing.closedTableSize(size, MAX_LOAD_FACTOR); 89 int tableIndex = Hashing.smear(key.hashCode()) & mask; 155 int index = Hashing.smear(key.hashCode()) & mask;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
hmac.py | 1 """HMAC (Keyed-Hashing for Message Authentication) Python module. 12 # hashing module used. Use digest_size from the instance of HMAC instead. 81 """Update this hashing object with the string msg. 86 """Return a separate copy of this hashing object. 107 """Return the hash value of this hashing object. 123 """Create a new hashing object and return it.
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
hmac.py | 1 """HMAC (Keyed-Hashing for Message Authentication) Python module. 12 # hashing module used. Use digest_size from the instance of HMAC instead. 81 """Update this hashing object with the string msg. 86 """Return a separate copy of this hashing object. 107 """Return the hash value of this hashing object. 123 """Create a new hashing object and return it.
|
/external/llvm/include/llvm/ADT/ |
Hashing.h | 1 //===-- llvm/ADT/Hashing.h - Utilities for hashing --------------*- C++ -*-===// 10 // This file implements the newly proposed standard C++ interfaces for hashing 18 // data. It is the intended product of hashing, and can be used to implement 25 // construction of hashing datastructures. 28 // user-defined type which wishes to be used within a hashing context. It 37 // Note that 'hash_combine_range' contains very special logic for hashing 62 /// This object represents the result of hashing some entity. It is intended to 63 /// be used to implement hashtables or other hashing-based data structures. 124 /// This hashing library uses a per-execution seed designed to change on eac 142 namespace hashing { namespace in namespace:llvm 486 namespace hashing { namespace in namespace:llvm 610 namespace hashing { namespace in namespace:llvm [all...] |
/external/elfutils/src/lib/ |
fixedsizehash.h | 43 HASHFCT name of the hashing function to use 44 HASHTYPE type used for the hashing value 92 /* Constructor for the hashing table. */ 97 /* We choose a size for the hashing table 150% over the number of 107 /* Adjust the size to be used for the hashing table. */
|
/external/lzma/ |
Methods.txt | 121 F0 - Misc Ciphers (Real Ciphers without hashing algo)
144 03 - Rar29 Password Hashing (modified SHA1)
146 01 - SHA-256 Password Hashing
|