Ark Server API (ASA) - Wiki
|
Public Member Functions | |
FFreeEntry (FFreeEntry *NextEntry, uint32 InLocation, uint64 InSize) | |
bool | CanFit (uint64 AlignedSize, uint32 Alignment) |
uint32 | Split (uint64 UsedSize, uint32 Alignment, bool &bDelete, uint32 &Padding, uint32 MinSize) |
Public Attributes | |
uint32 | Location |
uint32 | BlockSize |
FFreeEntry * | Next |
Definition at line 408 of file GenericGrowableAllocator.h.
|
inline |
Constructor
Definition at line 412 of file GenericGrowableAllocator.h.
Determine if the given allocation with this alignment and size will fit
AllocationSize | Already aligned size of an allocation |
Alignment | Alignment of the allocation (location may need to increase to match alignment) |
Definition at line 425 of file GenericGrowableAllocator.h.
|
inline |
Take a free chunk, and split it into a used chunk and a free chunk
UsedSize | The size of the used amount (anything left over becomes free chunk) |
Alignment | The alignment of the allocation (location and size) |
bDelete | Whether or not to delete this FreeEntry (ie no more is left over after splitting) |
Definition at line 442 of file GenericGrowableAllocator.h.
uint32 FGrowableMallocChunk::FFreeEntry::BlockSize |
Size of the free block
Definition at line 476 of file GenericGrowableAllocator.h.
uint32 FGrowableMallocChunk::FFreeEntry::Location |
Offset in the heap
Definition at line 473 of file GenericGrowableAllocator.h.
FFreeEntry* FGrowableMallocChunk::FFreeEntry::Next |
Next block of free memory.
Definition at line 479 of file GenericGrowableAllocator.h.