phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
SbrkRegion.goodAllocSize
nxt
region_allocator
SbrkRegion
Rounds the given size to a multiple of thew
alignment
size_t
goodAllocSize
(size_t n)
struct
SbrkRegion
(uint minAlign = platformAlignment)
shared const pure nothrow @
safe
@
nogc
size_t
goodAllocSize
(
size_t
n
)
void
[]
allocate
(size_t bytes)
void
[]
alignedAllocate
(size_t bytes, uint a)
Meta
Source
See Implementation
nxt
region_allocator
SbrkRegion
functions
alignedAllocate
allocate
deallocate
deallocateAll
empty
expand
goodAllocSize
owns
static variables
instance
variables
alignment
Rounds the given size to a multiple of thew alignment