Home
last modified time | relevance | path

Searched refs:keyHash (Results 1 – 7 of 7) sorted by relevance

/external/emma/core/java12/com/vladium/util/
DObjectIntMap.java92 final int keyHash = key.hashCode (); in contains() local
93 final int bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; in contains()
98 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key)) in contains()
120 final int keyHash = key.hashCode (); in get() local
121 final int bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; in get()
126 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key)) in get()
167 final int keyHash = key.hashCode (); in put() local
168 int bucketIndex = (keyHash & 0x7FFFFFFF) % m_buckets.length; in put()
174 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key)) in put()
194 bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; in put()
[all …]
/external/guava/guava/src/com/google/common/collect/
DHashBiMap.java82 final int keyHash; field in HashBiMap.BiEntry
91 BiEntry(K key, int keyHash, V value, int valueHash) { in BiEntry() argument
93 this.keyHash = keyHash; in BiEntry()
125 int keyBucket = entry.keyHash & mask; in delete()
160 int keyBucket = entry.keyHash & mask; in insert()
176 private BiEntry<K, V> seekByKey(@Nullable Object key, int keyHash) { in seekByKey() argument
177 for (BiEntry<K, V> entry = hashTableKToV[keyHash & mask]; entry != null; in seekByKey()
179 if (keyHash == entry.keyHash && Objects.equal(key, entry.key)) { in seekByKey()
224 int keyHash = hash(key); in put() local
227 BiEntry<K, V> oldEntryForKey = seekByKey(key, keyHash); in put()
[all …]
DRegularImmutableBiMap.java69 int keyHash = key.hashCode(); in RegularImmutableBiMap() local
71 int keyBucket = Hashing.smear(keyHash) & mask; in RegularImmutableBiMap()
91 hashCode += keyHash ^ valueHash; in RegularImmutableBiMap()
118 int keyHash = key.hashCode(); in RegularImmutableBiMap() local
120 int keyBucket = Hashing.smear(keyHash) & mask; in RegularImmutableBiMap()
140 hashCode += keyHash ^ valueHash; in RegularImmutableBiMap()
/external/icu/icu4c/source/common/
Dhash.h34 …inline void init(UHashFunction *keyHash, UKeyComparator *keyComp, UValueComparator *valueComp, UEr…
36 …inline void initSize(UHashFunction *keyHash, UKeyComparator *keyComp, UValueComparator *valueComp,…
120 inline void Hashtable::init(UHashFunction *keyHash, UKeyComparator *keyComp, in init() argument
125 uhash_init(&hashObj, keyHash, keyComp, valueComp, &status); in init()
132 inline void Hashtable::initSize(UHashFunction *keyHash, UKeyComparator *keyComp, in initSize() argument
137 uhash_initSize(&hashObj, keyHash, keyComp, valueComp, size, &status); in initSize()
Duhash.cpp250 UHashFunction *keyHash, in _uhash_init() argument
257 U_ASSERT(keyHash != NULL); in _uhash_init()
260 result->keyHasher = keyHash; in _uhash_init()
278 _uhash_create(UHashFunction *keyHash, in _uhash_create() argument
293 _uhash_init(result, keyHash, keyComp, valueComp, primeIndex, status); in _uhash_create()
539 uhash_open(UHashFunction *keyHash, in uhash_open() argument
544 return _uhash_create(keyHash, keyComp, valueComp, DEFAULT_PRIME_INDEX, status); in uhash_open()
548 uhash_openSize(UHashFunction *keyHash, in uhash_openSize() argument
560 return _uhash_create(keyHash, keyComp, valueComp, i, status); in uhash_openSize()
565 UHashFunction *keyHash, in uhash_init() argument
[all …]
Duhash.h194 uhash_open(UHashFunction *keyHash,
211 uhash_openSize(UHashFunction *keyHash,
229 UHashFunction *keyHash,
247 UHashFunction *keyHash,
/external/syzkaller/vendor/cloud.google.com/go/storage/
Dstorage.go1119 keyHash := sha256.Sum256(key)
1120 headers.Set("x-goog-"+cs+"encryption-key-sha256", base64.StdEncoding.EncodeToString(keyHash[:]))