Drizzled Public API Documentation

drizzled::memory Namespace Reference

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)

Detailed Description

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.