Lines Matching defs:hash
94 * used names will hang around. Cache is indexed by hash value
112 u_long nchash; /* size of hash table - 1 */
844 unsigned int hash;
864 hash = 0;
868 hash ^= crc32tab[((hash >> 24) ^ (unsigned char)*cp++)];
873 * haven't computed a hash, so use 1 instead
875 if (hash == 0)
876 hash = 1;
877 cnp->cn_hash = hash;
1170 // hash part of a componentname.
1175 unsigned hash = 0;
1179 hash ^= crc32tab[((hash >> 24) ^ (unsigned char)*cp++)];
1183 hash ^= crc32tab[((hash >> 24) ^ (unsigned char)*cp++)];
1189 * haven't computed a hash, so use 1 instead
1191 if (hash == 0)
1192 hash = 1;
1193 return hash;
1706 /* Scan hash tables for applicable entries */
1822 printf("failed to resize the hash table.\n");