stdx-allocator ~master (2019-07-16T13:47:43Z)
Dub
Repo
roundDownToAlignment
stdx
allocator
common
Returns
n
rounded down to a multiple of alignment, which must be a power of 2.
@
safe
@
nogc
nothrow pure
size_t
roundDownToAlignment
()
(
size_t
n
,
uint
alignment
)
Meta
Source
See Implementation
stdx
allocator
common
functions
alignDownTo
alignUpTo
alignedAt
alignedReallocate
divideRoundUp
effectiveAlignment
goodAllocSize
isGoodDynamicAlignment
isGoodStaticAlignment
reallocate
roundDownToAlignment
roundStartToMultipleOf
roundUpToAlignment
roundUpToMultipleOf
roundUpToPowerOf2
testAllocator
testAllocatorObject
trailingZeros
manifest constants
chooseAtRuntime
forwardToMember
unbounded
templates
hasStaticallyKnownAlignment
stateSize
variables
platformAlignment
Returns n rounded down to a multiple of alignment, which must be a power of 2.