Data Fields
tommy_hashdyn_struct Struct Reference

Hashtable container type. More...

#include <tommyhashdyn.h>

Data Fields

tommy_hashdyn_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...
 
tommy_uint_t bucket_bit
 Bits used in the bit mask. More...
 

Detailed Description

Hashtable container type.

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

Field Documentation

◆ bucket

tommy_hashdyn_node** tommy_hashdyn_struct::bucket

Hash buckets.

One list for each hash modulus.

◆ bucket_max

tommy_size_t tommy_hashdyn_struct::bucket_max

Number of buckets.

◆ bucket_mask

tommy_size_t tommy_hashdyn_struct::bucket_mask

Bit mask to access the buckets.

◆ count

tommy_size_t tommy_hashdyn_struct::count

Number of elements.

◆ bucket_bit

tommy_uint_t tommy_hashdyn_struct::bucket_bit

Bits used in the bit mask.


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