Eneboo - Documentación para desarrolladores
|
#include <coalesceableheap.h>
Clases | |
class | Header |
Métodos públicos estáticos | |
static int | getHeap (void *ptr) |
static void | setHeap (void *ptr, int h) |
static int | getPrevHeap (void *ptr) |
static void | setPrevHeap (void *ptr, int h) |
static size_t | getSize (const void *ptr) |
static void | setSize (void *ptr, const size_t sz) |
static size_t | getPrevSize (void *ptr) |
static void | setPrevSize (void *ptr, const size_t sz) |
static void | markFree (void *ptr) |
static void | markInUse (void *ptr) |
static void | markPrevInUse (void *ptr) |
static void | markMmapped (void *ptr) |
static int | isFree (void *ptr) |
static int | isPrevFree (void *ptr) |
static int | isMmapped (void *ptr) |
static void * | getNext (const void *ptr) |
static void * | getPrev (const void *ptr) |
static void * | makeObject (void *buf, const size_t prevsz, const size_t sz) |
static Header * | getHeader (const void *ptr) |
static Header* HL::RequireCoalesceable< SuperHeap >::getHeader | ( | const void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static int HL::RequireCoalesceable< SuperHeap >::getHeap | ( | void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void* HL::RequireCoalesceable< SuperHeap >::getNext | ( | const void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void* HL::RequireCoalesceable< SuperHeap >::getPrev | ( | const void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static int HL::RequireCoalesceable< SuperHeap >::getPrevHeap | ( | void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static size_t HL::RequireCoalesceable< SuperHeap >::getPrevSize | ( | void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static size_t HL::RequireCoalesceable< SuperHeap >::getSize | ( | const void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static int HL::RequireCoalesceable< SuperHeap >::isFree | ( | void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static int HL::RequireCoalesceable< SuperHeap >::isMmapped | ( | void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static int HL::RequireCoalesceable< SuperHeap >::isPrevFree | ( | void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void* HL::RequireCoalesceable< SuperHeap >::makeObject | ( | void * | buf, |
const size_t | prevsz, | ||
const size_t | sz | ||
) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void HL::RequireCoalesceable< SuperHeap >::markFree | ( | void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void HL::RequireCoalesceable< SuperHeap >::markInUse | ( | void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void HL::RequireCoalesceable< SuperHeap >::markMmapped | ( | void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void HL::RequireCoalesceable< SuperHeap >::markPrevInUse | ( | void * | ptr | ) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void HL::RequireCoalesceable< SuperHeap >::setHeap | ( | void * | ptr, |
int | h | ||
) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void HL::RequireCoalesceable< SuperHeap >::setPrevHeap | ( | void * | ptr, |
int | h | ||
) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void HL::RequireCoalesceable< SuperHeap >::setPrevSize | ( | void * | ptr, |
const size_t | sz | ||
) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.
static void HL::RequireCoalesceable< SuperHeap >::setSize | ( | void * | ptr, |
const size_t | sz | ||
) | [inline, static] |
Reimplementado en HL::RequireCoalesceable< SegHeap< DLBigHeapNS::NUMBINS, DLBigHeapNS::getSizeClass, DLBigHeapNS::getClassSize, AdaptHeap< DLList, NullHeap< CoalesceableHeap< Sbrk > > >, CoalesceableHeap< Sbrk > > > y HL::RequireCoalesceable< StrictSegHeap< DLSmallHeapNS::NUMBINS, DLSmallHeapNS::getSizeClass, DLSmallHeapNS::getClassSize, AdaptHeap< HL::SLList, NullHeap< DLBigHeapType< CoalesceableHeap< Sbrk > > > >, DLBigHeapType< CoalesceableHeap< Sbrk > > > >.