Home | History | Annotate | Download | only in util

Lines Matching full:hash

51    uint32_t hash;
67 /** Hash function */
68 uint32_t (*hash)(const void *key);
90 util_cache_create(uint32_t (*hash)(const void *key),
101 cache->hash = hash;
123 uint32_t hash,
127 uint32_t index = hash % cache->size;
142 if (current->hash == hash &&
186 uint32_t hash = cache->hash(key);
192 entry = util_cache_entry_get(cache, hash, key);
206 entry->hash = hash;
221 uint32_t hash = cache->hash(key);
227 entry = util_cache_entry_get(cache, hash, key);
274 * the hash function is a poor one */
292 uint32_t hash;
298 hash = cache->hash(key);
300 entry = util_cache_entry_get(cache, hash, key);
327 assert(header->hash == cache->hash(header->key));