NetSurf
Data Fields
hashmap_s Struct Reference

The content of a hashmap. More...

Collaboration diagram for hashmap_s:
[legend]

Data Fields

hashmap_parameters_tparams
 The parameters to be used for this hashmap. More...
 
hashmap_entry_t ** buckets
 The buckets for the hash chains. More...
 
uint32_t bucket_count
 The number of buckets in this map. More...
 
size_t entry_count
 The number of entries in this map. More...
 

Detailed Description

The content of a hashmap.

Definition at line 43 of file hashmap.c.

Field Documentation

◆ bucket_count

uint32_t hashmap_s::bucket_count

The number of buckets in this map.

Definition at line 57 of file hashmap.c.

Referenced by hashmap_create(), hashmap_destroy(), hashmap_insert(), hashmap_iterate(), hashmap_lookup(), and hashmap_remove().

◆ buckets

hashmap_entry_t** hashmap_s::buckets

The buckets for the hash chains.

Definition at line 52 of file hashmap.c.

Referenced by hashmap_create(), hashmap_destroy(), hashmap_insert(), hashmap_iterate(), hashmap_lookup(), and hashmap_remove().

◆ entry_count

size_t hashmap_s::entry_count

The number of entries in this map.

Definition at line 62 of file hashmap.c.

Referenced by hashmap_count(), hashmap_create(), hashmap_insert(), and hashmap_remove().

◆ params

hashmap_parameters_t* hashmap_s::params

The parameters to be used for this hashmap.

Definition at line 47 of file hashmap.c.

Referenced by hashmap_create(), hashmap_destroy(), hashmap_insert(), hashmap_lookup(), and hashmap_remove().


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