#include <static_off_hasher.h>
shttl::static_off_hasher< T, OFFSET >に対する継承グラフ
Public 型 | |
typedef hasher< T > | base_type |
typedef base_type::size_type | size_type |
typedef static_off_hasher< T, OFFSET > | this_type |
typedef T | value_type |
Public メソッド | |
size_type | idx_bit () const |
value_type | idx_mask () const |
size_type | index (const T &t) const |
bool | match (const T &lhs, const T &rhs) const |
size_type | off_bit () const |
u64 | off_mask () const |
value_type | rebuild (const value_type &tag, size_type index) const |
size_type | size () const |
static_off_hasher (const size_type index_bit_size) | |
T | tag (const T &t) const |
Static Public 変数 | |
static const std::numeric_limits< value_type > | value_info |
Protected 変数 | |
size_type | m_idx_bit |
value_type | m_idx_mask |
static_off_hasher.h の 45 行で定義されています。
typedef hasher<T> shttl::static_off_hasher< T, OFFSET >::base_type |
static_off_hasher.h の 50 行で定義されています。
typedef base_type::size_type shttl::static_off_hasher< T, OFFSET >::size_type |
typedef static_off_hasher<T, OFFSET> shttl::static_off_hasher< T, OFFSET >::this_type |
static_off_hasher.h の 49 行で定義されています。
typedef T shttl::static_off_hasher< T, OFFSET >::value_type |
static_off_hasher.h の 53 行で定義されています。
shttl::static_off_hasher< T, OFFSET >::static_off_hasher | ( | const size_type | index_bit_size | ) | [inline, explicit] |
static_off_hasher.h の 70 行で定義されています。
参照先 shttl::static_off_hasher< T, OFFSET >::idx_bit()・shttl::static_off_hasher< T, OFFSET >::off_bit()・shttl::static_off_hasher< T, OFFSET >::value_info.
00070 : 00071 m_idx_bit ( index_bit_size ), 00072 m_idx_mask( (value_type)shttl::mask(0, index_bit_size) ) 00073 { 00074 if( (/*idx_bit() < 0 || */(size_type)value_info.digits < idx_bit()) || 00075 (/*off_bit() < 0 || */(size_type)value_info.digits < off_bit()) || 00076 ( (size_type)value_info.digits < idx_bit() + off_bit() ) 00077 ){ 00078 throw std::invalid_argument("static_off_hasher::static_off_hasher"); 00079 } 00080 }
関数の呼び出しグラフ:
size_type shttl::static_off_hasher< T, OFFSET >::idx_bit | ( | ) | const [inline] |
static_off_hasher.h の 58 行で定義されています。
参照先 shttl::static_off_hasher< T, OFFSET >::m_idx_bit.
参照元 shttl::static_off_hasher< T, OFFSET >::rebuild()・shttl::static_off_hasher< T, OFFSET >::static_off_hasher()・shttl::static_off_hasher< T, OFFSET >::tag().
00058 { return m_idx_bit; }
Here is the caller graph for this function:
value_type shttl::static_off_hasher< T, OFFSET >::idx_mask | ( | ) | const [inline] |
static_off_hasher.h の 59 行で定義されています。
参照先 shttl::static_off_hasher< T, OFFSET >::m_idx_mask.
参照元 shttl::static_off_hasher< T, OFFSET >::index()・shttl::double_hasher< T, OFFSET, U >::index()・shttl::double_hasher< T, OFFSET, U >::match()・shttl::static_off_hasher< T, OFFSET >::size().
00059 { return m_idx_mask; }
Here is the caller graph for this function:
size_type shttl::static_off_hasher< T, OFFSET >::index | ( | const T & | t | ) | const [inline, virtual] |
shttl::hasher< T >を実装しています。
static_off_hasher.h の 84 行で定義されています。
参照先 shttl::static_off_hasher< T, OFFSET >::idx_mask()・shttl::static_off_hasher< T, OFFSET >::off_bit().
関数の呼び出しグラフ:
bool shttl::static_off_hasher< T, OFFSET >::match | ( | const T & | lhs, | |
const T & | rhs | |||
) | const [inline, virtual] |
shttl::hasher< T >を実装しています。
static_off_hasher.h の 101 行で定義されています。
参照先 shttl::static_off_hasher< T, OFFSET >::off_mask().
参照元 shttl::double_hasher< T, OFFSET, U >::match().
関数の呼び出しグラフ:
Here is the caller graph for this function:
size_type shttl::static_off_hasher< T, OFFSET >::off_bit | ( | ) | const [inline] |
static_off_hasher.h の 60 行で定義されています。
参照元 shttl::static_off_hasher< T, OFFSET >::index()・shttl::static_off_hasher< T, OFFSET >::rebuild()・shttl::static_off_hasher< T, OFFSET >::static_off_hasher()・shttl::static_off_hasher< T, OFFSET >::tag().
Here is the caller graph for this function:
u64 shttl::static_off_hasher< T, OFFSET >::off_mask | ( | ) | const [inline] |
static_off_hasher.h の 61 行で定義されています。
参照元 shttl::static_off_hasher< T, OFFSET >::match().
Here is the caller graph for this function:
value_type shttl::static_off_hasher< T, OFFSET >::rebuild | ( | const value_type & | tag, | |
size_type | index | |||
) | const [inline] |
static_off_hasher.h の 94 行で定義されています。
参照先 shttl::static_off_hasher< T, OFFSET >::idx_bit()・shttl::static_off_hasher< T, OFFSET >::off_bit().
参照元 shttl::double_hasher< T, OFFSET, U >::rebuild().
00095 { 00096 return (value_type)( 00097 ((tag << idx_bit()) | index) << off_bit() 00098 ); 00099 }
関数の呼び出しグラフ:
Here is the caller graph for this function:
size_type shttl::static_off_hasher< T, OFFSET >::size | ( | ) | const [inline, virtual] |
shttl::hasher< T >を実装しています。
static_off_hasher.h の 64 行で定義されています。
参照先 shttl::static_off_hasher< T, OFFSET >::idx_mask().
参照元 shttl::double_hasher< T, OFFSET, U >::size().
関数の呼び出しグラフ:
Here is the caller graph for this function:
T shttl::static_off_hasher< T, OFFSET >::tag | ( | const T & | t | ) | const [inline, virtual] |
shttl::hasher< T >を実装しています。
static_off_hasher.h の 89 行で定義されています。
参照先 shttl::static_off_hasher< T, OFFSET >::idx_bit()・shttl::static_off_hasher< T, OFFSET >::off_bit().
参照元 shttl::double_hasher< T, OFFSET, U >::tag().
関数の呼び出しグラフ:
Here is the caller graph for this function:
size_type shttl::static_off_hasher< T, OFFSET >::m_idx_bit [protected] |
value_type shttl::static_off_hasher< T, OFFSET >::m_idx_mask [protected] |
const std::numeric_limits<value_type> shttl::static_off_hasher< T, OFFSET >::value_info [static] |
static_off_hasher.h の 55 行で定義されています。
参照元 shttl::static_off_hasher< T, OFFSET >::static_off_hasher().