#include <nlu.h>
shttl::nlu< key_type >に対する継承グラフ
Public 型 | |
typedef replacer< key_type >::size_type | size_type |
Public メソッド | |
void | construct (const size_type set_num, const size_type way_num) |
nlu () | |
size_type | size () |
size_type | target (const size_type index) |
void | touch (const size_type index, const size_type way, const key_type key) |
Protected 型 | |
typedef std::vector< bitmap_type > | bitmap_array_type |
typedef u32 | bitmap_type |
Protected メソッド | |
set | get_set (const size_type index) |
Protected 変数 | |
bitmap_array_type | m_bitmap |
size_type | m_index_num |
size_type | m_way_num |
構成 | |
class | set |
typedef std::vector<bitmap_type> shttl::nlu< key_type >::bitmap_array_type [protected] |
typedef u32 shttl::nlu< key_type >::bitmap_type [protected] |
shttl::nlu< key_type >::nlu | ( | ) | [inline] |
void shttl::nlu< key_type >::construct | ( | const size_type | set_num, | |
const size_type | way_num | |||
) | [inline] |
参照先 shttl::nlu< key_type >::m_bitmap・shttl::nlu< key_type >::m_index_num・shttl::nlu< key_type >::m_way_num.
00055 { 00056 if( std::numeric_limits<bitmap_type>().digits < (int)way_num ){ 00057 throw std::invalid_argument( 00058 "shttl::nlu_array() \n Specified way number is too large." 00059 ); 00060 } 00061 00062 m_way_num = way_num; 00063 m_index_num = set_num; 00064 m_bitmap.resize( m_index_num, 0 ); 00065 }
set shttl::nlu< key_type >::get_set | ( | const size_type | index | ) | [inline, protected] |
参照先 shttl::nlu< key_type >::m_bitmap・shttl::nlu< key_type >::m_way_num.
参照元 shttl::nlu< key_type >::target()・shttl::nlu< key_type >::touch().
Here is the caller graph for this function:
size_type shttl::nlu< key_type >::size | ( | ) | [inline] |
size_type shttl::nlu< key_type >::target | ( | const size_type | index | ) | [inline] |
void shttl::nlu< key_type >::touch | ( | const size_type | index, | |
const size_type | way, | |||
const key_type | key | |||
) | [inline] |
bitmap_array_type shttl::nlu< key_type >::m_bitmap [protected] |
size_type shttl::nlu< key_type >::m_index_num [protected] |
size_type shttl::nlu< key_type >::m_way_num [protected] |