The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SharedAscendingPageAllocator.goodAllocSize
std
experimental
allocator
building_blocks
ascending_page_allocator
SharedAscendingPageAllocator
Rounds the requested size to the next multiple of the page size.
struct
SharedAscendingPageAllocator
version(StdDdoc)
nothrow @
nogc
size_t
goodAllocSize
(
size_t
n
)
Meta
Source
See Implementation
std
experimental
allocator
building_blocks
ascending_page_allocator
SharedAscendingPageAllocator
constructors
this
functions
alignedAllocate
allocate
deallocate
deallocateAll
expand
getAvailableSize
goodAllocSize
owns
Rounds the requested size to the next multiple of the page size.