HomeSort by relevance Sort by last modified time
    Searched refs:ckh (Results 1 - 5 of 5) sorted by null

  /external/jemalloc/src/
ckh.c 43 static bool ckh_grow(ckh_t *ckh);
44 static void ckh_shrink(ckh_t *ckh);
53 ckh_bucket_search(ckh_t *ckh, size_t bucket, const void *key)
59 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i];
60 if (cell->key != NULL && ckh->keycomp(key, cell->key))
71 ckh_isearch(ckh_t *ckh, const void *key)
75 assert(ckh != NULL);
77 ckh->hash(key, hashes);
80 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1);
81 cell = ckh_bucket_search(ckh, bucket, key)
    [all...]
  /external/jemalloc/test/unit/
ckh.c 5 ckh_t ckh; local
7 assert_false(ckh_new(&ckh, 2, ckh_string_hash, ckh_string_keycomp),
9 ckh_delete(&ckh);
11 assert_false(ckh_new(&ckh, 3, ckh_pointer_hash, ckh_pointer_keycomp),
13 ckh_delete(&ckh);
19 ckh_t ckh; local
29 assert_false(ckh_new(&ckh, 2, ckh_string_hash, ckh_string_keycomp),
31 assert_zu_eq(ckh_count(&ckh), 0,
33 ckh_count(&ckh));
37 ckh_insert(&ckh, strs[i], strs[i])
105 ckh_t ckh; local
    [all...]
  /external/jemalloc/include/jemalloc/internal/
ckh.h 69 bool ckh_new(ckh_t *ckh, size_t minitems, ckh_hash_t *hash,
71 void ckh_delete(ckh_t *ckh);
72 size_t ckh_count(ckh_t *ckh);
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);
  /external/jemalloc/android/test/
run_unit.sh 8 $test_dir/ckh
  /external/jemalloc/
Android.mk 37 src/ckh.c \
135 test/unit/ckh.c \

Completed in 325 milliseconds