null on failure or if the requested size exceeds the remaining capacity.AscendingPageAllocator.alignedAllocate
void[] alignedAllocate(size_t n, uint a) nothrow @nogcRounds the allocation size to the next multiple of the page size. The allocation only reserves a range of virtual pages but the actual physical memory is allocated on demand, when accessing the memory.
The allocated memory is aligned to the specified alignment a.
Parameters
n | Bytes to allocate |
a | Alignment |