OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:num_buckets
(Results
1 - 3
of
3
) sorted by null
/external/mesa3d/src/mesa/program/
hash_table.c
44
unsigned
num_buckets
;
member in struct:hash_table
57
hash_table_ctor(unsigned
num_buckets
, hash_func_t hash,
64
if (
num_buckets
< 16) {
65
num_buckets
= 16;
68
ht = malloc(sizeof(*ht) + ((
num_buckets
- 1)
73
ht->
num_buckets
=
num_buckets
;
75
for (i = 0; i <
num_buckets
; i++) {
100
for (i = 0; i < ht->
num_buckets
; i++) {
115
const unsigned bucket = hash_value % ht->
num_buckets
;
[
all
...]
hash_table.h
50
* \param
num_buckets
Number of buckets (bins) in the hash table.
54
extern struct hash_table *hash_table_ctor(unsigned
num_buckets
,
/external/qemu/android/utils/
refset.c
88
unsigned nn, count = s->
num_buckets
;
102
s->
num_buckets
= count;
125
s->
num_buckets
+= 1;
128
if (s->
num_buckets
> s->max_buckets*0.85)
148
s->
num_buckets
-= 1;
149
if (s->
num_buckets
< s->max_buckets*0.25)
154
s->
num_buckets
-= 1;
172
while (s->
num_buckets
< newSize*0.25)
Completed in 63 milliseconds