Home
last modified time | relevance | path

Searched refs:hash1 (Results 1 – 18 of 18) sorted by relevance

/external/guava/guava/src/com/google/common/hash/
DBloomFilterStrategies.java49 int hash1 = (int) hash64; in MURMUR128_MITZ_32() local
54 int combinedHash = hash1 + (i * hash2); in MURMUR128_MITZ_32()
68 int hash1 = (int) hash64; in MURMUR128_MITZ_32() local
72 int combinedHash = hash1 + (i * hash2); in MURMUR128_MITZ_32()
96 long hash1 = lowerEight(bytes); in MURMUR128_MITZ_64() local
100 long combinedHash = hash1; in MURMUR128_MITZ_64()
114 long hash1 = lowerEight(bytes); in MURMUR128_MITZ_64() local
117 long combinedHash = hash1; in MURMUR128_MITZ_64()
/external/libyuv/files/util/
Dcompare.cc34 uint32 hash1 = 5381; in main() local
43 hash1 = libyuv::HashDjb2(buf1, amt1, hash1); in main()
54 printf("hash1 %x", hash1); in main()
/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java173 HashCode hash1 = Hashing.sha1().hashString("foo", Charsets.US_ASCII); in testRoundTripHashCodeUsingBaseEncoding() local
175 HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); in testRoundTripHashCodeUsingBaseEncoding()
176 assertEquals(hash1, hash2); in testRoundTripHashCodeUsingBaseEncoding()
206 HashCode hash1 = Hashing.sha1().hashString("foo", Charsets.US_ASCII); in testRoundTripHashCodeUsingFromString() local
207 HashCode hash2 = HashCode.fromString(hash1.toString()); in testRoundTripHashCodeUsingFromString()
208 assertEquals(hash1, hash2); in testRoundTripHashCodeUsingFromString()
DHashTestUtils.java262 int hash1 = function.hashInt(key1).asInt(); in checkNoFunnels() local
265 same |= ~(hash1 ^ hash2); in checkNoFunnels()
267 diff |= (hash1 ^ hash2); in checkNoFunnels()
301 int hash1 = function.hashInt(key1).asInt(); in checkAvalanche() local
304 if ((hash1 & (1 << k)) == (hash2 & (1 << k))) { in checkAvalanche()
347 int hash1 = function.hashInt(key1).asInt(); in checkNo2BitCharacteristics() local
352 if ((hash1 ^ hash2) != delta) { in checkNo2BitCharacteristics()
391 int hash1 = function.hashInt(key1).asInt(); in check2BitAvalanche() local
394 if ((hash1 & (1 << k)) == (hash2 & (1 << k))) { in check2BitAvalanche()
/external/v8/src/
Dtransitions-inl.h159 int TransitionArray::CompareKeys(Name* key1, uint32_t hash1, PropertyKind kind1, in CompareKeys() argument
163 int cmp = CompareNames(key1, hash1, key2, hash2); in CompareKeys()
169 int TransitionArray::CompareNames(Name* key1, uint32_t hash1, Name* key2, in CompareNames() argument
173 return hash1 <= hash2 ? -1 : 1; in CompareNames()
Dtransitions.h323 static inline int CompareKeys(Name* key1, uint32_t hash1, PropertyKind kind1,
330 static inline int CompareNames(Name* key1, uint32_t hash1, Name* key2,
Dkeys.cc793 bool operator()(uint32_t hash1, uint32_t hash2, const Handle<Name>& key1, in operator ()() argument
/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()
264 int indexBit1 = indexBit(hash1, 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/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()
891 hash1->valueComparator == NULL) in uhash_equals()
900 count1 = uhash_count(hash1); in uhash_equals()
908 const UHashElement* elem1 = uhash_nextElement(hash1, &pos); in uhash_equals()
917 if(hash1->valueComparator(val1, val2)==FALSE){ in uhash_equals()
Duhash.h696 uhash_equals(const UHashtable* hash1, const UHashtable* hash2);
/external/e2fsprogs/lib/ext2fs/
Ddirhash.c123 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash() local
133 hash = hash1 + (hash0 ^ (c * 7152373)); in dx_hack_hash()
136 hash1 = hash0; in dx_hack_hash()
/external/tensorflow/tensorflow/core/framework/
Dfunction_test.cc1428 uint64 hash1 = FunctionDefHash(fdef1); in TEST() local
1430 EXPECT_EQ(hash1, FunctionDefHash(fdef2)); in TEST()
1435 EXPECT_NE(hash1, FunctionDefHash(fdef2)); in TEST()
1441 EXPECT_NE(hash1, FunctionDefHash(fdef2)); in TEST()
1447 EXPECT_NE(hash1, FunctionDefHash(fdef2)); in TEST()
1455 EXPECT_NE(hash1, FunctionDefHash(fdef2)); in TEST()
1461 EXPECT_NE(hash1, FunctionDefHash(fdef2)); in TEST()
1467 EXPECT_NE(hash1, FunctionDefHash(fdef2)); in TEST()
/external/elfutils/src/
Delfcmp.c841 const Hash_Word *const hash1 = data1->d_buf; \ in hash_content_equivalent()
843 const size_t nbucket = hash1[0]; \ in hash_content_equivalent()
844 const size_t nchain = hash1[1]; \ in hash_content_equivalent()
845 if (data1->d_size != (2 + nbucket + nchain) * sizeof hash1[0] \ in hash_content_equivalent()
849 const Hash_Word *const bucket1 = &hash1[2]; \ in hash_content_equivalent()
/external/giflib/
Dquantize.c320 int hash1 = entry1->RGB[SortRGBAxis] * 256 * 256 in SortCmpRtn() local
327 return hash1 - hash2; in SortCmpRtn()
/external/v8/src/base/
Dhashmap.h376 bool operator()(uint32_t hash1, uint32_t hash2, const Key& key1, in operator()
378 return hash1 == hash2 && match_(key1, key2); in operator()
421 bool operator()(uint32_t hash1, uint32_t hash2, const Key& key1, in operator()
/external/mesa3d/src/compiler/nir/
Dnir_instr_set.c62 uint32_t hash1 = hash_alu_src(hash, &instr->src[1], in hash_alu() local
70 hash = hash0 * hash1; in hash_alu()
/external/icu/icu4c/source/test/intltest/
Dloctest.cpp603 int32_t hash1 = test1.hashCode(); in TestSimpleObjectStuff() local
607 test_assert(hash1 == hash2); in TestSimpleObjectStuff()
608 test_assert(hash1 == hash3); in TestSimpleObjectStuff()
690 int32_t hash1 = test1.hashCode(); in TestPOSIXParsing() local
694 test_assert(hash1 == hash2); in TestPOSIXParsing()
696 test_assert(hash3 == hash1); in TestPOSIXParsing()
/external/libmtp/src/
Dptp.h2756 #define ptp_mtpz_wmdrmpd_enabletrustedfilesoperations(params,hash1,hash2,hash3,hash4) \ argument
2758 hash1, hash2, hash3, hash4)