phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
Bucketizer.goodAllocSize
std
experimental
allocator
building_blocks
bucketizer
Bucketizer
Rounds up to the maximum size of the bucket in which
bytes
falls.
struct
Bucketizer
(Allocator, size_t min, size_t max, size_t step)
pure nothrow @
safe
@
nogc
const
size_t
goodAllocSize
(
size_t
bytes
)
Meta
Source
See Implementation
std
experimental
allocator
building_blocks
bucketizer
Bucketizer
functions
alignedAllocate
alignedReallocate
allocate
deallocate
deallocateAll
expand
goodAllocSize
owns
reallocate
resolveInternalPointer
variables
alignment
buckets
Rounds up to the maximum size of the bucket in which bytes falls.