phobos-next ~master (2022-05-18T09:58:38.2169964)
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.