Function hashmap_meta_space

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