static const uint UNIT_SIZE= …;
static const uint FIXED_UNIT_SIZE= …;
SubAllocator::SubAllocator()
{ … }
void SubAllocator::Clean()
{ … }
inline void SubAllocator::InsertNode(void* p,int indx)
{ … }
inline void* SubAllocator::RemoveNode(int indx)
{ … }
inline uint SubAllocator::U2B(int NU)
{ … }
inline RARPPM_MEM_BLK* SubAllocator::MBPtr(RARPPM_MEM_BLK *BasePtr,int Items)
{ … }
inline void SubAllocator::SplitBlock(void* pv,int OldIndx,int NewIndx)
{ … }
void SubAllocator::StopSubAllocator()
{ … }
bool SubAllocator::StartSubAllocator(int SASize)
{ … }
void SubAllocator::InitSubAllocator()
{ … }
inline void SubAllocator::GlueFreeBlocks()
{ … }
void* SubAllocator::AllocUnitsRare(int indx)
{ … }
inline void* SubAllocator::AllocUnits(int NU)
{ … }
void* SubAllocator::AllocContext()
{ … }
void* SubAllocator::ExpandUnits(void* OldPtr,int OldNU)
{ … }
void* SubAllocator::ShrinkUnits(void* OldPtr,int OldNU,int NewNU)
{ … }
void SubAllocator::FreeUnits(void* ptr,int OldNU)
{ … }