Home
last modified time | relevance | path

Searched refs:n_buckets (Results 1 – 5 of 5) sorted by relevance

/external/kmod/shared/
Dhash.c42 unsigned int n_buckets; member
47 struct hash *hash_new(unsigned int n_buckets, in hash_new() argument
52 n_buckets = ALIGN_POWER2(n_buckets); in hash_new()
54 n_buckets * sizeof(struct hash_bucket)); in hash_new()
57 hash->n_buckets = n_buckets; in hash_new()
59 hash->step = n_buckets / 32; in hash_new()
75 bucket_end = bucket + hash->n_buckets; in hash_free()
150 unsigned int pos = hashval & (hash->n_buckets - 1); in hash_add()
193 unsigned int pos = hashval & (hash->n_buckets - 1); in hash_add_unique()
238 unsigned int pos = hashval & (hash->n_buckets - 1); in hash_find()
[all …]
Dhash.h13 struct hash *hash_new(unsigned int n_buckets, void (*free_value)(void *value));
/external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/
Dsplit_handler_ops_test.py419 n_buckets = 100
423 [0] * (n_buckets + 1), dtype=dtypes.int32)
429 [0] * (n_buckets + 1), dtype=dtypes.int64)
432 gradients = [grad] + [grad / n_buckets] * n_buckets
434 hessians = [hessian] + [hessian / n_buckets] * n_buckets
437 boundaries = [x * 1 for x in range(n_buckets + 1)]
/external/llvm/docs/
DSourceLevelDebugging.rst798 | 0xXXXXXXXX | BUCKETS[n_buckets]
862 table with "``n_buckets``" buckets, and "``n_hashes``" unique 32 bit hash
877 | BUCKETS | uint32_t[n_buckets] // 32 bit hash indexes
899 | ... | BUCKETS[n_buckets]
975 hash value and modulo it by ``n_buckets``. ``BUCKETS[3]`` contains "6" which
979 ``n_buckets`` is still 3. In the case of a failed lookup we would access the
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DSourceLevelDebugging.rst854 | 0xXXXXXXXX | BUCKETS[n_buckets]
918 table with "``n_buckets``" buckets, and "``n_hashes``" unique 32 bit hash
933 | BUCKETS | uint32_t[n_buckets] // 32 bit hash indexes
955 | ... | BUCKETS[n_buckets]
1031 hash value and modulo it by ``n_buckets``. ``BUCKETS[3]`` contains "6" which
1035 ``n_buckets`` is still 3. In the case of a failed lookup we would access the