stdx-allocator ~master (2021-10-24T13:20:51.4811573)
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.