X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FHashTools.cc;fp=src%2FMoof%2FHash.cc;h=9bcefe3c071489303ba5df4d8c6cbf3fa4d6b01d;hp=357b5318a3edb02fb2382fc3689b0f78b84bf1e9;hb=0b8dbc2d02c7f78d273ad9cfdf05c927c648ffd1;hpb=6c47a7028f7c72fabc40f417aa41111c28de8a84 diff --git a/src/Moof/Hash.cc b/src/Moof/HashTools.cc similarity index 95% rename from src/Moof/Hash.cc rename to src/Moof/HashTools.cc index 357b531..9bcefe3 100644 --- a/src/Moof/Hash.cc +++ b/src/Moof/HashTools.cc @@ -9,7 +9,7 @@ * **************************************************************************/ -#include "Hash.hh" +#include "HashTools.hh" namespace Mf { @@ -31,7 +31,7 @@ namespace Mf { // 2. It will not produce the same results on little-endian and big-endian // machines. -unsigned getHash::operator()(const void* key, int len, +unsigned HashFunction::operator()(const void* key, int len, unsigned int seed) const { // 'm' and 'r' are mixing constants generated offline.