Lines Matching defs:hash
67 * want to adjust the hash table index by a fixed amount. Using a large
74 * Convert a ZipEntry to a hash table index, verifying that it's in a
90 * Simple string hash function for non-null-terminated strings.
94 unsigned int hash = 0;
97 hash = hash * 31 + *str++;
99 return hash;
103 * Add a new entry to the hash table.
106 unsigned int hash)
109 int ent = hash & (hashTableSize - 1);
270 * hash table.
282 * Create hash table. We have a minimum 75% load factor, possibly as
291 * Walk through the central directory, adding entries to the hash
312 unsigned int fileNameLen, extraLen, commentLen, hash;
317 /* add the CDE filename to the hash table */
318 hash = computeHash((const char*)ptr + kCDELen, fileNameLen);
319 addToHash(pArchive, (const char*)ptr + kCDELen, fileNameLen, hash);
428 unsigned int hash = computeHash(entryName, nameLen);
430 int ent = hash & (hashTableSize-1);
450 * This currently involves walking through the sparse hash table, counting