2 #ifdef JEMALLOC_H_TYPES
4 typedef struct ckh_s ckh_t;
5 typedef struct ckhc_s ckhc_t;
8 typedef void ckh_hash_t (
const void *,
size_t[2]);
9 typedef bool ckh_keycomp_t (
const void *,
const void *);
20 #define LG_CKH_BUCKET_CELLS (LG_CACHELINE - LG_SIZEOF_PTR - 1)
24 #ifdef JEMALLOC_H_STRUCTS
43 #define CKH_A 1103515241
54 unsigned lg_minbuckets;
55 unsigned lg_curbuckets;
59 ckh_keycomp_t *keycomp;
67 #ifdef JEMALLOC_H_EXTERNS
69 bool ckh_new(ckh_t *ckh,
size_t minitems, ckh_hash_t *
hash,
70 ckh_keycomp_t *keycomp);
73 bool ckh_iter(ckh_t *ckh,
size_t *tabind,
void **key,
void **data);
74 bool ckh_insert(ckh_t *ckh,
const void *key,
const void *data);
75 bool ckh_remove(ckh_t *ckh,
const void *searchkey,
void **key,
77 bool ckh_search(ckh_t *ckh,
const void *seachkey,
void **key,
void **data);
85 #ifdef JEMALLOC_H_INLINES
#define ckh_delete
Definition: private_namespace.h:130
#define hash
Definition: private_namespace.h:186
#define ckh_iter
Definition: private_namespace.h:134
#define ckh_insert
Definition: private_namespace.h:132
#define ckh_pointer_hash
Definition: private_namespace.h:136
#define ckh_string_hash
Definition: private_namespace.h:141
unsigned int uint32_t
Definition: stdint.h:80
#define ckh_pointer_keycomp
Definition: private_namespace.h:137
unsigned __int64 uint64_t
Definition: stdint.h:90
union Prng_state prng_state
#define ckh_remove
Definition: private_namespace.h:139
#define ckh_count
Definition: private_namespace.h:129
#define ckh_new
Definition: private_namespace.h:135
#define ckh_search
Definition: private_namespace.h:140
#define ckh_string_keycomp
Definition: private_namespace.h:142