|
| dbuf_guard (dbuf_pool *dbuf, size_t capacity=500) |
|
| dbuf_guard (size_t nblock=2, size_t capacity=500) |
|
| ~dbuf_guard () |
|
bool | dbuf_reset (size_t reserve=0) |
|
void * | dbuf_alloc (size_t len) |
|
void * | dbuf_calloc (size_t len) |
|
char * | dbuf_strdup (const char *s) |
|
char * | dbuf_strndup (const char *s, size_t len) |
|
void * | dbuf_memdup (const void *addr, size_t len) |
|
bool | dbuf_free (const void *addr) |
|
bool | dbuf_keep (const void *addr) |
|
bool | dbuf_unkeep (const void *addr) |
|
acl::dbuf_pool & | get_dbuf () const |
|
int | push_back (dbuf_obj *obj) |
|
size_t | size () const |
|
dbuf_obj * | operator[] (size_t pos) const |
|
dbuf_obj * | get (size_t pos) const |
|
void | set_increment (size_t incr) |
|
template<typename T > |
T * | create () |
|
template<typename T , typename P1 > |
T * | create (P1 p) |
|
template<typename T , typename P1 , typename P2 > |
T * | create (P1 p1, P2 p2) |
|
template<typename T , typename P1 , typename P2 , typename P3 > |
T * | create (P1 p1, P2 p2, P3 p3) |
|
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 > |
T * | create (P1 p1, P2 p2, P3 p3, P4 p4) |
|
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 > |
T * | create (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) |
|
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 > |
T * | create (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) |
|
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 > |
T * | create (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7) |
|
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 > |
T * | create (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8) |
|
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 > |
T * | create (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9) |
|
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 > |
T * | create (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9, P10 p10) |
|
会话内存池管理器,由该类对象管理 dbuf_pool 对象及在其上分配的对象,当该类 对象销毁时,dbuf_pool 对象及在上面均被释放。
在文件 dbuf_pool.hpp 第 210 行定义.