|
Eneboo - Documentación para desarrolladores
|
Contains all the classes required to approximate DLmalloc 2.7.0. Más...
#include <assert.h>#include "adapt.h"#include "dllist.h"#include "sllist.h"#include "coalesceableheap.h"Ir al código fuente de este archivo.
Clases | |
| class | HL::CoalesceableMmapHeap< Mmap > |
| class | HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super > |
| Use Mmap (here the superheap) for objects above a certain size. Más... | |
| class | HL::Threshold< ThresholdBytes, super > |
| class | HL::DLBigHeapType< super > |
| class | HL::DLSmallHeapType< super > |
| The "small heap" -- non-coalescing "fastbins" (quicklists). Más... | |
| class | HL::LeaHeap< Sbrk, Mmap > |
| This heap approximates the algorithms used by DLmalloc 2.7.0. Más... | |
Namespaces | |
| namespace | HL |
A thread-wrapper of childlike simplicity :). | |
| namespace | DLBigHeapNS |
All of the bins & size functions for the "big heap". | |
| namespace | HL::DLBigHeapNS |
| namespace | DLSmallHeapNS |
The size functions for the "small" heap (fastbins). | |
| namespace | HL::DLSmallHeapNS |
'defines' | |
| #define | TRUE 1 |
| #define | FALSE 0 |
Enumeraciones | |
| enum | { HL::DLBigHeapNS::NUMBINS = sizeof(bins) / sizeof(size_t) } |
| enum | { HL::DLBigHeapNS::BIG_OBJECT = 2147483648U } |
| enum | { HL::DLSmallHeapNS::NUMBINS = 8 } |
Funciones | |
| int | HL::DLBigHeapNS::log2 (const size_t sz) |
| Compute the log base two. | |
| int | HL::DLBigHeapNS::getSizeClass (const size_t sz) |
| size_t | HL::DLBigHeapNS::getClassSize (const int i) |
| int | HL::DLSmallHeapNS::getSizeClass (const size_t sz) |
| size_t | HL::DLSmallHeapNS::getClassSize (const int i) |
Variables | |
| const size_t | HL::DLBigHeapNS::bins [] |
Contains all the classes required to approximate DLmalloc 2.7.0.
| #define FALSE 0 |
| #define TRUE 1 |
1.7.4