/vesta/vestasys.org/basics/generics/18/src/TestIntSharedTbl.C File Reference

#include <Basics.H>
#include "IntKey.H"
#include "SharedTable.H"

Include dependency graph for TestIntSharedTbl.C:

Go to the source code of this file.

Typedefs

typedef SharedTable< IntKey,
int >::KVPair 
IntIntPair
typedef SharedTable< IntKey,
int >::T 
IntIntSTbl
typedef SharedTable< IntKey,
int >::Iterator 
IntIntSIter

Functions

void RunTest (IntIntSTbl &tbl, Word numEntries) throw ()
int main ()

Variables

const Word Factor = 2
const Word MinEntries = 10
const Word MaxEntries = 170000


Typedef Documentation

typedef SharedTable<IntKey,int>::KVPair IntIntPair

Definition at line 34 of file TestIntSharedTbl.C.

typedef SharedTable<IntKey,int>::Iterator IntIntSIter

Definition at line 36 of file TestIntSharedTbl.C.

typedef SharedTable<IntKey,int>::T IntIntSTbl

Definition at line 35 of file TestIntSharedTbl.C.


Function Documentation

int main ( void   ) 

Definition at line 93 of file TestIntSharedTbl.C.

References Factor, FdCache::flush(), SharedTable< K, V >::T::Init(), MaxEntries, MinEntries, and RunTest().

Here is the call graph for this function:

void RunTest ( IntIntSTbl tbl,
Word  numEntries 
) throw ()

Definition at line 38 of file TestIntSharedTbl.C.

References NEW_CONSTR, NEW_PTRFREE_ARRAY, SharedTable< K, V >::Iterator::Next(), SharedTable< K, V >::Iterator::Reset(), and SharedTable< K, V >::KVPair::val.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const Word Factor = 2

Definition at line 30 of file TestIntSharedTbl.C.

Referenced by main().

const Word MaxEntries = 170000

Definition at line 32 of file TestIntSharedTbl.C.

Referenced by main().

const Word MinEntries = 10

Definition at line 31 of file TestIntSharedTbl.C.

Referenced by main().


Generated on Thu May 24 23:22:17 2007 for Vesta by  doxygen 1.5.1