#include <stdio.h>
#include "../common.h"
#include "../lex.h"
main() {
char id256[] =
"The_quick_brown_fox_jumps_over_the_lazy_dog"
"The_quick_brown_fox_jumps_over_the_lazy_dog"
"The_quick_brown_fox_jumps_over_the_lazy_dog"
"The_quick_brown_fox_jumps_over_the_lazy_dog"
"The_quick_brown_fox_jumps_over_the_lazy_dog"
"The_quick_brown_fox_jumps_over_the_lazy_d";
char *id4 = "over";
int i;
unsigned short h1, h2, h3;
printf("%x\n", id256);
i = 256;
do {
h1 = hash(id256, i);
h2 = aphash(id256, i);
id256[i] = 0;
h3 = idhash(id256).hash;
printf("%4x %4x %4x %s%d\n", h1, h2, h3,
(h1 != h2 || (i < 129 && h1 != h3)) ? "BUG!!! " : "", strlen(id256));
} while (--i);
}