libsc  2.8.7
The SC library provides support for parallel scientific applications.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sc_hash Struct Reference

The sc_hash implements a hash table. More...

#include <sc_containers.h>

Collaboration diagram for sc_hash:
Collaboration graph
[legend]

Data Fields

size_t elem_count
 total number of objects contained
 
void * user_data
 User data passed to hash function.
 
sc_array_tslots
 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_tallocator
 Must allocate sc_link_t objects.
 

Detailed Description

The sc_hash implements a hash table.

It uses an array which has linked lists as elements.


The documentation for this struct was generated from the following file: