blob: 60ee20436892753de3344bcda846bc2f6dd75629 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "git-compat-util.h"
#include "bloom.h"
#include "test-tool.h"
int cmd__bloom(int argc, const char **argv)
{
if (!strcmp(argv[1], "get_murmur3")) {
uint32_t hashed = murmur3_seeded(0, argv[2], strlen(argv[2]));
printf("Murmur3 Hash with seed=0:0x%08x\n", hashed);
}
return 0;
}
|