phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
Region.goodAllocSize
nxt
region_allocator
Region
Rounds the given size to a multiple of the
alignment
struct
Region
(ParentAllocator = NullAllocator, uint minAlign = platformAlignment, Flag!"growDownwards" growDownwards = No.growDownwards)
const pure nothrow @
safe
@
nogc
size_t
goodAllocSize
(
size_t
n
)
Meta
Source
See Implementation
nxt
region_allocator
Region
aliases
alignment
constructors
this
destructors
~this
functions
alignedAllocate
allocate
allocateAll
available
deallocate
deallocateAll
empty
expand
goodAllocSize
owns
variables
parent
Rounds the given size to a multiple of the alignment