#include <SharedTable.H>
Inheritance diagram for SharedTable< K, V >::T:
Public Member Functions | |
T (Bit32 sizeHint=0) throw () | |
T (const T *tbl) throw () | |
void | Init (Bit32 sizeHint=0U) throw () |
T & | operator= (const T &tbl) throw () |
int | Size () const throw () |
bool | Get (const K &k, KVPairPtr &pr) const throw () |
bool | Put (KVPairPtr pr, bool resize=true) throw () |
bool | Put (const K &k, const V &v, KVPairPtr &pr, bool resize=true) throw () |
void | Copy (const T *tbl, bool resize=true) throw () |
bool | Delete (const K &k, KVPairPtr &pr, bool resize=true) throw () |
void | Resize () throw () |
Private Types | |
typedef MultiBucket * | MultiBucketPtr |
Private Member Functions | |
void | NewBuckets (bool allocBuckets) throw () |
void | AllocBuckets (Bit32 numBuckets) throw () |
void | EmptyBuckets (Bit32 numBuckets) throw () |
void | Rehash (Bit16 logBuckets) throw () |
Bit32 | BucketNum (const K &k) const throw () |
KVPair * | InitBucket (KVPair *elt0, KVPair *elt1) throw () |
KVPair * | GrowBucket (MultiBucketPtr &mb, KVPairPtr *&elt) throw () |
bool | PutPrivate (KVPairPtr pr) throw () |
T (const T &) | |
Static Private Member Functions | |
static unsigned int | MultiBucketSlots () throw () |
Private Attributes | |
Bit32 | numEntries |
Bit32 | minEntries |
Bit32 | maxEntries |
Bit16 | logBuckets |
Bit16 | minLogBuckets |
KVPairPtr * | buckets |
Friends | |
class | Iterator |
Classes | |
class | MultiBucket |
|
Definition at line 146 of file SharedTable.H. |
|
Definition at line 69 of file SharedTable.H. References SharedTable< K, V >::T::Init(). |
|
Definition at line 74 of file SharedTable.H. References SharedTable< K, V >::T::Copy(), and SharedTable< K, V >::T::Init(). |
|
|
|
Definition at line 318 of file SharedTable.H. References NEW_ARRAY. |
|
Definition at line 334 of file SharedTable.H. |
|
Definition at line 269 of file SharedTable.H. References SharedTable< K, V >::Iterator::Next(). Referenced by DepPathTbl::DPS::Merge(), SharedTable< K, V >::T::operator=(), and SharedTable< K, V >::T::T(). |
|
Definition at line 625 of file SharedTable.H. References SharedTable< K, V >::KVPair::key. Referenced by NamesTagsPickle(), and PromoteCommonPaths(). |
|
Definition at line 326 of file SharedTable.H. |
|
Definition at line 450 of file SharedTable.H. References SharedTable< K, V >::KVPair::key. Referenced by DepPathTbl::DPS::Member(). |
|
Definition at line 363 of file SharedTable.H. References Ceiling, SharedTable< K, V >::T::MultiBucket::len, NEW_ARRAY, and SharedTable< K, V >::T::MultiBucket::num. |
|
Definition at line 284 of file SharedTable.H. References Ceiling, Log_2(), and max(). Referenced by SharedTable< K, V >::T::operator=(), and SharedTable< K, V >::T::T(). |
|
Definition at line 341 of file SharedTable.H. References SharedTable< K, V >::T::MultiBucket::len, NEW_ARRAY, and SharedTable< K, V >::T::MultiBucket::num. |
|
Definition at line 148 of file SharedTable.H. Referenced by SharedTable< K, V >::Iterator::Next(). |
|
Definition at line 302 of file SharedTable.H. References Round. |
|
Definition at line 84 of file SharedTable.H. References SharedTable< K, V >::T::Copy(), and SharedTable< K, V >::T::Init(). |
|
Definition at line 556 of file SharedTable.H. References SharedTable< K, V >::KVPair::key, SharedTable< K, V >::T::MultiBucket::len, NEW_CONSTR, and SharedTable< K, V >::T::MultiBucket::num. |
|
|
Definition at line 480 of file SharedTable.H. References SharedTable< K, V >::KVPair::key, SharedTable< K, V >::T::MultiBucket::len, and SharedTable< K, V >::T::MultiBucket::num. |
|
Definition at line 393 of file SharedTable.H. Referenced by SharedTable< K, V >::T::Resize(). |
|
Definition at line 436 of file SharedTable.H. References SharedTable< K, V >::T::Rehash(). Referenced by NamesTagsPickle(), and PromoteCommonPaths(). |
|
Definition at line 88 of file SharedTable.H. References SharedTable< K, V >::T::numEntries. Referenced by CanonicalDpnd(), CollectAllDpnd(), CollectDpnd(), CollectFunc(), CollectLet(), DeleteDuplicatePaths(), DeleteDuplicatePathsInner(), MergeArgsDpnd(), ValC::MergeDPS(), ValC::MergeLenDPS(), ModelCutOff(), NamesTagsPickle(), PickleC::PickleDPS(), ValC::SizeOfDPS(), and ValueDpnd(). |
|
Definition at line 203 of file SharedTable.H. |
|
Definition at line 131 of file SharedTable.H. Referenced by SharedTable< K, V >::Iterator::Next(). |
|
Definition at line 129 of file SharedTable.H. Referenced by SharedTable< K, V >::Iterator::Next(). |
|
Definition at line 128 of file SharedTable.H. |
|
Definition at line 127 of file SharedTable.H. |
|
Definition at line 130 of file SharedTable.H. |
|
Definition at line 126 of file SharedTable.H. Referenced by SharedTable< K, V >::T::Size(). |