Data Fields
tommy_hashtable_struct Struct Reference

Hashtable container type. More...

Data Fields

tommy_hashtable_node ** bucket
 Hash buckets. More...
 
tommy_count_t bucket_max
 Number of buckets. More...
 
tommy_count_t bucket_mask
 Bit mask to access the buckets. More...
 
tommy_count_t count
 Number of elements. More...
 

Detailed Description

Hashtable container type.

Note
Don't use internal fields directly, but access the container only using functions.

Field Documentation

tommy_hashtable_node** tommy_hashtable_struct::bucket

Hash buckets.

One list for each hash modulus.

tommy_count_t tommy_hashtable_struct::bucket_max

Number of buckets.

tommy_count_t tommy_hashtable_struct::bucket_mask

Bit mask to access the buckets.

tommy_count_t tommy_hashtable_struct::count

Number of elements.


The documentation for this struct was generated from the following file: