#include <Alloc.h>
Public Types | |
| enum | { Ref_Undef = UINT32_MAX } |
| enum | { Unit_Size = sizeof(uint32_t) } |
| typedef uint32_t | Ref |
Public Member Functions | |
| RegionAllocator (uint32_t start_cap=1024 *1024) | |
| ~RegionAllocator () | |
| uint32_t | size () const |
| uint32_t | wasted () const |
| Ref | alloc (int size) |
| void | free_ (int size) |
| void | clear () |
| T & | operator[] (Ref r) |
| const T & | operator[] (Ref r) const |
| T * | lea (Ref r) |
| const T * | lea (Ref r) const |
| Ref | ael (const T *t) |
| void | moveTo (RegionAllocator &to) |
| typedef uint32_t Gluco::RegionAllocator< T >::Ref |
| anonymous enum |
|
inlineexplicit |
|
inline |
|
inline |
| RegionAllocator< T >::Ref Gluco::RegionAllocator< T >::alloc | ( | int | size | ) |
Definition at line 114 of file Alloc.h.


|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |