List of all members.
Public Member Functions |
|
| Allocator (int nblocks, T def=T()) |
|
void | init (int nblocks) |
|
T * | alloc () |
|
void | dealloc (T *value) |
Static Public Member Functions |
|
static void | doDealloc (void *thisptr, void *blockPtr_, void *blockVar_) |
|
static void | doDeallocAll (void *thisptr, void *blocksPtr_, void *numBlocks_) |
Public Attributes |
|
T | def |
|
T * | blocks |
|
int * | free |
|
int | nfree |
|
int | highestAlloc |
|
int | nallocs |
|
int | ndeallocs |
|
ML::Spinlock | lock |
Detailed Description
template<typename T>
struct Allocator< T >
Definition at line 262 of file gc_test.cc.
The documentation for this struct was generated from the following file: