#include <config.h>#include <assert.h>#include <boost/static_assert.hpp>#include "oom.h"Go to the source code of this file.
Namespaces | |
| namespace | hudson |
| namespace | hudson::SMP_details |
| namespace | hudson::SmallMemoryPool |
Classes | |
| class | hudson::SMP_details::Pool< nwords, true > |
| struct | hudson::SMP_details::Pool< nwords, true >::freenode |
| class | hudson::SMP_details::Pool< nwords, false > |
| struct | hudson::SmallMemoryItem< Derived > |
Defines | |
| #define | attrib_malloc |
| #define | BYTES_TO_WORDS(bytes) |
| #define | unused(sym) sym |
Enumerations | |
| enum | { hudson::SMP_details::SMALL = 20 } |
| enum | { hudson::SMP_details::BLOCK_SIZE = 1<<20 } |
Functions | |
| void * | hudson::SmallMemoryPool::allocate_n (size_t sz) attrib_malloc |
| void | hudson::SmallMemoryPool::deallocate_n (void *v, size_t sz) |
|
|
|
|
|
Value: (( (bytes) < sizeof(void*) ) ? 1 : \ ((((bytes)-1) / sizeof(void*)) + 1)) |
|
|
|
1.4.6