Data Fields
tommy_hashtable_struct Struct Reference

Hashtable container type. More...

#include <tommyhashtbl.h>

Data Fields

tommy_hashtable_node ** bucket
 Hash buckets. More...
 
tommy_size_t bucket_max
 Number of buckets. More...
 
tommy_size_t bucket_mask
 Bit mask to access the buckets. More...
 
tommy_size_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

◆ bucket

tommy_hashtable_node** tommy_hashtable_struct::bucket

Hash buckets.

One list for each hash modulus.

◆ bucket_max

tommy_size_t tommy_hashtable_struct::bucket_max

Number of buckets.

◆ bucket_mask

tommy_size_t tommy_hashtable_struct::bucket_mask

Bit mask to access the buckets.

◆ count

tommy_size_t tommy_hashtable_struct::count

Number of elements.


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