The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
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.