Home
last modified time | relevance | path

Searched refs:bucket_index (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/heap/
Dslot-set.h60 int bucket_index, cell_index, bit_index; in Insert() local
61 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Insert()
62 Bucket bucket = LoadBucket<access_mode>(&buckets_[bucket_index]); in Insert()
65 if (!SwapInNewBucket<access_mode>(&buckets_[bucket_index], bucket)) { in Insert()
67 bucket = LoadBucket<access_mode>(&buckets_[bucket_index]); in Insert()
73 DCHECK_EQ(bucket, LoadBucket<access_mode>(&buckets_[bucket_index])); in Insert()
83 int bucket_index, cell_index, bit_index; in Contains() local
84 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Contains()
85 Bucket bucket = LoadBucket(&buckets_[bucket_index]); in Contains()
92 int bucket_index, cell_index, bit_index; in Remove() local
[all …]
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_cache.c88 struct list_head *cache = &mgr->buckets[entry->bucket_index]; in pb_cache_add_buffer()
149 unsigned bucket_index) in pb_cache_reclaim_buffer() argument
156 struct list_head *cache = &mgr->buckets[bucket_index]; in pb_cache_reclaim_buffer()
249 struct pb_buffer *buf, unsigned bucket_index) in pb_cache_init_entry() argument
254 entry->bucket_index = bucket_index; in pb_cache_init_entry()
Dpb_cache.h45 unsigned bucket_index; member
70 unsigned bucket_index);
73 struct pb_buffer *buf, unsigned bucket_index);
/external/libchrome/base/metrics/
Dsample_vector.cc36 const size_t bucket_index = GetBucketIndex(value); in Accumulate() local
41 if (AccumulateSingleSample(value, count, bucket_index)) { in Accumulate()
59 subtle::NoBarrier_AtomicIncrement(&counts()[bucket_index], count); in Accumulate()
93 Count SampleVectorBase::GetCountAtIndex(size_t bucket_index) const { in GetCountAtIndex()
94 DCHECK(bucket_index < counts_size()); in GetCountAtIndex()
99 return sample.bucket == bucket_index ? sample.count : 0; in GetCountAtIndex()
103 return subtle::NoBarrier_Load(&counts()[bucket_index]); in GetCountAtIndex()
Dhistogram_samples.cc281 size_t bucket_index) in SingleSampleIterator() argument
282 : min_(min), max_(max), bucket_index_(bucket_index), count_(count) {} in SingleSampleIterator()
Dhistogram.cc336 size_t bucket_index = 1; in InitializeBucketRanges() local
338 ranges->set_range(bucket_index, current); in InitializeBucketRanges()
340 while (bucket_count > ++bucket_index) { in InitializeBucketRanges()
344 log_ratio = (log_max - log_current) / (bucket_count - bucket_index); in InitializeBucketRanges()
353 ranges->set_range(bucket_index, current); in InitializeBucketRanges()
Dsample_vector.h45 HistogramBase::Count GetCountAtIndex(size_t bucket_index) const;
Dhistogram_samples.h244 size_t bucket_index);
/external/tensorflow/tensorflow/core/kernels/
Dlookup_table_op.cc422 int64 bucket_index = key_hash & bit_mask; in Find() local
425 if (IsEqualKey(key_buckets_matrix, bucket_index, key_matrix, i)) { in Find()
430 SubtleMustCopyIfIntegral(value_buckets_matrix(bucket_index, j)); in Find()
434 if (IsEqualKey(key_buckets_matrix, bucket_index, empty_key_matrix, 0)) { in Find()
441 bucket_index = in Find()
442 (bucket_index + num_probes) & bit_mask; // quadratic probing in Find()
603 int64 bucket_index = key_hash & bit_mask; in DoInsert() local
606 if (IsEqualKey(key_buckets_matrix, bucket_index, key_matrix, i)) { in DoInsert()
608 value_buckets_matrix(bucket_index, j) = in DoInsert()
613 if (IsEqualKey(key_buckets_matrix, bucket_index, empty_key_tensor, 0) || in DoInsert()
[all …]
/external/webrtc/webrtc/base/
Dratetracker.cc144 size_t RateTracker::NextBucketIndex(size_t bucket_index) const { in NextBucketIndex()
145 return (bucket_index + 1u) % (bucket_count_ + 1u); in NextBucketIndex()
Dratetracker.h56 size_t NextBucketIndex(size_t bucket_index) const;