Home
last modified time | relevance | path

Searched refs:hash1 (Results 1 – 15 of 15) 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
42 if (amt1 > 0) hash1 = libyuv::HashDjb2(buf1, amt1, hash1); in main()
52 printf("hash1 %x", hash1); in main()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
DSHA1ImplTest.java69 int[] hash1 = { 0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0 }; in testOneBlockMessage() local
78 alternateHash(words, hash1); in testOneBlockMessage()
90 assertTrue("false1: k=" + k + " hash1[k]=" + Integer.toHexString(hash1[k]), in testOneBlockMessage()
91 hash[k] == hash1[k]); in testOneBlockMessage()
/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java171 HashCode hash1 = Hashing.sha1().hashString("foo"); in testRoundTripHashCodeUsingBaseEncoding() local
173 HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); in testRoundTripHashCodeUsingBaseEncoding()
174 assertEquals(hash1, hash2); in testRoundTripHashCodeUsingBaseEncoding()
204 HashCode hash1 = Hashing.sha1().hashString("foo"); in testRoundTripHashCodeUsingFromString() local
205 HashCode hash2 = HashCode.fromString(hash1.toString()); in testRoundTripHashCodeUsingFromString()
206 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/ltrace/
Ddict.c40 size_t (*hash1)(const void *), in dict_init()
44 assert(hash1 != NULL); in dict_init()
52 dict->hash1 = hash1; in dict_init()
109 source->hash1, source->eq, source->hash2); in dict_clone()
219 size_t pos = dict->hash1(key) % n(dict); in find_slot()
278 dict->hash1, dict->eq, dict->hash2); in rehash()
Ddict.h36 size_t (*hash1)(const void *); member
48 size_t (*hash1)(const void *),
/external/icu/icu4c/source/common/
Duhash.c855 uhash_equals(const UHashtable* hash1, const UHashtable* hash2){ in uhash_equals() argument
858 if(hash1==hash2){ in uhash_equals()
870 if (hash1==NULL || hash2==NULL || in uhash_equals()
871 hash1->keyComparator != hash2->keyComparator || in uhash_equals()
872 hash1->valueComparator != hash2->valueComparator || in uhash_equals()
873 hash1->valueComparator == NULL) in uhash_equals()
882 count1 = uhash_count(hash1); in uhash_equals()
890 const UHashElement* elem1 = uhash_nextElement(hash1, &pos); in uhash_equals()
899 if(hash1->valueComparator(val1, val2)==FALSE){ in uhash_equals()
Duhash.h672 uhash_equals(const UHashtable* hash1, const UHashtable* hash2);
/external/v8/src/heap/
Dstore-buffer.cc556 int hash1 = ((hash_addr ^ (hash_addr >> kHashSetLengthLog2)) & in Compact() local
558 if (hash_set_1_[hash1] == int_addr) continue; in Compact()
563 if (hash_set_1_[hash1] == 0) { in Compact()
564 hash_set_1_[hash1] = int_addr; in Compact()
570 hash_set_1_[hash1] = int_addr; in Compact()
/external/e2fsprogs/lib/ext2fs/
Ddirhash.c122 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash() local
132 hash = hash1 + (hash0 ^ (c * 7152373)); in dx_hack_hash()
135 hash1 = hash0; in dx_hack_hash()
/external/elfutils/src/src/
Delfcmp.c830 const Hash_Word *const hash1 = data1->d_buf; \ in hash_content_equivalent()
832 const size_t nbucket = hash1[0]; \ in hash_content_equivalent()
833 const size_t nchain = hash1[1]; \ in hash_content_equivalent()
834 if (data1->d_size != (2 + nbucket + nchain) * sizeof hash1[0] \ in hash_content_equivalent()
838 const Hash_Word *const bucket1 = &hash1[2]; \ in hash_content_equivalent()
/external/jmonkeyengine/engine/src/core/com/jme3/input/
DInputManager.java307 int hash1 = JoyAxisTrigger.joyAxisHash(joyId, axis, true); in onJoyAxisEventQueued() local
310 Float val1 = axisValues.get(hash1); in onJoyAxisEventQueued()
314 invokeActions(hash1, false); in onJoyAxisEventQueued()
320 axisValues.remove(hash1); in onJoyAxisEventQueued()
/external/icu/icu4c/source/test/intltest/
Dloctest.cpp575 int32_t hash1 = test1.hashCode(); in TestSimpleObjectStuff() local
579 test_assert(hash1 == hash2); in TestSimpleObjectStuff()
580 test_assert(hash1 == hash3); in TestSimpleObjectStuff()
662 int32_t hash1 = test1.hashCode(); in TestPOSIXParsing() local
666 test_assert(hash1 == hash2); in TestPOSIXParsing()
668 test_assert(hash3 == hash1); in TestPOSIXParsing()
/external/v8/test/cctest/
Dtest-api.cc2762 int hash1 = obj->GetIdentityHash(); in THREADED_TEST() local
2763 CHECK_EQ(hash, hash1); in THREADED_TEST()
2802 int hash1 = global_proxy->GetIdentityHash(); in THREADED_TEST() local
2806 CHECK_EQ(hash1, hash2); in THREADED_TEST()
2811 CHECK_EQ(hash1, hash3); in THREADED_TEST()