Searched refs:bucketIndex (Results 1 – 8 of 8) sorted by relevance
/external/emma/core/java12/com/vladium/util/ |
D | IntIntMap.java | 88 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 …]
|
D | SoftValueMap.java | 164 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 …]
|
D | ObjectIntMap.java | 93 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 …]
|
D | IntObjectMap.java | 88 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()
|
D | IntSet.java | 86 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/icu4c/test/intltest/ |
D | alphaindextst.cpp | 369 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() 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/icu4c/i18n/ |
D | alphaindex.cpp | 657 int32_t bucketIndex = 1; in initBuckets() local 660 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets() 661 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets() 675 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets() 676 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets()
|
/external/chromium_org/third_party/jsoncpp/overrides/include/json/ |
D | value.h | 721 BucketIndex bucketIndex ); 723 ValueInternalLink *&getLastLinkInBucket( BucketIndex bucketIndex );
|