Home
last modified time | relevance | path

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

12

/external/guava/android/guava/src/com/google/common/hash/
DBloomFilterStrategies.java52 int hash2 = (int) (hash64 >>> 32); in MURMUR128_MITZ_32() local
56 int combinedHash = hash1 + (i * hash2); in MURMUR128_MITZ_32()
72 int hash2 = (int) (hash64 >>> 32); in MURMUR128_MITZ_32() local
75 int combinedHash = hash1 + (i * hash2); in MURMUR128_MITZ_32()
100 long hash2 = upperEight(bytes); in MURMUR128_MITZ_64() local
107 combinedHash += hash2; in MURMUR128_MITZ_64()
118 long hash2 = upperEight(bytes); in MURMUR128_MITZ_64() local
126 combinedHash += hash2; in MURMUR128_MITZ_64()
/external/guava/guava/src/com/google/common/hash/
DBloomFilterStrategies.java52 int hash2 = (int) (hash64 >>> 32); in MURMUR128_MITZ_32() local
56 int combinedHash = hash1 + (i * hash2); in MURMUR128_MITZ_32()
72 int hash2 = (int) (hash64 >>> 32); in MURMUR128_MITZ_32() local
75 int combinedHash = hash1 + (i * hash2); in MURMUR128_MITZ_32()
100 long hash2 = upperEight(bytes); in MURMUR128_MITZ_64() local
107 combinedHash += hash2; in MURMUR128_MITZ_64()
118 long hash2 = upperEight(bytes); in MURMUR128_MITZ_64() local
126 combinedHash += hash2; in MURMUR128_MITZ_64()
/external/libyuv/files/util/
Dcompare.cc35 uint32_t hash2 = 5381; in main() local
48 hash2 = libyuv::HashDjb2(buf2, amt2, hash2); in main()
58 printf(", hash2 %x", hash2); in main()
/external/tensorflow/tensorflow/core/kernels/data/
Dhash_utils_test.cc233 uint64 hash2 = GetHash(gd, *n6); in TEST_F() local
234 EXPECT_EQ(hash1, hash2); in TEST_F()
268 uint64 hash2 = GetHash(gd, *n4); in TEST_F() local
270 EXPECT_NE(hash1, hash2); in TEST_F()
344 uint64 hash2 = GetHash(gd, *shuffle_ds_2); in TEST_F() local
345 EXPECT_EQ(hash1, hash2); in TEST_F()
393 uint64 hash2 = GetHash(gd, *n6); in TEST_F() local
395 EXPECT_EQ(hash1, hash2); in TEST_F()
429 uint64 hash2 = GetHash(gd, *n4); in TEST_F() local
431 EXPECT_NE(hash1, hash2); in TEST_F()
[all …]
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DPersistentHashArrayMappedTrie.java262 Node<K,V> node1, int hash1, Node<K,V> node2, int hash2, int bitsConsumed) { in combine() argument
263 assert hash1 != hash2; in combine() local
265 int indexBit2 = indexBit(hash2, bitsConsumed); in combine()
267 Node<K,V> node = combine(node1, hash1, node2, hash2, bitsConsumed + BITS); in combine()
273 if (uncompressedIndex(hash1, bitsConsumed) > uncompressedIndex(hash2, bitsConsumed)) { in combine()
/external/guava/android/guava-tests/test/com/google/common/hash/
DHashTestUtils.java297 int hash2 = function.hashInt(key2).asInt(); in checkNoFunnels() local
299 same |= ~(hash1 ^ hash2); in checkNoFunnels()
301 diff |= (hash1 ^ hash2); in checkNoFunnels()
344 int hash2 = function.hashInt(key2).asInt(); in checkAvalanche() local
346 if ((hash1 & (1 << k)) == (hash2 & (1 << k))) { in checkAvalanche()
390 int hash2 = function.hashInt(key2).asInt(); in checkNo2BitCharacteristics() local
394 if ((hash1 ^ hash2) != delta) { in checkNo2BitCharacteristics()
441 int hash2 = function.hashInt(key2).asInt(); in check2BitAvalanche() local
443 if ((hash1 & (1 << k)) == (hash2 & (1 << k))) { in check2BitAvalanche()
DHashCodeTest.java185 HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); in testRoundTripHashCodeUsingBaseEncoding() local
186 assertEquals(hash1, hash2); in testRoundTripHashCodeUsingBaseEncoding()
217 HashCode hash2 = HashCode.fromString(hash1.toString()); in testRoundTripHashCodeUsingFromString() local
218 assertEquals(hash1, hash2); in testRoundTripHashCodeUsingFromString()
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java297 int hash2 = function.hashInt(key2).asInt(); in checkNoFunnels() local
299 same |= ~(hash1 ^ hash2); in checkNoFunnels()
301 diff |= (hash1 ^ hash2); in checkNoFunnels()
344 int hash2 = function.hashInt(key2).asInt(); in checkAvalanche() local
346 if ((hash1 & (1 << k)) == (hash2 & (1 << k))) { in checkAvalanche()
390 int hash2 = function.hashInt(key2).asInt(); in checkNo2BitCharacteristics() local
394 if ((hash1 ^ hash2) != delta) { in checkNo2BitCharacteristics()
441 int hash2 = function.hashInt(key2).asInt(); in check2BitAvalanche() local
443 if ((hash1 & (1 << k)) == (hash2 & (1 << k))) { in check2BitAvalanche()
DHashCodeTest.java185 HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); in testRoundTripHashCodeUsingBaseEncoding() local
186 assertEquals(hash1, hash2); in testRoundTripHashCodeUsingBaseEncoding()
217 HashCode hash2 = HashCode.fromString(hash1.toString()); in testRoundTripHashCodeUsingFromString() local
218 assertEquals(hash1, hash2); in testRoundTripHashCodeUsingFromString()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarCache.java66 delta = hash2(key); in findIndex()
109 private final int hash2(long key) { in hash2() method in CalendarCache
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarCache.java64 delta = hash2(key); in findIndex()
107 private final int hash2(long key) { in hash2() method in CalendarCache
/external/deqp-deps/amber/src/dawn/
Dpipeline_info.h37 auto hash2 = std::hash<T2>{}(p.second); in operator()
38 return hash1 ^ hash2; in operator()
/external/icu/icu4c/source/common/
Duhash.cpp873 uhash_equals(const UHashtable* hash1, const UHashtable* hash2){ in uhash_equals() argument
876 if(hash1==hash2){ in uhash_equals()
888 if (hash1==NULL || hash2==NULL || in uhash_equals()
889 hash1->keyComparator != hash2->keyComparator || in uhash_equals()
890 hash1->valueComparator != hash2->valueComparator || in uhash_equals()
901 count2 = uhash_count(hash2); in uhash_equals()
915 const UHashElement* elem2 = _uhash_find(hash2, key1, hash2->keyHasher(key1)); in uhash_equals()
Duhash.h696 uhash_equals(const UHashtable* hash1, const UHashtable* hash2);
/external/giflib/
Dquantize.c323 int hash2 = entry2->RGB[SortRGBAxis] * 256 * 256 in SortCmpRtn() local
327 return hash1 - hash2; in SortCmpRtn()
/external/rust/crates/parking_lot_core/src/
Dparking_lot.rs397 let hash2 = hash(key2, hashtable.hash_bits); in lock_bucket_pair() localVariable
400 let bucket1 = if hash1 <= hash2 { in lock_bucket_pair()
403 &hashtable.entries[hash2] in lock_bucket_pair()
413 if hash1 == hash2 { in lock_bucket_pair()
415 } else if hash1 < hash2 { in lock_bucket_pair()
416 let bucket2 = &hashtable.entries[hash2]; in lock_bucket_pair()
/external/elfutils/src/
Delfcmp.c842 const Hash_Word *const hash2 = data2->d_buf; \ in hash_content_equivalent()
846 || hash2[0] != nbucket || hash2[1] != nchain) \ in hash_content_equivalent()
851 const Hash_Word *const bucket2 = &hash2[2]; \ in hash_content_equivalent()
/external/icu/libicu/cts_headers/
Duhash.h696 uhash_equals(const UHashtable* hash1, const UHashtable* hash2);
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsig_node_test.cc200 size_t hash2 = rhit->second.unique_hash; in TEST_F() local
208 EXPECT_THAT(rhit->second.unique_hash, Ne(hash2)); in TEST_F()
222 EXPECT_THAT(peerit->link_hash, Eq(hash2)); in TEST_F()
/external/python/cpython3/Modules/
D_sre.c2491 Py_hash_t hash, hash2; in pattern_hash() local
2498 hash2 = _Py_HashBytes(self->code, sizeof(self->code[0]) * self->codesize); in pattern_hash()
2499 hash ^= hash2; in pattern_hash()
/external/icu/icu4c/source/test/intltest/
Dloctest.cpp633 int32_t hash2 = test2.hashCode(); in TestSimpleObjectStuff() local
636 test_assert(hash1 == hash2); in TestSimpleObjectStuff()
638 test_assert(hash2 == hash3); in TestSimpleObjectStuff()
720 int32_t hash2 = test2.hashCode(); in TestPOSIXParsing() local
723 test_assert(hash1 == hash2); in TestPOSIXParsing()
724 test_assert(hash2 == hash3); in TestPOSIXParsing()
/external/rust/crates/hashbrown/src/
Dmap.rs4694 let hash2 = compute_hash(&map, 2); in test_raw_entry() localVariable
4697 map.raw_entry().from_hash(hash2, |k| *k == 2).unwrap(), in test_raw_entry()
4701 map.raw_entry().from_key_hashed_nocheck(hash2, &2).unwrap(), in test_raw_entry()
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DAutoValueTest.java1194 int hash2 = maybeCached.hashCode(); in testHashCodeNotCached() local
1195 assertEquals(hash1, hash2); in testHashCodeNotCached()
/external/llvm-project/polly/lib/External/isl/
Disl_test.c10569 uint32_t hash1, hash2; in test_domain_hash() local
10576 hash2 = isl_space_get_hash(space); in test_domain_hash()
10581 if (hash1 != hash2) in test_domain_hash()
/external/llvm-project/llvm/lib/Target/X86/
DREADME.txt183 lambda, siod, optimizer-eval, ackermann, hash2, nestedloop, strcat, and Treesor.

12