Home
last modified time | relevance | path

Searched refs:kNumBuckets (Results 1 – 3 of 3) sorted by relevance

/external/pigweed/pw_allocator/public/pw_allocator/
Dfreelist.h24 template <size_t kNumBuckets>
87 template <size_t kNumBuckets>
104 template <size_t kNumBuckets>
110 : FreeList(chunks_, sizes_), sizes_(sizes), chunks_(kNumBuckets + 1, 0) {} in FreeListBuffer()
111 explicit FreeListBuffer(std::array<size_t, kNumBuckets> sizes) in FreeListBuffer()
114 chunks_(kNumBuckets + 1, 0) {} in FreeListBuffer()
117 Vector<size_t, kNumBuckets> sizes_;
118 Vector<FreeList::FreeListNode*, kNumBuckets + 1> chunks_;
Dfreelist_heap.h27 template <size_t kNumBuckets>
58 template <size_t kNumBuckets = 6>
61 static constexpr std::array<size_t, kNumBuckets> defaultBuckets{
79 FreeListBuffer<kNumBuckets> freelist_;
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.h505 static const size_t kNumBuckets = N / kAllocationGranularity; variable
506 void init() { partition_root_.Init(kNumBuckets, kMaxAllocation); } in init()
511 internal::PartitionBucket actual_buckets_[kNumBuckets];