Hoard::HoardSuperblock< LockType, SuperblockSize, HeapType > Class Template Reference
#include <hoardsuperblock.h>
List of all members.
template<class LockType, int SuperblockSize, typename HeapType>
class Hoard::HoardSuperblock< LockType, SuperblockSize, HeapType >
Member Typedef Documentation
template<class LockType, int SuperblockSize, typename HeapType>
Member Enumeration Documentation
template<class LockType, int SuperblockSize, typename HeapType>
Constructor & Destructor Documentation
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
Member Function Documentation
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
INLINE int Hoard::HoardSuperblock< LockType, SuperblockSize, HeapType >::getObjectsFree |
( |
void |
|
) |
const [inline] |
Return the number of free objects in this superblock.
template<class LockType, int SuperblockSize, typename HeapType>
INLINE size_t Hoard::HoardSuperblock< LockType, SuperblockSize, HeapType >::getObjectSize |
( |
void |
|
) |
const [inline] |
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
INLINE size_t Hoard::HoardSuperblock< LockType, SuperblockSize, HeapType >::getSize |
( |
void * |
ptr |
) |
const [inline] |
template<class LockType, int SuperblockSize, typename HeapType>
Find the start of the superblock by bitmasking.
- Note:
- All superblocks must be naturally aligned, and powers of two.
template<class LockType, int SuperblockSize, typename HeapType>
INLINE int Hoard::HoardSuperblock< LockType, SuperblockSize, HeapType >::getTotalObjects |
( |
void |
|
) |
const [inline] |
template<class LockType, int SuperblockSize, typename HeapType>
INLINE bool Hoard::HoardSuperblock< LockType, SuperblockSize, HeapType >::inRange |
( |
void * |
ptr |
) |
const [inline] |
template<class LockType, int SuperblockSize, typename HeapType>
INLINE bool Hoard::HoardSuperblock< LockType, SuperblockSize, HeapType >::isValidSuperblock |
( |
void |
|
) |
const [inline] |
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
MALLOC_FUNCTION INLINE void* Hoard::HoardSuperblock< LockType, SuperblockSize, HeapType >::malloc |
( |
size_t |
sz |
) |
[inline] |
template<class LockType, int SuperblockSize, typename HeapType>
INLINE void* Hoard::HoardSuperblock< LockType, SuperblockSize, HeapType >::normalize |
( |
void * |
ptr |
) |
const [inline] |
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
template<class LockType, int SuperblockSize, typename HeapType>
Member Data Documentation
template<class LockType, int SuperblockSize, typename HeapType>
The actual buffer. MUST immediately follow the header!
template<class LockType, int SuperblockSize, typename HeapType>
The documentation for this class was generated from the following file: