Home
last modified time | relevance | path

Searched refs:bucketIndex (Results 1 – 14 of 14) sorted by relevance

/external/emma/core/java12/com/vladium/util/
DIntIntMap.java88 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in contains() local
91 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in contains()
112 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in get() local
115 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get()
131 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in get() local
134 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get()
175 int bucketIndex = (key & 0x7FFFFFFF) % m_buckets.length; in put() local
179 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in put()
201 bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in put()
202 final Entry bucketListHead = buckets [bucketIndex]; in put()
[all …]
DSoftValueMap.java164 final int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length; in get() local
169 for (SoftEntry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get()
235 int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length; in put() local
238 for (SoftEntry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in put()
270 …currentKeyEntry.m_softValue = new IndexedSoftReference (value, m_valueReferenceQueue, bucketIndex); in put()
282 bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length; in put()
283 final SoftEntry bucketListHead = buckets [bucketIndex]; in put()
284 …oftEntry newEntry = new SoftEntry (m_valueReferenceQueue, key, value, bucketListHead, bucketIndex); in put()
285 buckets [bucketIndex] = newEntry; in put()
302 final int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length; in remove() local
[all …]
DObjectIntMap.java93 final int bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; in contains() local
96 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in contains()
121 final int bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; in get() local
124 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get()
168 int bucketIndex = (keyHash & 0x7FFFFFFF) % m_buckets.length; in put() local
172 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in put()
194 bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; in put()
195 final Entry bucketListHead = buckets [bucketIndex]; in put()
197 buckets [bucketIndex] = newEntry; in put()
214 final int bucketIndex = (keyHash & 0x7FFFFFFF) % m_buckets.length; in remove() local
[all …]
DIntObjectMap.java88 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in contains() local
91 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in contains()
113 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in get() local
116 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get()
161 int bucketIndex = (key & 0x7FFFFFFF) % m_buckets.length; in put() local
165 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in put()
190 bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in put()
191 final Entry bucketListHead = buckets [bucketIndex]; in put()
193 buckets [bucketIndex] = newEntry; in put()
DIntSet.java86 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in contains() local
89 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in contains()
142 int bucketIndex = (key & 0x7FFFFFFF) % m_buckets.length; in add() local
146 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in add()
162 bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in add()
163 final Entry bucketListHead = buckets [bucketIndex]; in add()
165 buckets [bucketIndex] = newEntry; in add()
/external/icu/icu4c/source/test/intltest/
Dalphaindextst.cpp369 int32_t bucketIndex = 0; in ManyLocalesTest() local
372 assertEquals("bucket index", bucketIndex, index.getBucketIndex()); in ManyLocalesTest()
377 const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(bucketIndex); in ManyLocalesTest()
380 " index=" + bucketIndex, in ManyLocalesTest()
385 ++bucketIndex; in ManyLocalesTest()
389 TEST_ASSERT(immIndex->getBucketCount() == bucketIndex); in ManyLocalesTest()
391 TEST_ASSERT(immIndex->getBucket(bucketIndex) == NULL); in ManyLocalesTest()
563 int32_t bucketIndex = index.getBucketIndex(UnicodeString((UChar)0x897f), status); in TestHaniFirst() local
564 assertEquals("getBucketIndex(U+897F)", 0, bucketIndex); // underflow bucket in TestHaniFirst()
565 bucketIndex = index.getBucketIndex("i", status); in TestHaniFirst()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java396 int bucketIndex = 0; in checkBuckets() local
399 labels.get(bucketIndex), bucket.getLabel()); in checkBuckets()
401 labels.get(bucketIndex), immIndex.getBucket(bucketIndex).getLabel()); in checkBuckets()
403 bucket.getLabelType(), immIndex.getBucket(bucketIndex).getLabelType()); in checkBuckets()
407 bucketIndex, index.getBucketIndex(name)); in checkBuckets()
409 bucketIndex, immIndex.getBucketIndex(name)); in checkBuckets()
431 ++bucketIndex; in checkBuckets()
433 assertEquals("getBucketCount()", bucketIndex, index.getBucketCount()); in checkBuckets()
434 assertEquals("immutable getBucketCount()", bucketIndex, immIndex.getBucketCount()); in checkBuckets()
437 assertNull("immutable getBucket(count)", immIndex.getBucket(bucketIndex)); in checkBuckets()
[all …]
/external/jsoncpp/src/lib_json/
Djson_internalmap.inl211 for ( BucketIndex bucketIndex =0; bucketIndex < bucketsSize_; ++bucketIndex ) local
213 ValueInternalLink *link = buckets_[bucketIndex].next_;
284 BucketIndex bucketIndex = hashedKey % bucketsSize_; local
285 for ( const ValueInternalLink *current = &buckets_[bucketIndex];
316 BucketIndex bucketIndex = hashedKey % bucketsSize_; local
319 for ( ValueInternalLink *current = &buckets_[bucketIndex];
344 BucketIndex bucketIndex = hashedKey % bucketsSize_; local
345 for ( ValueInternalLink *link = &buckets_[bucketIndex];
356 doActualRemove( link, index, bucketIndex );
366 BucketIndex bucketIndex ) argument
[all …]
/external/icu/icu4c/source/i18n/
Dalphaindex.cpp649 int32_t bucketIndex = 1; in initBuckets() local
652 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets()
653 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets()
667 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets()
668 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets()
/external/owasp/sanitizer/tools/emma/lib/
Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/ ...
/external/emma/lib/
Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/ ...
/external/jsoncpp/chromium-overrides/include/json/
Dvalue.h721 BucketIndex bucketIndex );
723 ValueInternalLink *&getLastLinkInBucket( BucketIndex bucketIndex );
/external/jsoncpp/include/json/
Dvalue.h721 BucketIndex bucketIndex );
723 ValueInternalLink *&getLastLinkInBucket( BucketIndex bucketIndex );
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.p2.metadata_2.0.0.v20100601.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...