Givaro
Static Public Member Functions | Static Public Attributes | Friends
GivMMFreeList Class Reference

Implementation of a memory manager with free-lists. More...

#include <givaromm.h>

+ Collaboration diagram for GivMMFreeList:

Static Public Member Functions

static void Destroy ()
 
static BlocFreeList_allocate (const size_t sz)
 
static void * allocate (const size_t sz)
 
static void * resize (void *p, const size_t oldsize, const size_t newsize)
 
static void desallocate (void *p, const size_t=0)
 
static void memcpy (void *dest, const void *src, const size_t size)
 
static const GivMMInfoUsage ()
 

Static Public Attributes

static GivMMInfo info
 
static GivModule Module
 

Friends

class GivModule
 

Detailed Description

Implementation of a memory manager with free-lists.

All members are static methods.

Member Function Documentation

◆ Destroy()

void Destroy ( )
static

◆ _allocate()

BlocFreeList * _allocate ( const size_t  sz)
static

◆ allocate()

static void* allocate ( const size_t  sz)
inlinestatic

◆ resize()

void * resize ( void *  p,
const size_t  oldsize,
const size_t  newsize 
)
static

◆ desallocate()

static void desallocate ( void *  p,
const  size_t = 0 
)
inlinestatic

◆ memcpy()

void memcpy ( void *  dest,
const void *  src,
const size_t  size 
)
static

◆ Usage()

const GivMMInfo & Usage ( )
static

Friends And Related Function Documentation

◆ GivModule

friend class GivModule
friend

Field Documentation

◆ info

GivMMInfo info
static

◆ Module

GivModule Module
static

The documentation for this class was generated from the following files: