Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

CK_RHS_HASH - Man Page

invoke hash function with hash set seed

Library

Concurrency Kit (libck, -lck)

Synopsis

#include <ck_rhs.h>

unsigned long
CK_RHS_HASH(ck_rhs_t *hs, ck_rhs_hash_cb_t *hf, const void *key);

Description

The CK_RHS_HASH(3) macro will invoke the hash function pointed to by the hf argument with the seed value associated with hs and the key pointer specified by the key argument.

Return Values

This function will return the value returned by the hf function.

Errors

It is expected hs was previously initialized via ck_rhs_init(3).

See Also

ck_rhs_init(3), ck_rhs_destroy(3), ck_rhs_iterator_init(3), ck_rhs_next(3), ck_rhs_get(3), ck_rhs_put(3), ck_rhs_set(3), ck_rhs_remove(3), ck_rhs_grow(3), ck_rhs_count(3), ck_rhs_reset(3), ck_rhs_stat(3)

Additional information available at http://concurrencykit.org/

Referenced By

ck_rhs_apply(3), ck_rhs_count(3), ck_rhs_destroy(3), ck_rhs_fas(3), ck_rhs_gc(3), ck_rhs_get(3), ck_rhs_grow(3), ck_rhs_init(3), ck_rhs_iterator_init(3), ck_rhs_move(3), ck_rhs_next(3), ck_rhs_put(3), ck_rhs_put_unique(3), ck_rhs_rebuild(3), ck_rhs_remove(3), ck_rhs_reset(3), ck_rhs_reset_size(3), ck_rhs_set(3), ck_rhs_stat(3).

March 28, 2012