|
libsc 2.8.7.187-a49fd
The SC library provides support for parallel scientific applications.
|
The sc_hash implements a hash table. More...
#include <sc_containers.h>

Data Fields | |
| size_t | elem_count |
| total number of objects contained | |
| void * | user_data |
| User data passed to hash function. | |
| sc_array_t * | slots |
| The slot count is slots->elem_count. | |
| sc_hash_function_t | hash_fn |
| Function called to compute the hash value. | |
| sc_equal_function_t | equal_fn |
| Function called to check objects for equality. | |
| size_t | resize_checks |
| Running count of resize checks. | |
| size_t | resize_actions |
| Running count of resize actions. | |
| int | allocator_owned |
| Boolean designating allocator ownership. | |
| sc_mempool_t * | allocator |
| Must allocate sc_link_t objects. | |
The sc_hash implements a hash table.
It uses an array which has linked lists as elements.