Home
last modified time | relevance | path

Searched defs:bucketIndex (Results 1 – 25 of 162) sorted by relevance

1234567

/aosp_15_r20/external/setfilters/java/com/google/setfilters/cuckoofilter/
H A DSemiSortedCuckooFilterTable.java100 public Optional<Long> insertWithReplacement(int bucketIndex, long fingerprint) { in insertWithReplacement()
118 public boolean contains(int bucketIndex, long fingerprint) { in contains()
129 public boolean delete(int bucketIndex, long fingerprint) { in delete()
142 public boolean isFull(int bucketIndex) { in isFull()
170 private long toArrayIndex(int bucketIndex, int slotIndex) { in toArrayIndex()
177 private long[] decodeBucket(int bucketIndex) { in decodeBucket()
211 private void encodeAndPut(int bucketIndex, long[] fingerprints) { in encodeAndPut()
H A DUncompressedCuckooFilterTable.java66 public Optional<Long> insertWithReplacement(int bucketIndex, long fingerprint) { in insertWithReplacement()
82 public boolean contains(int bucketIndex, long fingerprint) { in contains()
93 public boolean delete(int bucketIndex, long fingerprint) { in delete()
105 public boolean isFull(int bucketIndex) { in isFull()
133 private long toArrayIndex(int bucketIndex, int slotIndex) { in toArrayIndex()
H A DCuckooFilter.java104 int bucketIndex = config.strategy().computeBucketIndex(hash, config.size().bucketCount()); in contains() local
127 int bucketIndex = config.strategy().computeBucketIndex(hash, config.size().bucketCount()); in insert() local
161 int bucketIndex = config.strategy().computeBucketIndex(hash, config.size().bucketCount()); in delete() local
211 private boolean attemptInsertion(long fingerprint, int bucketIndex, int otherBucketIndex) { in attemptInsertion()
239 private boolean insertWithRepeatedReplacements(long fingerprint, int bucketIndex) { in insertWithRepeatedReplacements()
H A DCuckooFilterTable.java81 Optional<Long> insertWithReplacement(int bucketIndex, long fingerprint); in insertWithReplacement()
84 boolean contains(int bucketIndex, long fingerprint); in contains()
94 boolean delete(int bucketIndex, long fingerprint); in delete()
97 boolean isFull(int bucketIndex); in isFull()
H A DCuckooFilterStrategies.java54 int bucketIndex, in SIMPLE_MOD()
/aosp_15_r20/external/emma/core/java12/com/vladium/util/
H A DSoftValueMap.java164 final int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length; in get() local
235 int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length; in put() local
302 final int bucketIndex = (keyHashCode & 0x7FFFFFFF) % buckets.length; in remove() local
430 IndexedSoftReference (final Object referent, ReferenceQueue queue, final int bucketIndex) in IndexedSoftReference()
447 …e valueReferenceQueue, final Object key, Object value, final SoftEntry next, final int bucketIndex) in SoftEntry()
551 final int bucketIndex = ((IndexedSoftReference) _ref).m_bucketIndex; in removeClearedValues() local
H A DIntIntMap.java88 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in contains() local
112 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in get() local
131 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in get() local
175 int bucketIndex = (key & 0x7FFFFFFF) % m_buckets.length; in put() local
218 final int bucketIndex = (key & 0x7FFFFFFF) % m_buckets.length; in remove() local
H A DObjectIntMap.java93 final int bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; in contains() local
121 final int bucketIndex = (keyHash & 0x7FFFFFFF) % buckets.length; in get() local
168 int bucketIndex = (keyHash & 0x7FFFFFFF) % m_buckets.length; in put() local
214 final int bucketIndex = (keyHash & 0x7FFFFFFF) % m_buckets.length; in remove() local
H A DIntObjectMap.java88 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in contains() local
113 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in get() local
161 int bucketIndex = (key & 0x7FFFFFFF) % m_buckets.length; in put() local
H A DIntSet.java86 final int bucketIndex = (key & 0x7FFFFFFF) % buckets.length; in contains() local
142 int bucketIndex = (key & 0x7FFFFFFF) % m_buckets.length; in add() local
/aosp_15_r20/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.cpp419 for (int bucketIndex = 0; bucketIndex < findIt->second.histogram_size(); bucketIndex++) { in mergeStat() local
424 for (int bucketIndex = 0; bucketIndex < findIt->second.gpu_histogram_size(); in mergeStat() local
501 for (int bucketIndex = 0; bucketIndex < stat.histogram_size(); bucketIndex++) { in writeCpuHistogram() local
507 for (int bucketIndex = 0; bucketIndex < stat.histogram_size(); bucketIndex++) { in writeCpuHistogram() local
521 for (int bucketIndex = 0; bucketIndex < stat.gpu_histogram_size(); bucketIndex++) { in writeGpuHistogram() local
527 for (int bucketIndex = 0; bucketIndex < stat.gpu_histogram_size(); bucketIndex++) { in writeGpuHistogram() local
/aosp_15_r20/external/icu/icu4j/main/collate/src/test/java/com/ibm/icu/dev/test/collator/
H A DAlphabeticIndexTest.java426 int bucketIndex = 0; in checkBuckets() local
639 int bucketIndex = alphabeticIndex.getBucketIndex(name); in TestClientSupport() local
930 int bucketIndex = index.getBucketIndex("\u897f"); in TestHaniFirst() local
954 int bucketIndex = index.getBucketIndex("\u897f"); in TestPinyinFirst() local
996 int bucketIndex = Integer.parseInt(testCase[1]); in TestSchSt() local
1088 int bucketIndex = index.getBucketIndex("\u4e5d"); in TestChineseUnihan() local
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
H A DAlphabeticIndexTest.java429 int bucketIndex = 0; in checkBuckets() local
642 int bucketIndex = alphabeticIndex.getBucketIndex(name); in TestClientSupport() local
933 int bucketIndex = index.getBucketIndex("\u897f"); in TestHaniFirst() local
957 int bucketIndex = index.getBucketIndex("\u897f"); in TestPinyinFirst() local
999 int bucketIndex = Integer.parseInt(testCase[1]); in TestSchSt() local
1091 int bucketIndex = index.getBucketIndex("\u4e5d"); in TestChineseUnihan() local
/aosp_15_r20/external/cronet/third_party/icu/source/test/intltest/
H A Dalphaindextst.cpp380 int32_t bucketIndex = 0; in ManyLocalesTest() local
574 int32_t bucketIndex = index.getBucketIndex(UnicodeString((char16_t)0x897f), status); in TestHaniFirst() local
603 int32_t bucketIndex = index.getBucketIndex(UnicodeString((char16_t)0x897f), status); in TestPinyinFirst() local
628 int32_t bucketIndex; in TestSchSt() member
729 int32_t bucketIndex = index.getBucketIndex(UnicodeString((char16_t)0x4e5d), status); in TestChineseUnihan() local
/aosp_15_r20/external/icu/icu4c/source/test/intltest/
H A Dalphaindextst.cpp380 int32_t bucketIndex = 0; in ManyLocalesTest() local
574 int32_t bucketIndex = index.getBucketIndex(UnicodeString((char16_t)0x897f), status); in TestHaniFirst() local
603 int32_t bucketIndex = index.getBucketIndex(UnicodeString((char16_t)0x897f), status); in TestPinyinFirst() local
628 int32_t bucketIndex; in TestSchSt() member
729 int32_t bucketIndex = index.getBucketIndex(UnicodeString((char16_t)0x4e5d), status); in TestChineseUnihan() local
/aosp_15_r20/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java261 public String getBucketLabel(int bucketIndex) { in getBucketLabel()
350 final int bucketIndex = super.getBucketIndex(name); in getBucketIndex() local
375 public String getBucketLabel(int bucketIndex) { in getBucketLabel()
576 public String getBucketLabel(int bucketIndex) { in getBucketLabel()
/aosp_15_r20/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DLocalSource.java81 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); in findAlbums() local
166 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); in unpackImageData() local
/aosp_15_r20/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
H A DDirectory.java187 private static int bucketIndex(Name name, int tableLength) { in bucketIndex() method in Directory
286 int bucketIndex, DirectoryEntry[] table, DirectoryEntry entryToAdd) { in addToBucket()
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/
H A Denum_set.h145 Iterator(const EnumSet* set, size_t bucketIndex, ElementType bucketOffset) in Iterator()
435 bool HasEnumAt(size_t bucketIndex, BucketType bucketOffset) const { in HasEnumAt()
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/
H A Denum_set.h145 Iterator(const EnumSet* set, size_t bucketIndex, ElementType bucketOffset) in Iterator()
435 bool HasEnumAt(size_t bucketIndex, BucketType bucketOffset) const { in HasEnumAt()
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/
Denum_set.h145 Iterator(const EnumSet* set, size_t bucketIndex, ElementType bucketOffset) in Iterator()
435 bool HasEnumAt(size_t bucketIndex, BucketType bucketOffset) const { in HasEnumAt()
/aosp_15_r20/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java201 int bucketIndex = 0; in createBucketSettings() local
493 int bucketIndex; in addScanToBuckets() local
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DQuotaControllerTest.java348 private int bucketIndexToUsageStatsBucket(int bucketIndex) { in bucketIndexToUsageStatsBucket()
367 private void setStandbyBucket(int bucketIndex) { in setStandbyBucket()
373 private void setStandbyBucket(int bucketIndex, JobStatus... jobs) { in setStandbyBucket()
6058 List<TimingSession> timingSessions, int bucketIndex, long expectedValue) { in runTestGetTimeUntilEJQuotaConsumedLocked()
/aosp_15_r20/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DLatencyResult.java69 int bucketIndex = (int) ((result - minComputeTimeSec) / mTimeFreqStepSec); in LatencyResult() local
/aosp_15_r20/frameworks/base/core/java/android/hardware/display/
H A DAmbientBrightnessDayStats.java204 int bucketIndex = getBucketIndex(ambientBrightness); in log() local

1234567