phobos-next v0.5.1 (2022-12-21T17:07: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
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.