28typedef void *(*ReAllocFun_t)(
void*, size_t);
29typedef void *(*ReAllocCFun_t)(
void*, size_t, size_t);
30typedef char *(*ReAllocCharFun_t)(
char*, size_t, size_t);
59 static void *
ReAlloc(
void *vp,
size_t size,
size_t oldsize);
#define R__INTENTIONALLY_UNINIT_END
#define R__INTENTIONALLY_UNINIT_BEGIN
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
#define ClassDef(name, id)
void *(* ReAllocCFun_t)(void *, size_t, size_t)
void *(* ReAllocFun_t)(void *, size_t)
void(* FreeHookFun_t)(void *, void *addr, size_t)
static ReAllocCFun_t fgReAllocCHook
static void RemoveStat(void *p)
Register a memory free operation.
static void * Alloc(size_t size)
Allocate a block of memory, that later can be resized using TStorage::ReAlloc().
static Bool_t fgHasCustomNewDelete
static char * ReAllocChar(char *vp, size_t size, size_t oldsize)
Reallocate (i.e.
static FreeHookFun_t fgFreeHook
static Bool_t HasCustomNewDelete()
return the has custom delete flag
static void EnterStat(size_t size, void *p)
Register a memory allocation operation.
static void ObjectDealloc(void *vp)
Used to deallocate a TObject on the heap (via TObject::operator delete()).
static void SetFreeHook(FreeHookFun_t func, void *data)
Set a free handler.
static void SetCustomNewDelete()
set the has custom delete flag
static void * GetFreeHookData()
return static free hook data
static void SetMaxBlockSize(size_t size)
static void * fgFreeHookData
static void UpdateIsOnHeap(volatile const UInt_t &uniqueID, volatile UInt_t &bits)
static const UInt_t kObjectAllocMemValue
@ kIsOnHeap
object is on heap
static void Dealloc(void *ptr)
De-allocate block of memory, that was allocated via TStorage::Alloc().
static size_t fgMaxBlockSize
static Int_t * ReAllocInt(Int_t *vp, size_t size, size_t oldsize)
Reallocate (i.e.
static void SetReAllocHooks(ReAllocFun_t func1, ReAllocCFun_t func2)
Set a custom ReAlloc handlers.
static void * ObjectAllocArray(size_t size)
Used to allocate array of TObject on the heap (via TObject::operator new[]()).
static Bool_t FilledByObjectAlloc(volatile const UInt_t *const member)
static void EnableStatistics(int size=-1, int ix=-1)
Enable memory usage statistics gathering.
static size_t GetMaxBlockSize()
static void * ReAlloc(void *vp, size_t size, size_t oldsize)
Reallocate (i.e.
static void * ObjectAlloc(size_t size)
Used to allocate a TObject on the heap (via TObject::operator new()).
static void PrintStatistics()
Print memory usage statistics.
static FreeHookFun_t GetFreeHook()
bool(void *) FreeIfTMapFile_t
externGetMapFileMapllocDesc_t * gGetMapFileMallocDesc
externFreeIfTMapFile_t * gFreeIfTMapFile
externvoid * gMmallocDesc
void *(void *) GetMapFileMapllocDesc_t