]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Hash.cc
better logging (maybe) and exception handling
[chaz/yoink] / src / Moof / Hash.cc
index 457c353d277183bd190b7005f94087110b47db33..eb024ad85c7675176b6894ad323cc12457a2f6d7 100644 (file)
 namespace Mf {
 
 
-//-----------------------------------------------------------------------------
 // MurmurHash2, by Austin Appleby
+// http://murmurhash.googlepages.com/
+
+// This function is in the public domain.
 
 // Note - This code makes a few assumptions about how your machine behaves -
 
@@ -46,7 +48,7 @@ namespace Mf {
 // 2. It will not produce the same results on little-endian and big-endian
 //    machines.
 
-unsigned int MurmurHash2_(const void* key, int len, unsigned int seed)
+unsigned getHash::operator()(const void* key, int len, unsigned int seed) const
 {
        // 'm' and 'r' are mixing constants generated offline.
        // They're not really 'magic', they just happen to work well.
This page took 0.019219 seconds and 4 git commands to generate.