Calculate RARPPM_MEM_BLK+Items address. Real RARPPM_MEM_BLK size must be equal to UNIT_SIZE, so we cannot just add Items to RARPPM_MEM_BLK address.
| 47 | // Calculate RARPPM_MEM_BLK+Items address. Real RARPPM_MEM_BLK size must be |
| 48 | // equal to UNIT_SIZE, so we cannot just add Items to RARPPM_MEM_BLK address. |
| 49 | inline RARPPM_MEM_BLK* SubAllocator::MBPtr(RARPPM_MEM_BLK *BasePtr,int Items) |
| 50 | { |
| 51 | return((RARPPM_MEM_BLK*)( ((byte *)(BasePtr))+U2B(Items) )); |
| 52 | } |
| 53 | |
| 54 | |
| 55 | inline void SubAllocator::SplitBlock(void* pv,int OldIndx,int NewIndx) |
nothing calls this directly
no outgoing calls
no test coverage detected