Lines Matching defs:hashes
440 generateHashes(int nChars, unsigned nWords, unsigned samples, unsigned *hashes,
494 hashes[hash2tableIndex(hash, length)]++;
521 unsigned hashes[4]; /* dummy place to put hashes */
528 generateHashes(length, words, 0, hashes, 4);
536 unsigned *hashes = xmalloc(length*sizeof(unsigned));
537 memset(hashes, 0, length*sizeof(unsigned));
538 /* Compute collision statistics for half full hashes modulo "length". */
539 generateHashes(4, 1, length/2, hashes, length);
547 unsigned hits = hashes[i];
554 xprintf("Occupancy of %d buckets by %d hashes %d Chars %d word with %s\n",
564 for (i = 0; hashes[i] == 0; i++); /* find first occupied bucket */
568 unsigned hits = hashes[i];
597 xfree(hashes);