#include "list.h"
#include "pair.h"
#include "tm.h"
#include "types.h"
#include "lehigh.h"
Go to the source code of this file.
|
#define | TMHASHTABLE_ITER_RESET(it, ht) TMhashtable_iter_reset(TM_ARG it, ht) |
|
#define | TMHASHTABLE_ITER_HASNEXT(it, ht) TMhashtable_iter_hasNext(TM_ARG it, ht) |
|
#define | TMHASHTABLE_ITER_NEXT(it, ht) TMhashtable_iter_next(TM_ARG it, ht) |
|
#define | TMHASHTABLE_ALLOC(i, h, c, r, g) TMhashtable_alloc(TM_ARG, i, h, c, r, g) |
|
#define | TMHASHTABLE_FREE(ht) TMhashtable_free(TM_ARG ht) |
|
#define | TMHASHTABLE_ISEMPTY(ht) TMhashtable_isEmpty(TM_ARG ht) |
|
#define | TMHASHTABLE_GETSIZE(ht) TMhashtable_getSize(TM_ARG ht) |
|
#define | TMHASHTABLE_FIND(ht, k) TMhashtable_find(TM_ARG ht, k) |
|
#define | TMHASHTABLE_INSERT(ht, k, d) TMhashtable_insert(TM_ARG ht, k, d) |
|
#define | TMHASHTABLE_REMOVE(ht) TMhashtable_remove(TM_ARG ht) |
|
|
void | hashtable_iter_reset (hashtable_iter_t *itPtr, hashtable_t *hashtablePtr) |
|
void | TMhashtable_iter_reset (TM_ARGDECL hashtable_iter_t *itPtr, hashtable_t *hashtablePtr) |
|
bool_t | hashtable_iter_hasNext (hashtable_iter_t *itPtr, hashtable_t *hashtablePtr) |
|
bool_t | TMhashtable_iter_hasNext (TM_ARGDECL hashtable_iter_t *itPtr, hashtable_t *hashtablePtr) |
|
void * | hashtable_iter_next (hashtable_iter_t *itPtr, hashtable_t *hashtablePtr) |
|
void * | TMhashtable_iter_next (TM_ARGDECL hashtable_iter_t *itPtr, hashtable_t *hashtablePtr) |
|
hashtable_t * | hashtable_alloc (long initNumBucket, ulong_t(*hash)(const void *), comparator_t *comparePairs, long resizeRatio, long growthFactor) |
|
hashtable_t * | TMhashtable_alloc (TM_ARGDECL long initNumBucket, ulong_t(*hash)(const void *), comparator_t *comparePairs, long resizeRatio, long growthFactor) |
|
void | hashtable_free (hashtable_t *hashtablePtr) |
|
void | TMhashtable_free (TM_ARGDECL hashtable_t *hashtablePtr) |
|
bool_t | hashtable_isEmpty (hashtable_t *hashtablePtr) |
|
bool_t | TMhashtable_isEmpty (TM_ARGDECL hashtable_t *hashtablePtr) |
|
long | hashtable_getSize (hashtable_t *hashtablePtr) |
|
long | TMhashtable_getSize (TM_ARGDECL hashtable_t *hashtablePtr) |
|
bool_t | hashtable_containsKey (hashtable_t *hashtablePtr, void *keyPtr) |
|
bool_t | TMhashtable_containsKey (TM_ARGDECL hashtable_t *hashtablePtr, void *keyPtr) |
|
void * | hashtable_find (hashtable_t *hashtablePtr, void *keyPtr) |
|
void * | TMhashtable_find (TM_ARGDECL hashtable_t *hashtablePtr, void *keyPtr) |
|
bool_t | hashtable_insert (hashtable_t *hashtablePtr, void *keyPtr, void *dataPtr) |
|
bool_t | TMhashtable_insert (TM_ARGDECL hashtable_t *hashtablePtr, void *keyPtr, void *dataPtr) |
|
bool_t | hashtable_remove (hashtable_t *hashtablePtr, void *keyPtr) |
|
bool_t | TMhashtable_remove (TM_ARGDECL hashtable_t *hashtablePtr, void *keyPtr) |
|
Enumerator |
---|
HASHTABLE_DEFAULT_RESIZE_RATIO |
|
HASHTABLE_DEFAULT_GROWTH_FACTOR |
|
void* hashtable_find |
( |
hashtable_t * |
hashtablePtr, |
|
|
void * |
keyPtr |
|
) |
| |
bool_t hashtable_insert |
( |
hashtable_t * |
hashtablePtr, |
|
|
void * |
keyPtr, |
|
|
void * |
dataPtr |
|
) |
| |