phobos-next v0.4.6 (2022-11-25T12:27:21Z)
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
isGoodStaticAlignment
roundDownToAlignment
roundUpToAlignment
roundUpToMultipleOf
sbrk
structs
InSituRegion
Region
SbrkRegion
SharedRegion
Returns n rounded up to a multiple of alignment, which must be a power of 2.