クラス テンプレート TCMalloc_PageMap2< BITS >

#include <pagemap.h>

TCMalloc_PageMap2< BITS >のコラボレーション図

Collaboration graph
[凡例]

すべてのメンバ一覧

Public 型

typedef uintptr_t Number
typedef uintptr_t Number

Public メソッド

 TCMalloc_PageMap2 (void *(*allocator)(size_t))
void * get (Number k) const
void set (Number k, void *v)
bool Ensure (Number start, size_t n)
void PreallocateMoreMemory ()
 TCMalloc_PageMap2 (void *(*allocator)(size_t))
void * get (Number k) const
void set (Number k, void *v)
bool Ensure (Number start, size_t n)
void PreallocateMoreMemory ()

Private 変数

Leafroot_ [ROOT_LENGTH]
void *(* allocator_ )(size_t)

Static Private 変数

static const int ROOT_BITS = 5
static const int ROOT_LENGTH = 1 << ROOT_BITS
static const int LEAF_BITS = BITS - ROOT_BITS
static const int LEAF_LENGTH = 1 << LEAF_BITS

構成

struct  Leaf


説明

template<int BITS>
class TCMalloc_PageMap2< BITS >

tcmalloc-0.8/pagemap.h101 行で定義されています。


型定義

template<int BITS>
typedef uintptr_t TCMalloc_PageMap2< BITS >::Number

tcmalloc-0.8/pagemap.h119 行で定義されています。

template<int BITS>
typedef uintptr_t TCMalloc_PageMap2< BITS >::Number

tcmalloc-0.93/pagemap.h119 行で定義されています。


コンストラクタとデストラクタ

template<int BITS>
TCMalloc_PageMap2< BITS >::TCMalloc_PageMap2 ( void *(*)(size_t)  allocator  )  [inline, explicit]

template<int BITS>
TCMalloc_PageMap2< BITS >::TCMalloc_PageMap2 ( void *(*)(size_t)  allocator  )  [inline, explicit]


関数

template<int BITS>
void* TCMalloc_PageMap2< BITS >::get ( Number  k  )  const [inline]

template<int BITS>
void TCMalloc_PageMap2< BITS >::set ( Number  k,
void *  v 
) [inline]

template<int BITS>
bool TCMalloc_PageMap2< BITS >::Ensure ( Number  start,
size_t  n 
) [inline]

template<int BITS>
void TCMalloc_PageMap2< BITS >::PreallocateMoreMemory (  )  [inline]

tcmalloc-0.8/pagemap.h158 行で定義されています。

参照先 TCMalloc_PageMap2< BITS >::Ensure().

template<int BITS>
void* TCMalloc_PageMap2< BITS >::get ( Number  k  )  const [inline]

template<int BITS>
void TCMalloc_PageMap2< BITS >::set ( Number  k,
void *  v 
) [inline]

template<int BITS>
bool TCMalloc_PageMap2< BITS >::Ensure ( Number  start,
size_t  n 
) [inline]

template<int BITS>
void TCMalloc_PageMap2< BITS >::PreallocateMoreMemory (  )  [inline]

tcmalloc-0.93/pagemap.h158 行で定義されています。

参照先 TCMalloc_PageMap2< BITS >::Ensure().


変数

template<int BITS>
static const int TCMalloc_PageMap2< BITS >::ROOT_BITS = 5 [static, private]

tcmalloc-0.8/pagemap.h104 行で定義されています。

template<int BITS>
static const int TCMalloc_PageMap2< BITS >::ROOT_LENGTH = 1 << ROOT_BITS [static, private]

tcmalloc-0.8/pagemap.h105 行で定義されています。

template<int BITS>
static const int TCMalloc_PageMap2< BITS >::LEAF_BITS = BITS - ROOT_BITS [static, private]

template<int BITS>
static const int TCMalloc_PageMap2< BITS >::LEAF_LENGTH = 1 << LEAF_BITS [static, private]

template<int BITS>
Leaf * TCMalloc_PageMap2< BITS >::root_ [private]

template<int BITS>
void *(* TCMalloc_PageMap2< BITS >::allocator_)(size_t) ( size_t   )  [private]


このクラスの説明は次のファイルから生成されました:

Thu Oct 8 05:01:14 2009に生成されました。  doxygen 1.5.6