Searched refs:hash (Results 51 - 75 of 1823) sorted by relevance

1234567891011>>

/external/icu/icu4c/source/common/
H A Dhash.h29 UHashtable* hash; member in class:Hashtable
111 hash = &hashObj;
112 uhash_setKeyDeleter(hash, uprv_deleteUObject);
117 UErrorCode& status) : hash(0) {
121 : hash(0)
132 : hash(0)
138 : hash(0)
145 if (hash != NULL) {
146 uhash_close(hash);
151 return uhash_setValueDeleter(hash, f
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/
H A DPrecompiledTemplateMapKey.java56 int hash = 17;
58 hash = 31 * hash + templateName.hashCode();
59 hash = 31 * hash + escapeMode.hashCode();
60 return hash;
/external/chromium_org/content/test/data/dom_storage/
H A Dcommon.js13 if (document.location.hash == '#fail')
19 document.location.hash = '#pass';
24 document.location.hash = '#fail';
/external/chromium_org/chrome/browser/metrics/variations/
H A Dgenerated_resources_map.h33 // Gets the resource index corresponding to the given hash.
34 int GetResourceIndex(uint32_t hash);
/external/chromium_org/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/
H A Dinfobar.js6 var count = window.location.hash.substring(1);
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/
H A Dsha1_adapter.h19 void SHA1(const unsigned char* data, size_t len, unsigned char* hash);
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
H A DCustomElementDescriptorHash.h42 static unsigned hash(const CustomElementDescriptor& descriptor) function in struct:blink::CustomElementDescriptorHash
44 return WTF::pairIntHash(AtomicStringHash::hash(descriptor.type()), WTF::pairIntHash(AtomicStringHash::hash(descriptor.namespaceURI()), AtomicStringHash::hash(descriptor.localName())));
/external/chromium_org/third_party/WebKit/Source/platform/
H A DLinkHash.h41 static unsigned hash(LinkHash key) { return static_cast<unsigned>(key); } function in struct:blink::LinkHashHash
49 unsigned hash = static_cast<unsigned>(hash64); local
50 unsigned newHash = hash | (!(hash + 1) << 31);
58 // base URL, and returns the hash of the string that will be used for visited
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dcompare_common.cc28 // hash seed of 5381 recommended.
31 uint32 hash = seed; local
34 hash += (hash << 5) + src[i];
36 return hash;
/external/chromium_org/third_party/libyuv/source/
H A Dcompare_common.cc28 // hash seed of 5381 recommended.
31 uint32 hash = seed; local
34 hash += (hash << 5) + src[i];
36 return hash;
/external/libcxx/test/extensions/hash/
H A Dspecializations.fail.cpp16 assert(__gnu_cxx::hash<std::string>()(std::string()) == 0); // error
/external/libcxx/test/utilities/function.objects/unord.hash/
H A Denum.fail.cpp12 // Hashing a struct w/o a defined hash should fail.
23 size_t h = std::hash<X>{} ( x );
/external/libcxx/test/utilities/type.index/type.index.hash/
H A Dhash.pass.cpp15 // struct hash<type_index>
27 assert(std::hash<std::type_index>()(t1) == t1.hash_code());
/external/oprofile/daemon/liblegacy/
H A Dopd_mapping.c27 /* hash map device mmap */
48 perror("oprofiled: couldn't mmap hash map");
96 * get_from_pool - retrieve string from hash map pool
106 * opg_get_hash_name - find a mapping name from a hash
107 * @param hash hash value for this name
109 static char const * opd_get_hash_name(int hash) argument
113 int orighash = hash;
115 if (hash_name[hash])
116 return hash_name[hash];
143 int hash; local
[all...]
/external/srec/srec/crec/
H A Dastar_pphash.h32 * The FixedSizeHash is a hash that does not grow in size.
47 void hash_init(FixedSizeHash* hash, srec* rec);
48 int hash_del(FixedSizeHash* hash, partial_path* parp);
51 int hash_get(FixedSizeHash* hash, partial_path* parp, void** hval);
52 int hash_set(FixedSizeHash* hash, partial_path* parp);
/external/deqp/framework/delibs/debase/
H A DdeString.c39 * \brief Compute hash from string.
40 * \param str String to compute hash value for.
41 * \return Computed hash value.
45 /* \note [pyry] This hash is used in DT_GNU_HASH and is proven
48 deUint32 hash = 5381; local
53 hash = (hash << 5) + hash + c;
55 return hash;
60 deUint32 hash local
74 deUint32 hash = 5381; local
[all...]
/external/guava/guava-tests/test/com/google/common/hash/
H A DMurmur3Hash128Test.java17 package com.google.common.hash;
19 import static com.google.common.hash.HashTestUtils.ascii;
20 import static com.google.common.hash.HashTestUtils.toBytes;
21 import static com.google.common.hash.Hashing.murmur3_128;
24 import com.google.common.hash.Funnels;
25 import com.google.common.hash.HashTestUtils.HashFn;
55 byte[] hash = murmur3_128(seed).newHasher().putBytes(input).hash().asBytes();
56 assertTrue(Arrays.equals(expectedHash, hash));
61 @Override public byte[] hash(byt
[all...]
/external/chromium_org/third_party/smhasher/src/
H A Dmain.cpp37 pfHash hash; member in struct:HashInfo
55 { FNV, 32, 0xE3CBBE91, "FNV", "Fowler-Noll-Vo hash, 32-bit" },
106 pass &= VerificationTest(info->hash,info->hashbits,info->verification,false);
118 pass &= VerificationTest(info->hash,info->hashbits,info->verification,true);
128 void test ( hashfunc<hashtype> hash, HashInfo * info ) argument
142 VerificationTest(hash,hashbits,info->verification,true);
143 SanityTest(hash,hashbits);
144 AppendedZeroesTest(hash,hashbits);
155 BulkSpeedTest(info->hash,info->verification);
162 TinySpeedTest(hashfunc<hashtype>(info->hash),sizeo
[all...]
/external/deqp/framework/delibs/depool/
H A DdePoolHash.c21 * \brief Memory pool hash class.
40 deTestHash* hash = deTestHash_create(pool); local
47 /* Test find() on empty hash. */
48 DE_TEST_ASSERT(deTestHash_getNumElements(hash) == 0);
51 const int* val = deTestHash_find(hash, (deInt16)i);
58 deTestHash_insert(hash, (deInt16)i, -i);
61 DE_TEST_ASSERT(deTestHash_getNumElements(hash) == 5000);
64 const int* val = deTestHash_find(hash, (deInt16)i);
70 deTestHash_delete(hash, (deInt16)i);
72 DE_TEST_ASSERT(deTestHash_getNumElements(hash)
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c37 struct cso_hash *hash; member in struct:translate_cache
47 cache->hash = cso_hash_create();
54 struct cso_hash *hash = cache->hash; local
55 struct cso_hash_iter iter = cso_hash_first_node(hash);
68 cso_hash_delete(cache->hash);
95 cso_hash_find_data_from_template(cache->hash,
102 cso_hash_insert(cache->hash, hash_key, translate);
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.hash/
H A Dhash_shared_ptr.pass.cpp13 // struct hash<shared_ptr<T>>
27 std::hash<std::shared_ptr<int> > f;
29 assert(h == std::hash<int*>()(ptr));
H A Dhash_unique_ptr.pass.cpp13 // struct hash<unique_ptr<T, D>>
27 std::hash<std::unique_ptr<int> > f;
29 assert(h == std::hash<int*>()(ptr));
/external/mesa3d/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c37 struct cso_hash *hash; member in struct:translate_cache
47 cache->hash = cso_hash_create();
54 struct cso_hash *hash = cache->hash; local
55 struct cso_hash_iter iter = cso_hash_first_node(hash);
68 cso_hash_delete(cache->hash);
95 cso_hash_find_data_from_template(cache->hash,
102 cso_hash_insert(cache->hash, hash_key, translate);
/external/javassist/src/main/javassist/scopedpool/
H A DSoftValueHashMap.java52 * Returns a set of the mappings contained in this hash table.
56 return hash.entrySet();
60 private Map hash; field in class:SoftValueHashMap
72 if (ref == (SoftValueRef)hash.get(ref.key)) {
75 hash.remove(ref.key);
97 hash = new HashMap(initialCapacity, loadFactor);
111 hash = new HashMap(initialCapacity);
119 hash = new HashMap();
146 return hash.size();
154 return hash
[all...]
/external/apache-http/src/org/apache/http/conn/scheme/
H A DScheme.java214 * Obtains a hash code for this scheme.
216 * @return the hash code
220 int hash = LangUtils.HASH_SEED;
221 hash = LangUtils.hashCode(hash, this.defaultPort);
222 hash = LangUtils.hashCode(hash, this.name);
223 hash = LangUtils.hashCode(hash, this.layered);
224 hash
[all...]

Completed in 502 milliseconds

1234567891011>>