Inheritance diagram for SliceAllocator:
Public Member Functions | |
this (int width) | |
void | reset () |
void | bind (IReader reader) |
bool | isMutable (void *x) |
void | allocate (void[]*x, uint count, uint width, BufferDecoder decoder) |
Private Member Functions | |
this (uint size) | |
void * | expand (uint size) |
void[] | slice (int size) |
Private Attributes | |
IReader | reader |
|
Reimplemented in ReuseAllocator. Definition at line 212 of file ArrayAllocator.d. |
|
Reimplemented from IArrayAllocator. Definition at line 221 of file ArrayAllocator.d. |
|
Reimplemented from IArrayAllocator. Definition at line 230 of file ArrayAllocator.d. |
|
Reimplemented from IArrayAllocator. Definition at line 239 of file ArrayAllocator.d. |
|
Reimplemented from IArrayAllocator. Reimplemented in ReuseAllocator. Definition at line 248 of file ArrayAllocator.d. References BufferDecoder, HeapSlice::expand(), and HeapSlice::slice(). |
|
Create with the specified starting size Definition at line 56 of file HeapSlice.d. |
|
Potentially expand the content space, and return a pointer to the start of the empty section. Definition at line 79 of file HeapSlice.d. Referenced by 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 94 of file HeapSlice.d. Referenced by allocate(). |
|
Definition at line 206 of file ArrayAllocator.d. |