Lines Matching full:bins
539 unsigned bins[155]; in testHash() local
540 memset(bins, 0, sizeof(bins)); in testHash()
545 if (hits >= sizeof(bins)/sizeof(bins[0])) /* clip */ in testHash()
546 hits = highest = sizeof(bins)/sizeof(bins[0]) - 1; in testHash()
549 bins[hits]++; in testHash()
555 bins[i], bins[i]*100/length, i); in testHash()
559 memset(bins, 0, sizeof(bins)); in testHash()
574 if (run >= sizeof(bins)/sizeof(bins[0])) /* clip */ in testHash()
575 run = highest = sizeof(bins)/sizeof(bins[0]) - 1; in testHash()
578 bins[run]++; in testHash()
585 entries += bins[i]*i; /* total hashed objects */ in testHash()
586 merit += bins[i]*i*i; in testHash()
591 if (bins[i] != 0) in testHash()
592 xprintf(" %d runs of length %d buckets\n", bins[i], i); in testHash()