SPRAAK
Data Fields
+ 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

§ size

unsigned int SprWlatHT1::size

size of the hash table array (a prime number)

§ fill_size

unsigned int SprWlatHT1::fill_size

number of elements in the hash table

§ hash2ndx

unsigned int* SprWlatHT1::hash2ndx

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

§ alloc_size

unsigned int SprWlatHT1::alloc_size

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

§ el_sz

unsigned int SprWlatHT1::el_sz

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

§ first_free

unsigned int SprWlatHT1::first_free

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

§ data_block

SprWlatHTDB** SprWlatHT1::data_block

the array of data blocks

§ allocated

int SprWlatHT1::allocated

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