phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
roundUpToAlignment
nxt
region_allocator
Returns
n
rounded up to a multiple of alignment, which must be a power of 2.
@
safe
@
nogc
nothrow pure
size_t
roundUpToAlignment
(
size_t
n
,
uint
alignment
)
Meta
Source
See Implementation
nxt
region_allocator
functions
alignDownTo
alignUpTo
alignedAt
roundDownToAlignment
roundUpToAlignment
roundUpToMultipleOf
structs
InSituRegion
Region
SbrkRegion
SharedRegion
Returns n rounded up to a multiple of alignment, which must be a power of 2.