MOS Source Code
Loading...
Searching...
No Matches
hashmap_t Struct Reference

#include <hashmap.hpp>

Collaboration diagram for hashmap_t:

Public Attributes

s32 magic
hashmap_entry_t ** entries
size_t capacity
size_t size
hashmap_hash_t hash_func
hashmap_key_compare_t key_compare_func
spinlock_t lock

Detailed Description

Definition at line 24 of file hashmap.hpp.

Member Data Documentation

◆ magic

◆ entries

◆ capacity

◆ size

◆ hash_func

◆ key_compare_func

◆ lock

spinlock_t lock

Definition at line 32 of file hashmap.hpp.

Referenced by hashmap_deinit(), hashmap_get(), hashmap_put(), and hashmap_remove().


The documentation for this struct was generated from the following file:
  • kernel/include/private/mos/lib/structures/hashmap.hpp