#include <ckhashtable.h>
Public Member Functions | |
CkHashtableTslow (int initLen=5, float NloadFactor=0.5, CkHashFunction Nhash=CkHashFunction_default, CkHashCompare Ncompare=CkHashCompare_default) | |
OBJ & | put (const KEY &key, int *existing=NULL) |
OBJ | get (const KEY &key) const |
OBJ & | getRef (const KEY &key) |
void | remove (const KEY &key) |
Static Private Member Functions | |
static CkHashtableLayout | getLayout (void) |
Via the magic of function inlining, this comes at zero time and space cost over the unsafe version.
The unsafe version exists to avoid the code bloat associated with profligate use of templates; because the typeless layer handles the difficult parts, this templated class is very cheap.
Definition at line 307 of file ckhashtable.h.
CkHashtableTslow< KEY, OBJ >::CkHashtableTslow | ( | int | initLen = 5 , |
|
float | NloadFactor = 0.5 , |
|||
CkHashFunction | Nhash = CkHashFunction_default , |
|||
CkHashCompare | Ncompare = CkHashCompare_default | |||
) | [inline] |
Definition at line 329 of file ckhashtable.h.
static CkHashtableLayout CkHashtableTslow< KEY, OBJ >::getLayout | ( | void | ) | [inline, static, private] |
Definition at line 309 of file ckhashtable.h.
OBJ& CkHashtableTslow< KEY, OBJ >::put | ( | const KEY & | key, | |
int * | existing = NULL | |||
) | [inline] |
Definition at line 336 of file ckhashtable.h.
Referenced by LV3D_Universe_Table::add(), IDXL_Map::add(), CollisionAggregator::addAccum(), addIDXLists(), CkCacheArrayCounter::addLocation(), ChareMlogData::checkAndStoreSsn(), FEM_Coarsen_Operation(), FEM_REFINE2D_Coarsen(), FEM_REFINE2D_Split(), FEM_Refine_Operation(), LV3D0_Manager::getClient(), ParFUMShadowArray::lockRegion(), ParFUMShadowArray::lockRegionForRemote(), makeGhosts(), ChareMlogData::next_ticket(), ChareMlogData::nextSN(), populateDeterminantTable(), CkHashtableT< intdual, int >::pup(), ChareMlogData::pup(), PUP::able::register_constructor(), and ChareMlogData::verifyTicket().
OBJ CkHashtableTslow< KEY, OBJ >::get | ( | const KEY & | key | ) | const [inline] |
OBJ& CkHashtableTslow< KEY, OBJ >::getRef | ( | const KEY & | key | ) | [inline] |
void CkHashtableTslow< KEY, OBJ >::remove | ( | const KEY & | key | ) | [inline] |
Definition at line 349 of file ckhashtable.h.
Referenced by FEM_Coarsen_Operation(), FEM_REFINE2D_Split(), FEM_Refine_Operation(), ParFUMShadowArray::lockRegion(), ParFUMShadowArray::unlockForRemote(), ParFUMShadowArray::unlockRegion(), ParFUMShadowArray::unpendForRemote(), and ParFUMShadowArray::unpendRegion().