Upload New File
This commit is contained in:
29
init/BOBHash32.h
Normal file
29
init/BOBHash32.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
//#ifndef _BOBHASH32_H
|
||||
//#define _BOBHASH32_H
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
using namespace std;
|
||||
typedef unsigned int uint;
|
||||
typedef unsigned long long int uint64;
|
||||
|
||||
class BOBHash32
|
||||
{
|
||||
|
||||
public:
|
||||
BOBHash32();
|
||||
~BOBHash32();
|
||||
BOBHash32(uint prime32Num);
|
||||
void initialize(uint prime32Num);
|
||||
uint run(const char * str, uint len);
|
||||
private:
|
||||
uint prime32Num;
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
//#endif //_BOBHASH32_H
|
||||
Reference in New Issue
Block a user