X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fhash.cc;h=ae09b1cf1df5f1b24e9507f7cde4b3c7b7aa66ac;hp=dbbc9befae9b337a352ab65591b84bd81ba69d13;hb=574af38ed616d1adfa5e6ce35f67cda1f707f89d;hpb=6c9943707d4f33035830eba0587a61a34eaecbc2 diff --git a/src/moof/hash.cc b/src/moof/hash.cc index dbbc9be..ae09b1c 100644 --- a/src/moof/hash.cc +++ b/src/moof/hash.cc @@ -1,13 +1,11 @@ -/*] Copyright (c) 2009-2010, Charles McGarvey [************************** +/*] Copyright (c) 2009-2011, Charles McGarvey [***************************** **] All rights reserved. * -* vi:ts=4 sw=4 tw=75 -* * Distributable under the terms and conditions of the 2-clause BSD license; * see the file COPYING for a complete text of the license. * -**************************************************************************/ +*****************************************************************************/ #include "hash.hh" @@ -31,8 +29,8 @@ namespace moof { // 2. It will not produce the same results on little-endian and big-endian // machines. -unsigned hash_function::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.