hgen v0.5.2 (2022-06-06T21:35:09Z)
Dub
Repo
HmodBlockAllocator.allocate
allocator
HmodBlockAllocator
Standard allocator operation.
Returns null if bytes > blockSize.
struct
HmodBlockAllocator
(size_t blockSize)
nothrow @
trusted
void
[]
allocate
(
size_t
bytes
)
out (result) { assert (result is null || result.length == bytes, format!"Allocated %d bytes when %d bytes were requested."(result.length, bytes)); }
Meta
Source
See Implementation
allocator
HmodBlockAllocator
aliases
bytesHighTide
destructors
~this
functions
allocate
deallocate
owns
writeStats
manifest constants
alignment
maxAllocationSize
postblits
this(this)
unions
__anonymous
Standard allocator operation.
Returns null if bytes > blockSize.