phobos-next v0.5.0 (2022-11-28T21:32:24Z)
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