summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraappleby@google.com <aappleby@google.com@77a7d1d3-4c08-bdc2-d393-d5859734b01a>2011-04-08 21:13:25 +0000
committeraappleby@google.com <aappleby@google.com@77a7d1d3-4c08-bdc2-d393-d5859734b01a>2011-04-08 21:13:25 +0000
commitc2b49e0d2168979b648edcc449a36292449dd5f5 (patch)
treee54bbfa273222dd06846012fb5a758a494f77a95
parentc8e8bf81bc6041d6d836365a501a0a96830d2d81 (diff)
downloadsrc-c2b49e0d2168979b648edcc449a36292449dd5f5.tar.gz
Fix typos
git-svn-id: http://smhasher.googlecode.com/svn/trunk@130 77a7d1d3-4c08-bdc2-d393-d5859734b01a
-rw-r--r--MurmurHash1.h2
-rw-r--r--MurmurHash2.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/MurmurHash1.h b/MurmurHash1.h
index edbfa21..40ddbc4 100644
--- a/MurmurHash1.h
+++ b/MurmurHash1.h
@@ -1,5 +1,5 @@
//-----------------------------------------------------------------------------
-// MurmurHash was written by Austin Appleby, and is placed in the public
+// MurmurHash1 was written by Austin Appleby, and is placed in the public
// domain. The author hereby disclaims copyright to this source code.
#ifndef _MURMURHASH1_H_
diff --git a/MurmurHash2.cpp b/MurmurHash2.cpp
index cf15edf..dbb2053 100644
--- a/MurmurHash2.cpp
+++ b/MurmurHash2.cpp
@@ -1,5 +1,5 @@
//-----------------------------------------------------------------------------
-// MurmurHash3 was written by Austin Appleby, and is placed in the public
+// MurmurHash2 was written by Austin Appleby, and is placed in the public
// domain. The author hereby disclaims copyright to this source code.
// Note - This code makes a few assumptions about how your machine behaves -
@@ -390,6 +390,7 @@ uint32_t MurmurHashNeutral2 ( const void * key, int len, uint32_t seed )
#define MIX(h,k,m) { k *= m; k ^= k >> r; k *= m; h *= m; h ^= k; }
+
uint32_t MurmurHashAligned2 ( const void * key, int len, uint32_t seed )
{
const uint32_t m = 0x5bd1e995;