Home | History | Annotate | Download | only in libdex

Lines Matching full:hash

59  * want to adjust the hash table index by a fixed amount.  Using a large
66 * Convert a ZipEntry to a hash table index, verifying that it's in a
82 * Simple string hash function for non-null-terminated strings.
86 unsigned int hash = 0;
89 hash = hash * 31 + *str++;
91 return hash;
95 * Add a new entry to the hash table.
98 unsigned int hash)
101 int ent = hash & (hashTableSize - 1);
212 * Create hash table. We have a minimum 75% load factor, possibly as
222 * Walk through the central directory, adding entries to the hash
229 unsigned int hash;
250 /* add the CDE filename to the hash table */
251 hash = computeHash((const char*)ptr + kCDELen, fileNameLen);
252 addToHash(pArchive, (const char*)ptr + kCDELen, fileNameLen, hash);
376 unsigned int hash = computeHash(entryName, nameLen);
378 int ent = hash & (hashTableSize-1);
398 * This currently involves walking through the sparse hash table, counting