|
libcute 0.1
|
#include <hashmap.h>

Public Attributes | |
| cu_HashMap_Bucket * | buckets |
| size_t | capacity |
| size_t | length |
| cu_Layout | key_layout |
| cu_Layout | value_layout |
| cu_Allocator | allocator |
| cu_HashMap_HashFn | hash_fn |
| cu_HashMap_EqualsFn | equals_fn |
| uint32_t | seed |
Simple open addressing hashmap.
| cu_Allocator cu_HashMap::allocator |
backing allocator
| cu_HashMap_Bucket* cu_HashMap::buckets |
bucket array
| size_t cu_HashMap::capacity |
number of buckets
| cu_HashMap_EqualsFn cu_HashMap::equals_fn |
equality predicate
| cu_HashMap_HashFn cu_HashMap::hash_fn |
hashing function
| cu_Layout cu_HashMap::key_layout |
layout of the key
| size_t cu_HashMap::length |
number of elements
| uint32_t cu_HashMap::seed |
hash seed to randomize hashes
| cu_Layout cu_HashMap::value_layout |
layout of the value