]> Dogcows Code - chaz/yoink/blobdiff - src/moof/hash.cc
the massive refactoring effort
[chaz/yoink] / src / moof / hash.cc
similarity index 91%
rename from src/Moof/HashTools.cc
rename to src/moof/hash.cc
index 9bcefe3c071489303ba5df4d8c6cbf3fa4d6b01d..dbbc9befae9b337a352ab65591b84bd81ba69d13 100644 (file)
@@ -9,10 +9,10 @@
 *
 **************************************************************************/
 
-#include "HashTools.hh"
+#include "hash.hh"
 
 
-namespace Mf {
+namespace moof {
 
 
 // MurmurHash2, by Austin Appleby
@@ -31,8 +31,8 @@ namespace Mf {
 // 2. It will not produce the same results on little-endian and big-endian
 //    machines.
 
-unsigned HashFunction::operator()(const void* key, int len,
-                                                        unsigned int seed) const
+unsigned hash_function::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.
@@ -84,5 +84,5 @@ unsigned HashFunction::operator()(const void* key, int len,
 } 
 
 
-} // namespace Mf
+} // namespace moof
 
This page took 0.019987 seconds and 4 git commands to generate.