PatchworkOS  c9fea19
A non-POSIX operating system.
Loading...
Searching...
No Matches
map_t Struct Reference

Hash map structure. More...

#include <map.h>

Collaboration diagram for map_t:

Data Fields

map_entry_t ** entries
 
uint64_t capacity
 
uint64_t length
 
uint64_t tombstones
 

Detailed Description

Hash map structure.

The entries can be safely iterated over as an array as long sa the MAP_ENTRY_PTR_IS_VALID macro is used to check each entry before dereferencing it.

Definition at line 88 of file map.h.

Field Documentation

◆ entries

map_entry_t** map_t::entries

Definition at line 90 of file map.h.

◆ capacity

uint64_t map_t::capacity

Definition at line 91 of file map.h.

◆ length

uint64_t map_t::length

Definition at line 92 of file map.h.

◆ tombstones

uint64_t map_t::tombstones

Definition at line 93 of file map.h.


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