Upload New File

This commit is contained in:
zhang zhihao
2022-11-13 10:58:19 +00:00
parent 48931b910b
commit 66a4bb0f5a

23
init/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