|
drizzle
C++ MySQL-protocol-compatible database server
|
Classes | |
| class | Root |
| class | SqlAlloc |
Functions | |
| void * | multi_malloc (bool zerofill,...) |
| void * | sql_alloc (size_t Size) |
| void * | sql_calloc (size_t size) |
| char * | sql_strdup (const char *str) |
| char * | sql_strdup (str_ref str) |
| void * | sql_memdup (const void *ptr, size_t len) |
Variables | |
| static const unsigned int | MAX_BLOCK_TO_DROP = 4096 |
| static const unsigned int | MAX_BLOCK_USAGE_BEFORE_DROP = 10 |
| static const int | KEEP_PREALLOC = 1 |
| static const int | MARK_BLOCKS_FREE = 2 |
| static const size_t | ROOT_MIN_BLOCK_SIZE = (MALLOC_OVERHEAD + sizeof(internal::UsedMemory) + 8) |
Memory allocation utils
NB: This namespace documentation may not seem very useful, but without a comment on the namespace Doxygen won't extract any documentation for namespace members.
| void * drizzled::memory::multi_malloc | ( | bool | zerofill, |
| ... ) |
Definition at line 43 of file multi_malloc.cc.
| void * drizzled::memory::sql_alloc | ( | size_t | Size | ) |
Definition at line 33 of file sql_alloc.cc.
| void * drizzled::memory::sql_calloc | ( | size_t | size | ) |
Definition at line 38 of file sql_alloc.cc.
| void * drizzled::memory::sql_memdup | ( | const void * | ptr, |
| size_t | len ) |
Definition at line 53 of file sql_alloc.cc.
| char * drizzled::memory::sql_strdup | ( | const char * | str | ) |
Definition at line 43 of file sql_alloc.cc.
| char * drizzled::memory::sql_strdup | ( | str_ref | str | ) |
Definition at line 48 of file sql_alloc.cc.
|
static |
|
static |
|
static |