+static void t_jhash(struct test_type *t, void *buf, size_t size)
+{
+ int i;
+
+ for (i = 0; i < NR_CHUNKS; i++)
+ t->output += jhash(buf, size, 0x8989);
+}
+
+static void t_fnv(struct test_type *t, void *buf, size_t size)
+{
+ int i;
+
+ for (i = 0; i < NR_CHUNKS; i++)
+ t->output += fnv(buf, size, 0x8989);
+}
+
+static void t_xxhash(struct test_type *t, void *buf, size_t size)
+{
+ void *state;
+ int i;
+
+ state = XXH32_init(0x8989);
+
+ for (i = 0; i < NR_CHUNKS; i++)
+ XXH32_update(state, buf, size);
+
+ t->output = XXH32_digest(state);