HomeSort by relevance Sort by last modified time
    Searched full:n_buckets (Results 1 - 2 of 2) sorted by null

  /external/bison/lib/
hash.c 55 for a possibility of N_BUCKETS. Among those, N_BUCKETS_USED buckets
59 size_t n_buckets; member in struct:hash_table
152 return table->n_buckets;
233 size_t n_buckets = hash_get_n_buckets (table); local
238 fprintf (stream, "# buckets: %lu\n", (unsigned long int) n_buckets);
241 (100.0 * n_buckets_used) / n_buckets);
253 = table->bucket + table->hasher (entry, table->n_buckets);
301 = table->bucket + table->hasher (entry, table->n_buckets);
383 /* Return a hash index for a NUL-terminated STRING between 0 and N_BUCKETS-1.
395 hash_string (const char *string, size_t n_buckets)
    [all...]
  /external/dbus/dbus/
dbus-hash.c 179 int n_buckets; /**< Total number of buckets allocated member in struct:DBusHashTable
317 table->n_buckets = DBUS_SMALL_HASH_TABLE;
325 _dbus_assert (table->mask < table->n_buckets);
387 for (i = 0; i < table->n_buckets; i++)
404 for (i = 0; i < table->n_buckets; i++)
574 if (real->next_bucket >= real->table->n_buckets)
1030 old_size = table->n_buckets;
1036 if (table->n_buckets < _DBUS_INT_MAX / 4 &&
1038 new_buckets = table->n_buckets * 4;
1044 new_buckets = table->n_buckets / 4
    [all...]

Completed in 221 milliseconds