Document origin of FNV1a code; fix type.

This commit is contained in:
Peter D. Barnes, Jr.
2012-11-13 16:41:15 -08:00
parent 6a6b5699b8
commit 71f5e2d9ea
2 changed files with 10 additions and 1 deletions

View File

@@ -34,6 +34,15 @@ namespace Function {
*
* \brief Fnv1a hash function implementation
*
* This is the venerable Fowler-Noll-Vo hash, version 1A. (See the
* <a href="http://isthe.com/chongo/tech/comp/fnv/">FNV page</a>.)
*
* The implementation here is taken directly from the published FNV
* <a href="http://isthe.com/chongo/tech/comp/fnv/#FNV-reference-source">
* reference code</a>,
* with minor modifications to wrap into this class. See the
* hash-fnv.cc file for details.
*
*/
class Fnv1a : public Implementation
{

View File

@@ -207,7 +207,7 @@ Hash64_t Hash64 (const std::string s);
namespace ns3 {
/*************************************************
class Hash implementation, inlined for rvo
class Hasher implementation, inlined for rvo
*/
inline