Lines Matching refs:nchunks
250 int nchunks;
265 nchunks = max_size / csize;
267 if ((bits = calloc((nchunks + 7) / 8, 1)) == NULL) {
272 if ((hold_bits = calloc((nchunks + 7) / 8, 1)) == NULL) {
308 * repeat until count = nchunks.
320 memset(bits, 0, (nchunks + 7) / 8);
321 memset(hold_bits, 0, (nchunks + 7) / 8);
326 while (count < nchunks) {
327 chunk = rand() % nchunks;
370 ft_dumpbits(bits, (nchunks + 7) / 8);
372 (nchunks + 7) / 8);
375 (nchunks + 7) / 8);
401 ft_dumpbits(bits, (nchunks + 7) / 8);
403 (nchunks + 7) / 8);
406 (nchunks + 7) / 8);
437 ft_orbits(hold_bits, bits, (nchunks + 7) / 8);
441 if (count + collide > 2 * nchunks)
498 for (; chunk < nchunks; chunk += 8)