MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
载入中...
搜索中...
未找到
Public 成员函数 | Private 成员函数 | Private 属性 | 所有成员列表
Arena类 参考

Public 成员函数

 Arena (const Arena &)=delete
 
Arenaoperator= (const Arena &)=delete
 
char * Allocate (size_t bytes)
 
char * AllocateAligned (size_t bytes)
 
size_t MemoryUsage () const
 

Private 成员函数

char * AllocateFallback (size_t bytes)
 
char * AllocateNewBlock (size_t block_bytes)
 

Private 属性

char * alloc_ptr_
 
size_t alloc_bytes_remaining_
 
std::vector< char * > blocks_
 
std::atomic< size_t > memory_usage_
 

该类的文档由以下文件生成: