8 #include "../lib/lfsr.h"
11 void axmap_set(struct axmap *, uint64_t);
12 struct axmap *axmap_new(uint64_t size);
14 void *smalloc(size_t size)
24 int main(int argc, char *argv[])
27 size_t size = (1UL << 28) - 200;
32 size = strtoul(argv[1], NULL, 10);
34 seed = strtoul(argv[2], NULL, 10);
37 printf("Using %llu entries\n", (unsigned long long) size);
39 lfsr_init(&lfsr, size, seed);
40 map = axmap_new(size);
45 lfsr_next(&lfsr, &val);