Searched defs:SmallBlockBase (Results 1 – 1 of 1) sorted by relevance
42 struct SmallBlockBase : public BasicBlock<Derived>, struct47 constexpr explicit SmallBlockBase(size_t outer_size) in SmallBlockBase() argument53 using Contiguous = ContiguousBlock<Derived>;54 using Allocatable = AllocatableBlock<Derived>;57 friend Basic;59 static constexpr size_t DefaultAlignment() { in DefaultAlignment()62 static constexpr size_t BlockOverhead() { return sizeof(Derived); } in BlockOverhead()63 static constexpr size_t MaxAddressableSize() { in MaxAddressableSize()66 static inline Derived* AsBlock(ByteSpan bytes) { in AsBlock()69 static constexpr size_t MinInnerSize() { return std::max(2U, 1U << kShift); } in MinInnerSize()[all …]