Home
last modified time | relevance | path

Searched refs:khint_t (Results 1 – 2 of 2) sorted by relevance

/third_party/iowow/src/utils/
Dkhash.h164 typedef khint32_t khint_t; typedef
165 typedef khint_t khiter_t;
198 khint_t n_buckets, size, n_occupied, upper_bound; \
208 extern khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key); \
209 extern int kh_resize_##name(kh_##name##_t *h, khint_t new_n_buckets); \
210 extern khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret); \
211 extern void kh_del_##name(kh_##name##_t *h, khint_t x);
232 SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
235 khint_t k, i, last, mask, step = 0; \
246 SCOPE int kh_resize_##name(kh_##name##_t *h, khint_t new_n_buckets) \
[all …]
/third_party/ejdb/src/util/
Dkhash.h154 typedef khint32_t khint_t; typedef
155 typedef khint_t khiter_t;
188 khint_t n_buckets, size, n_occupied, upper_bound; \
198 extern khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key); \
199 extern int kh_resize_##name(kh_##name##_t *h, khint_t new_n_buckets); \
200 extern khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret); \
201 extern void kh_del_##name(kh_##name##_t *h, khint_t x);
222 SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key) \
225 khint_t k, i, last, mask, step = 0; \
236 SCOPE int kh_resize_##name(kh_##name##_t *h, khint_t new_n_buckets) \
[all …]