This commit is contained in:
智皓 张
2022-11-14 19:41:31 +08:00
parent 01b161b3f3
commit e65436c824
8 changed files with 0 additions and 0 deletions

23
tools/BOBHash64.h Normal file
View File

@@ -0,0 +1,23 @@
#pragma once
//#ifndef _BOBHASH64_H
//#define _BOBHASH64_H
#include <stdio.h>
using namespace std;
typedef unsigned int uint;
typedef unsigned long long int uint64;
class BOBHash64
{
public:
BOBHash64();
~BOBHash64();
BOBHash64(uint prime64Num);
void initialize(uint prime64Num);
uint64 run(const char * str, uint len);
private:
uint prime64Num;
};
//#endif //_BOBHASH64_H