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 */
987 unsigned int hash;
1011 hash = 0;
1015 hash = crc32tab[((hash >> 24) ^ (unsigned char)*cp++)] ^ hash << 8;
1020 * haven't computed a hash, so use 1 instead
1022 if (hash == 0)
1023 hash = 1;
1024 cnp->cn_hash = hash;
1350 // hash part of a componentname.
1355 unsigned hash = 0;
1359 hash = crc32tab[((hash >> 24) ^ (unsigned char)*cp++)] ^ hash << 8;
1363 hash = crc32tab[((hash >> 24) ^ (unsigned char)*cp++)] ^ hash << 8;
1369 * haven't computed a hash, so use 1 instead
1371 if (hash == 0)
1372 hash = 1;
1373 return hash;
1949 /* Scan hash tables for applicable entries */
2005 printf("failed to resize the hash table.\n");
2075 * take this lock 'shared' to keep the hash stable
2144 * take this lock 'shared' to keep the hash stable