MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
a simple memory allocator. 更多...
#include <ob_arena.h>
Public 成员函数 | |
ObArena (const ObArena &)=delete | |
ObArena & | operator= (const ObArena &)=delete |
char * | alloc (size_t bytes) |
size_t | memory_usage () const |
Private 属性 | |
vector< char * > | blocks_ |
size_t | memory_usage_ |
a simple memory allocator.