SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
SprWlatHT1 Struct Reference
+ Collaboration diagram for SprWlatHT1:

Data Fields

unsigned int size
 size of the hash table array (a prime number) More...
 
unsigned int fill_size
 number of elements in the hash table More...
 
unsigned int * hash2ndx
 
unsigned int alloc_size
 
unsigned int el_sz
 size (in bytes) of an element (including pointers, ...) More...
 
unsigned int first_free
 
SprWlatHTDB ** data_block
 the array of data blocks More...
 
int allocated
 

Field Documentation

unsigned int SprWlatHT1::size

size of the hash table array (a prime number)

unsigned int SprWlatHT1::fill_size

number of elements in the hash table

unsigned int* SprWlatHT1::hash2ndx

convert the hash entry to the first hash table element index (~0u == empty)

unsigned int SprWlatHT1::alloc_size

number of hash table elements allocated, equals 256 * number of data blocks

unsigned int SprWlatHT1::el_sz

size (in bytes) of an element (including pointers, ...)

unsigned int SprWlatHT1::first_free

first hash data block with one or more free elements (~0u == nothing free)

SprWlatHTDB** SprWlatHT1::data_block

the array of data blocks

int SprWlatHT1::allocated

flag indicating whether this structure (WlatHT) is allocated or not