The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SbrkRegion.goodAllocSize
std
experimental
allocator
building_blocks
region
SbrkRegion
Rounds the given size to a multiple of thew
alignment
struct
SbrkRegion
(uint minAlign = platformAlignment)
shared const pure nothrow @
safe
@
nogc
size_t
goodAllocSize
(
size_t
n
)
Meta
Source
See Implementation
std
experimental
allocator
building_blocks
region
SbrkRegion
functions
alignedAllocate
allocate
deallocate
deallocateAll
empty
expand
goodAllocSize
owns
static variables
instance
variables
alignment
Rounds the given size to a multiple of thew alignment