#include <MemoryRegion.h>
|
| | MemoryRegion () |
| |
| void | setup (void *emptySpacesMemory, int emptySpacesMemorySize, uint32_t regionBegin, uint32_t regionEnd) |
| |
| void * | alloc (uint32_t requiredSize, uint32_t *getAllocatedSize, bool makeStealable, void *thingNotToStealFrom, bool getBiggestAllocationPossible) |
| |
| uint32_t | shortenRight (void *address, uint32_t newSize) |
| |
| uint32_t | shortenLeft (void *address, uint32_t amountToShorten, uint32_t numBytesToMoveRightIfSuccessful=0) |
| |
| void | extend (void *address, uint32_t minAmountToExtend, uint32_t idealAmountToExtend, uint32_t *getAmountExtendedLeft, uint32_t *getAmountExtendedRight, void *thingNotToStealFrom) |
| |
| uint32_t | extendRightAsMuchAsEasilyPossible (void *spaceAddress) |
| |
| void | dealloc (void *address) |
| |
| void | verifyMemoryNotFree (void *address, uint32_t spaceSize) |
| |
◆ MemoryRegion()
| MemoryRegion::MemoryRegion |
( |
| ) |
|
◆ alloc()
| void * MemoryRegion::alloc |
( |
uint32_t |
requiredSize, |
|
|
uint32_t * |
getAllocatedSize, |
|
|
bool |
makeStealable, |
|
|
void * |
thingNotToStealFrom, |
|
|
bool |
getBiggestAllocationPossible |
|
) |
| |
◆ dealloc()
| void MemoryRegion::dealloc |
( |
void * |
address | ) |
|
◆ extend()
| void MemoryRegion::extend |
( |
void * |
address, |
|
|
uint32_t |
minAmountToExtend, |
|
|
uint32_t |
idealAmountToExtend, |
|
|
uint32_t * |
getAmountExtendedLeft, |
|
|
uint32_t * |
getAmountExtendedRight, |
|
|
void * |
thingNotToStealFrom |
|
) |
| |
◆ extendRightAsMuchAsEasilyPossible()
| uint32_t MemoryRegion::extendRightAsMuchAsEasilyPossible |
( |
void * |
spaceAddress | ) |
|
◆ setup()
| void MemoryRegion::setup |
( |
void * |
emptySpacesMemory, |
|
|
int |
emptySpacesMemorySize, |
|
|
uint32_t |
regionBegin, |
|
|
uint32_t |
regionEnd |
|
) |
| |
◆ shortenLeft()
| uint32_t MemoryRegion::shortenLeft |
( |
void * |
address, |
|
|
uint32_t |
amountToShorten, |
|
|
uint32_t |
numBytesToMoveRightIfSuccessful = 0 |
|
) |
| |
◆ shortenRight()
| uint32_t MemoryRegion::shortenRight |
( |
void * |
address, |
|
|
uint32_t |
newSize |
|
) |
| |
◆ verifyMemoryNotFree()
| void MemoryRegion::verifyMemoryNotFree |
( |
void * |
address, |
|
|
uint32_t |
spaceSize |
|
) |
| |
◆ emptySpaces
◆ name
| char const* MemoryRegion::name |
◆ numAllocations
| int MemoryRegion::numAllocations |
◆ stealableClusterQueueLongestRuns
◆ stealableClusterQueues
The documentation for this class was generated from the following files: