stdx-allocator ~master (2019-07-16T13:47:43Z)
Dub
Repo
Bucketizer.goodAllocSize
stdx
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)
const
size_t
goodAllocSize
(
size_t
bytes
)
Meta
Source
See Implementation
stdx
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.