atomshashtable.c
Include dependency graph for atomshashtable.c:
Defines
-
SMP_RDLOCK(htable) smp_rwlock_rdlock(htable->lock)
-
SMP_WRLOCK(htable) smp_rwlock_wrlock(htable->lock)
-
SMP_UNLOCK(htable) smp_rwlock_unlock(htable->lock)
-
DEFAULT_SIZE 8
Functions
-
static unsigned long sdbm_hash(const unsigned char *str, int len)
-
struct AtomsHashTable *atomshashtable_new()
-
int atomshashtable_insert(struct AtomsHashTable *hash_table, AtomString string, unsigned long value)
-
unsigned long atomshashtable_get_value(const struct AtomsHashTable *hash_table, const AtomString string, unsigned long default_value)
-
int atomshashtable_has_key(const struct AtomsHashTable *hash_table, const AtomString string)
-
struct HNode