The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
KRRegion.goodAllocSize
std
experimental
allocator
building_blocks
kernighan_ritchie
KRRegion
Adjusts
n
to a size suitable for allocation (two words or larger, word-aligned).
struct
KRRegion
(ParentAllocator = NullAllocator)
pure nothrow @
safe
@
nogc
static
size_t
goodAllocSize
(
size_t
n
)
Meta
Source
See Implementation
std
experimental
allocator
building_blocks
kernighan_ritchie
KRRegion
constructors
this
destructors
~this
functions
allocate
allocateAll
deallocate
deallocateAll
empty
owns
switchToFreeList
manifest constants
alignment
static functions
goodAllocSize
variables
parent
Adjusts n to a size suitable for allocation (two words or larger, word-aligned).