class MemoryHeap This class is intended to manage a memory area and allocate buffer space from that area
Return value: Success(0), Failure(-1)
This class is intended to manage a memory area and allocate buffer space from that area.The buffers are allocated on a first fit basis. To maximize the use of the first memory pages, the list is always scanned in full, merging adjacent empty buffers if found.
If merging buffers fails to allocate sufficient area, then compaction is not tried. This makes it possible to use the buffer pointers directly by the application program.
buf: Currently allocated buffer
Return value: Success(0), Failure(-1)
~MemoryHeap()
char* alloc( size_t s )
char* realloc( void *buf, size_t ns )
int free( void *buf )
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de