Upload New File
This commit is contained in:
23
init/BOBHash64.h
Normal file
23
init/BOBHash64.h
Normal 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
|
||||
Reference in New Issue
Block a user