HomeSort by: relevance | last modified time | path
    Searched refs:h_nbuckets (Results 1 - 3 of 3) sorted by relevancy

  /src/external/cddl/osnet/dist/common/ctf/
ctf_hash.c 50 hp->h_nbuckets = 1;
54 hp->h_nbuckets = 211; /* use a prime number of hash buckets */
58 hp->h_buckets = ctf_alloc(sizeof (*hp->h_buckets) * hp->h_nbuckets);
66 memset(hp->h_buckets, 0, sizeof (*hp->h_buckets) * hp->h_nbuckets);
122 h = ctf_hash_compute(str, strlen(str)) % hp->h_nbuckets;
155 ulong_t h = ctf_hash_compute(key, len) % hp->h_nbuckets;
172 if (hp->h_buckets != NULL && hp->h_nbuckets != 1) {
173 ctf_free(hp->h_buckets, sizeof (*hp->h_buckets) * hp->h_nbuckets);
ctf_impl.h 75 uint_t h_nbuckets; /* number of elements in bucket array */ member in struct:ctf_hash
  /src/external/cddl/osnet/dist/tools/ctf/cvt/
hash.c 49 int h_nbuckets; member in struct:hash
104 hash->h_nbuckets = nbuckets;
114 int bucket = hash->h_hashfn(hash->h_nbuckets, key);
142 int bucket = hash->h_hashfn(hash->h_nbuckets, key);
152 int bucket = hash->h_hashfn(hash->h_nbuckets, key);
177 int bucket = hash->h_hashfn(hash->h_nbuckets, key);
226 for (i = 0; i < hash->h_nbuckets; i++) {
243 for (num = 0, i = 0; i < hash->h_nbuckets; i++)
257 for (i = 0; i < hash->h_nbuckets; i++)
276 for (i = 1; i < hash->h_nbuckets; i++)
    [all...]

Completed in 22 milliseconds