Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
testDynHash.C File Reference
#include <tpl_dynLhash.H>
#include <tpl_dynArray.H>
#include <iostream>
#include <string>
#include <ctime>
#include <cstdlib>
#include <cassert>
Include dependency graph for testDynHash.C:

Go to the source code of this file.

Macros

#define NumItems   10000
 

Typedefs

typedef DynLhashTable< unsigned, unsigned > HTable
 

Functions

static size_t hashFct (const unsigned &key)
 
static void testResize (HTable &table)
 
static void printPars (const HTable &table)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ NumItems

#define NumItems   10000

Definition at line 35 of file testDynHash.C.

Typedef Documentation

◆ HTable

typedef DynLhashTable<unsigned, unsigned> HTable

Definition at line 40 of file testDynHash.C.

Function Documentation

◆ hashFct()

static size_t hashFct ( const unsigned &  key)
static

Definition at line 42 of file testDynHash.C.

Referenced by main().

◆ main()

◆ printPars()

◆ testResize()