Home
last modified time | relevance | path

Searched refs:bucketIndex (Results 1 – 15 of 15) 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.cpp371 int32_t bucketIndex = 0; in ManyLocalesTest() local
374 assertEquals("bucket index", bucketIndex, index.getBucketIndex()); in ManyLocalesTest()
379 const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(bucketIndex); in ManyLocalesTest()
382 " index=" + bucketIndex, in ManyLocalesTest()
387 ++bucketIndex; in ManyLocalesTest()
391 TEST_ASSERT(immIndex->getBucketCount() == bucketIndex); in ManyLocalesTest()
393 TEST_ASSERT(immIndex->getBucket(bucketIndex) == NULL); in ManyLocalesTest()
565 int32_t bucketIndex = index.getBucketIndex(UnicodeString((UChar)0x897f), status); in TestHaniFirst() local
566 assertEquals("getBucketIndex(U+897F)", 0, bucketIndex); // underflow bucket in TestHaniFirst()
567 bucketIndex = index.getBucketIndex("i", status); in TestHaniFirst()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java423 int bucketIndex = 0; in checkBuckets() local
426 labels.get(bucketIndex), bucket.getLabel()); in checkBuckets()
428 labels.get(bucketIndex), immIndex.getBucket(bucketIndex).getLabel()); in checkBuckets()
430 bucket.getLabelType(), immIndex.getBucket(bucketIndex).getLabelType()); in checkBuckets()
434 bucketIndex, index.getBucketIndex(name)); in checkBuckets()
436 bucketIndex, immIndex.getBucketIndex(name)); in checkBuckets()
458 ++bucketIndex; in checkBuckets()
460 assertEquals("getBucketCount()", bucketIndex, index.getBucketCount()); in checkBuckets()
461 assertEquals("immutable getBucketCount()", bucketIndex, immIndex.getBucketCount()); in checkBuckets()
464 assertNull("immutable getBucket(count)", immIndex.getBucket(bucketIndex)); in checkBuckets()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DAlphabeticIndexTest.java424 int bucketIndex = 0; in checkBuckets() local
427 labels.get(bucketIndex), bucket.getLabel()); in checkBuckets()
429 labels.get(bucketIndex), immIndex.getBucket(bucketIndex).getLabel()); in checkBuckets()
431 bucket.getLabelType(), immIndex.getBucket(bucketIndex).getLabelType()); in checkBuckets()
435 bucketIndex, index.getBucketIndex(name)); in checkBuckets()
437 bucketIndex, immIndex.getBucketIndex(name)); in checkBuckets()
459 ++bucketIndex; in checkBuckets()
461 assertEquals("getBucketCount()", bucketIndex, index.getBucketCount()); in checkBuckets()
462 assertEquals("immutable getBucketCount()", bucketIndex, immIndex.getBucketCount()); in checkBuckets()
465 assertNull("immutable getBucket(count)", immIndex.getBucket(bucketIndex)); in checkBuckets()
[all …]
/external/jsoncpp/src/lib_json/
Djson_internalmap.inl152 for (BucketIndex bucketIndex = 0; bucketIndex < bucketsSize_; local
153 ++bucketIndex) {
154 ValueInternalLink* link = buckets_[bucketIndex].next_;
208 BucketIndex bucketIndex = hashedKey % bucketsSize_; local
209 for (const ValueInternalLink* current = &buckets_[bucketIndex]; current != 0;
230 BucketIndex bucketIndex = hashedKey % bucketsSize_; local
233 for (ValueInternalLink* current = &buckets_[bucketIndex]; current != 0;
252 BucketIndex bucketIndex = hashedKey % bucketsSize_; local
253 for (ValueInternalLink* link = &buckets_[bucketIndex]; link != 0;
260 doActualRemove(link, index, bucketIndex);
[all …]
/external/icu/icu4c/source/i18n/
Dalphaindex.cpp651 int32_t bucketIndex = 1; in initBuckets() local
654 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets()
655 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets()
669 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets()
670 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets()
/external/emma/lib/
Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/ ...
/external/owasp/sanitizer/tools/emma/lib/
Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/ ...
/external/jsoncpp/include/json/
Dvalue.h709 BucketIndex bucketIndex);
711 ValueInternalLink*& getLastLinkInBucket(BucketIndex bucketIndex);
/external/caliper/lib/
Djersey-core-1.11.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/jersey-module- ...
/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 ...