Inheritance diagram for SliceAllocator:
Public Member Functions | |
this (IReader reader, int width) | |
void | reset () |
bool | isReadOnly (void *x) |
void | allocate (void[]*x, BufferConverter decoder) |
Private Member Functions | |
this (uint size) | |
void * | expand (uint size) |
void[] | slice (int size) |
Private Attributes | |
IReader | reader |
|
Definition at line 172 of file ArrayAllocator.d. |
|
Reimplemented from IArrayAllocator. Definition at line 182 of file ArrayAllocator.d. |
|
Reimplemented from IArrayAllocator. Definition at line 191 of file ArrayAllocator.d. |
|
Reimplemented from IArrayAllocator. Definition at line 200 of file ArrayAllocator.d. References BufferConverter, HeapSlice::expand(), IReader::length(), and HeapSlice::slice(). |
|
Create with the specified starting size Definition at line 53 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 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 allocate(). |
|
Definition at line 166 of file ArrayAllocator.d. |