0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Public Attributes | List of all members
Hypertable::PageArena< CharT, PageAllocatorT >::TinyBuffer Struct Reference

A small buffer (128 bytes) to satisfy very small memory allocations without allocating a page from the heap. More...

Public Types

enum  { SIZE = 128 }
 

Public Member Functions

 TinyBuffer ()
 
CharT * alloc (size_t sz)
 

Public Attributes

CharT base [SIZE]
 
size_t fill
 

Detailed Description

template<typename CharT = char, class PageAllocatorT = DefaultPageAllocator>
struct Hypertable::PageArena< CharT, PageAllocatorT >::TinyBuffer

A small buffer (128 bytes) to satisfy very small memory allocations without allocating a page from the heap.

Definition at line 128 of file PageArena.h.

Constructor & Destructor Documentation

template<typename CharT = char, class PageAllocatorT = DefaultPageAllocator>
Hypertable::PageArena< CharT, PageAllocatorT >::TinyBuffer::TinyBuffer ( )
inline

Definition at line 132 of file PageArena.h.

Member Function Documentation

template<typename CharT = char, class PageAllocatorT = DefaultPageAllocator>
CharT* Hypertable::PageArena< CharT, PageAllocatorT >::TinyBuffer::alloc ( size_t  sz)
inline

Definition at line 133 of file PageArena.h.

Member Data Documentation

template<typename CharT = char, class PageAllocatorT = DefaultPageAllocator>
CharT Hypertable::PageArena< CharT, PageAllocatorT >::TinyBuffer::base[SIZE]

Definition at line 130 of file PageArena.h.

template<typename CharT = char, class PageAllocatorT = DefaultPageAllocator>
size_t Hypertable::PageArena< CharT, PageAllocatorT >::TinyBuffer::fill

Definition at line 131 of file PageArena.h.


The documentation for this struct was generated from the following file: