Inheritance diagram for HeapSlice:
Public Member Functions | |
this (uint size) | |
void | reset () |
void * | expand (uint size) |
void[] | slice (int size) |
Private Attributes | |
uint | used |
void[] | buffer |
|
Create with the specified starting size Definition at line 53 of file HeapSlice.d. |
|
Reset content length to zero Reimplemented in SliceAllocator. Definition at line 64 of file HeapSlice.d. |
|
Potentially expand the content space, and return a pointer to the start of the empty section. Definition at line 76 of file HeapSlice.d. Referenced by SliceAllocator::allocate(). |
|
Return a slice of the content from the current position with the specified size. Adjusts the current position to point at an empty zone. Definition at line 91 of file HeapSlice.d. Referenced by SliceAllocator::allocate(). |
|
Definition at line 44 of file HeapSlice.d. |
|
Definition at line 45 of file HeapSlice.d. |