Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
4dfd0c82
Commit
4dfd0c82
authored
Jul 24, 2018
by
Davis King
Browse files
Allow 64bit seeds for murmur hash.
parent
f32abe97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dlib/general_hash/murmur_hash3.h
dlib/general_hash/murmur_hash3.h
+1
-1
dlib/general_hash/murmur_hash3_abstract.h
dlib/general_hash/murmur_hash3_abstract.h
+1
-1
No files found.
dlib/general_hash/murmur_hash3.h
View file @
4dfd0c82
...
@@ -320,7 +320,7 @@ namespace dlib
...
@@ -320,7 +320,7 @@ namespace dlib
inline
std
::
pair
<
uint64
,
uint64
>
murmur_hash3_128bit
(
inline
std
::
pair
<
uint64
,
uint64
>
murmur_hash3_128bit
(
const
void
*
key
,
const
void
*
key
,
const
int
len
,
const
int
len
,
const
uint
32
seed
=
0
const
uint
64
seed
=
0
)
)
{
{
const
uint8
*
data
=
(
const
uint8
*
)
key
;
const
uint8
*
data
=
(
const
uint8
*
)
key
;
...
...
dlib/general_hash/murmur_hash3_abstract.h
View file @
4dfd0c82
...
@@ -65,7 +65,7 @@ namespace dlib
...
@@ -65,7 +65,7 @@ namespace dlib
std
::
pair
<
uint64
,
uint64
>
murmur_hash3_128bit
(
std
::
pair
<
uint64
,
uint64
>
murmur_hash3_128bit
(
const
void
*
key
,
const
void
*
key
,
const
int
len
,
const
int
len
,
const
uint
32
seed
=
0
const
uint
64
seed
=
0
);
);
/*!
/*!
requires
requires
...
...
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