Lines Matching full:hash
337 * Compute a hash code on a UTF-8 string, for use with internal hash tables.
339 * This may or may not be compatible with UTF-8 hash functions used inside
347 u4 hash = 1;
350 hash = hash * 31 + *str++;
352 return hash;
356 * Add an entry to the class lookup table. We hash the string and probe
366 u4 hash = classDescriptorHash(classDescriptor);
368 int idx = hash & mask;
382 pLookup->table[idx].classDescriptorHash = hash;
407 * Create the class lookup hash table.
427 * using a secondary hash.
861 u4 hash;
864 hash = classDescriptorHash(descriptor);
866 idx = hash & mask;
878 if (pLookup->table[idx].classDescriptorHash == hash) {