The OpenD Programming Language

ContiguousFreeList.allocate

Allocate n bytes of memory. If n is eligible for freelist and the freelist is not empty, pops the memory off the free list. In all other cases, uses the parent allocator.

struct ContiguousFreeList(ParentAllocator, size_t minSize, size_t maxSize = minSize)
void[]
allocate
(
size_t n
)

Meta