Searched refs:bucket (Results 1 – 2 of 2) sorted by relevance
115 static inline size_t bucket_to_size(unsigned int bucket) { in bucket_to_size() argument116 return kMinBucketAllocationSize << bucket; in bucket_to_size()168 Chunk(HeapImpl* heap, int bucket);230 Chunk::Chunk(HeapImpl* heap, int bucket) in Chunk() argument233 bucket_(bucket), in Chunk()234 allocation_size_(bucket_to_size(bucket)), in Chunk()364 int bucket = size_to_bucket(size); in AllocLocked() local365 if (free_chunks_[bucket].empty()) { in AllocLocked()366 Chunk* chunk = new Chunk(this, bucket); in AllocLocked()367 free_chunks_[bucket].insert(chunk->node_); in AllocLocked()[all …]
82 vector<UniqueBlock>* bucket = nullptr; in AddBlock() local86 bucket = &mapping_[h]; in AddBlock()95 bucket = &mapping_it->second; in AddBlock()100 bucket->emplace_back(); in AddBlock()101 UniqueBlock* new_ublock = &bucket->back(); in AddBlock()