phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
AscendingPageAllocator.goodAllocSize
std
experimental
allocator
building_blocks
ascending_page_allocator
AscendingPageAllocator
Rounds the requested size to the next multiple of the page size.
struct
AscendingPageAllocator
version(StdDdoc)
nothrow @
nogc
size_t
goodAllocSize
(
size_t
n
)
Meta
Source
See Implementation
std
experimental
allocator
building_blocks
ascending_page_allocator
AscendingPageAllocator
constructors
this
destructors
~this
functions
alignedAllocate
allocate
deallocate
deallocateAll
empty
expand
getAvailableSize
goodAllocSize
owns
Rounds the requested size to the next multiple of the page size.