Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OBITools3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools3
Commits
e69f44ae
Commit
e69f44ae
authored
Apr 21, 2016
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Little annotations for the murmur hash function.
parent
1941a378
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/MurmurHash2.c
src/MurmurHash2.c
+1
-1
src/murmurhash2.h
src/murmurhash2.h
+4
-0
No files found.
src/MurmurHash2.c
View file @
e69f44ae
...
...
@@ -10,7 +10,7 @@
// 1. It will not work incrementally.
// 2. It will not produce the same results on little-endian and big-endian
// machines.
// machines.
->TODO
unsigned
int
murmurhash2
(
const
void
*
key
,
int
len
,
const
unsigned
int
seed
)
{
...
...
src/murmurhash2.h
View file @
e69f44ae
...
...
@@ -2,6 +2,10 @@
#ifndef _BLOOM_MURMURHASH2
#define _BLOOM_MURMURHASH2
/**
* @brief Generates and returns a hash code from a byte array.
*/
unsigned
int
murmurhash2
(
const
void
*
key
,
int
len
,
const
unsigned
int
seed
);
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment