Lines Matching defs:slot_offset
195 static size_t BucketForSlot(size_t slot_offset) {
196 DCHECK(IsAligned(slot_offset, kTaggedSize));
197 return slot_offset >> (kTaggedSizeLog2 + kBitsPerBucketLog2);
200 // The slot offset specifies a slot at address page_start_ + slot_offset.
204 void Insert(size_t slot_offset) {
207 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index);
226 // The slot offset specifies a slot at address page_start_ + slot_offset.
228 bool Contains(size_t slot_offset) {
231 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index);
237 // The slot offset specifies a slot at address page_start_ + slot_offset.
238 void Remove(size_t slot_offset) {
241 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index);
319 // The slot offset specifies a slot at address page_start_ + slot_offset.
320 bool Lookup(size_t slot_offset) {
323 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index);
581 static void SlotToIndices(size_t slot_offset, size_t* bucket_index,
583 DCHECK(IsAligned(slot_offset, kTaggedSize));
584 size_t slot = slot_offset >> kTaggedSizeLog2;