Lines Matching full:max_buckets
33 unsigned index = hash & (s->max_buckets-1);
42 if (index >= s->max_buckets)
43 index -= s->max_buckets;
51 unsigned index = hash & (s->max_buckets-1);
65 index = (index + AREFSET_STEP) & (s->max_buckets-1);
74 if (item == NULL || s->max_buckets == 0)
92 for (nn = 0; nn < s->max_buckets; nn++) {
103 s->max_buckets = newSet.max_buckets;
117 if (s->max_buckets == 0)
128 if (s->num_buckets > s->max_buckets*0.85)
129 _arefSet_resize(s, s->max_buckets*2);
138 if (item == NULL || s->max_buckets == 0)
149 if (s->num_buckets < s->max_buckets*0.25)
150 _arefSet_resize(s, s->max_buckets/2);
164 for (nn = 0; nn < s->max_buckets; nn++) {
171 newSize = s->max_buckets;
175 if (newSize != s->max_buckets)