
Public Types | |
| typedef hash_map< HashKey, Record > | table_t |
| typedef table_t::const_iterator | const_iterator |
Public Member Functions | |
| Table (size_t c) | |
| ~Table () | |
| void | clear () |
| size_t | size () const |
| Record * | find (const HashKey &key) |
| Record * | allocate (const HashKey &key) |
Public Attributes | |
| CArray< table_t, DIVSIZE > | tables |
| const size_t | capacity |
| icc のhash_map がcapacity を持っていなかった気がするので自分で持つ More... | |
| int | num_cache_hit |
| int | num_record_after_full |
Static Public Attributes | |
| static const unsigned int | DIVSIZE =1 |
Private Member Functions | |
| Record * | findInLock (const HashKey &key, int i) |
Static Private Member Functions | |
| static int | keyToIndex (const HashKey &key) |
Definition at line 17 of file generalSimpleHashTable.tcc.
| typedef table_t::const_iterator osl::container::GeneralSimpleHashTable< Record >::Table::const_iterator |
Definition at line 31 of file generalSimpleHashTable.tcc.
| typedef hash_map<HashKey, Record > osl::container::GeneralSimpleHashTable< Record >::Table::table_t |
Definition at line 30 of file generalSimpleHashTable.tcc.
|
inline |
Definition at line 51 of file generalSimpleHashTable.tcc.
References osl::eval::min().
|
inline |
Definition at line 59 of file generalSimpleHashTable.tcc.
|
inline |
Definition at line 120 of file generalSimpleHashTable.tcc.
References osl::container::GeneralSimpleHashTable< Record >::capacity(), result, SCOPED_LOCK, and osl::container::GeneralSimpleHashTable< Record >::size().
|
inline |
Definition at line 62 of file generalSimpleHashTable.tcc.
|
inline |
Definition at line 111 of file generalSimpleHashTable.tcc.
References SCOPED_LOCK.
|
inlineprivate |
Definition at line 78 of file generalSimpleHashTable.tcc.
References osl::container::GeneralSimpleHashTable< Record >::find().
|
inlinestaticprivate |
Definition at line 97 of file generalSimpleHashTable.tcc.
|
inline |
Definition at line 70 of file generalSimpleHashTable.tcc.
References osl::container::GeneralSimpleHashTable< Record >::size().
| const size_t osl::container::GeneralSimpleHashTable< Record >::Table::capacity |
icc のhash_map がcapacity を持っていなかった気がするので自分で持つ
Definition at line 48 of file generalSimpleHashTable.tcc.
|
static |
Definition at line 37 of file generalSimpleHashTable.tcc.
| int osl::container::GeneralSimpleHashTable< Record >::Table::num_cache_hit |
Definition at line 49 of file generalSimpleHashTable.tcc.
| int osl::container::GeneralSimpleHashTable< Record >::Table::num_record_after_full |
Definition at line 49 of file generalSimpleHashTable.tcc.
| CArray<table_t,DIVSIZE> osl::container::GeneralSimpleHashTable< Record >::Table::tables |
Definition at line 45 of file generalSimpleHashTable.tcc.
1.8.4