5 int main(
int argc,
char** argv) {
7 for (
int i=0; i < 64; ++i) {
12 for (
int i = 0;i < 10; ++i) {
13 unsigned long rvalue = rand();
14 rvalue = (rvalue << 32) ^ rand();
15 rvalue = rvalue >> 32;
17 printf(
"Rvalue: %ld\n", rvalue);
18 printf(
"Sizeof: %lu\n",
sizeof(rvalue));
19 for (
unsigned long j = 63; j >= 0; --j) {
20 unsigned long mask = 1 << j;
21 printf(
"1 << %d: %lu\n", j, mask);
22 if ((rvalue & mask) != 0) {
29 for (
int i=0; i< 64; ++i) {
30 printf(
"Bucket[%d]: %d\n", i, counts[i]);
int main(int argc, char **argv)