libpulsar
A modular compiler for the pulsar programming language
Loading...
Searching...
No Matches
Data Structures | Data Fields
ps_hash_map Struct Reference

A hash map. More...

#include <hashmap.h>

Data Structures

struct  ps_hash_map_entry
 

Data Fields

u64 length
 Number of first-node entries.
 
u64 count
 Number of total entries: load factor = count / length.
 
is_equal_t is_equal
 
hasher_t hasher
 
free_fn_t free_fn
 
struct ps_hash_map::ps_hash_map_entry entries []
 

Detailed Description

A hash map.

Definition at line 18 of file hashmap.h.

Field Documentation

◆ count

u64 ps_hash_map::count

Number of total entries: load factor = count / length.

Definition at line 20 of file hashmap.h.

◆ entries

struct ps_hash_map::ps_hash_map_entry ps_hash_map::entries[]

◆ free_fn

free_fn_t ps_hash_map::free_fn
See also
free_fn_t

Definition at line 24 of file hashmap.h.

◆ hasher

hasher_t ps_hash_map::hasher
See also
hasher_t

Definition at line 23 of file hashmap.h.

◆ is_equal

is_equal_t ps_hash_map::is_equal
See also
is_equal_t

Definition at line 22 of file hashmap.h.

◆ length

u64 ps_hash_map::length

Number of first-node entries.

Definition at line 19 of file hashmap.h.


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