Function hashmap_meta_space
Defined in File hashmap.h
Function Documentation
-
static inline size_t hashmap_meta_space(size_t n_buckets)
Calculate the space needed for the nodes in the hashmap.
Used in conjunction with RCSW_NOALLOC_META.
- Parameters:
n_buckets – # of desired buckets in the hashmap
- Returns:
The # of bytes required