FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

HasherInt.H File Reference

Optimized hashing functions. More...


Detailed Description

Optimized hashing functions.

InNamespace Foam

See also:
Hasher.H

Definition in file HasherInt.H.

#include "src/OpenFOAM/primitives/hashes/Hasher/Hasher.H"
#include <cstddef>
#include <stdint.h>
Include dependency graph for HasherInt.H:

Go to the source code of this file.

Namespaces

namespace  Foam
 

Namespace for OpenFOAM.


Functions

unsigned  HasherInt (const uint32_t *data, size_t length, unsigned seed=0)
 An optimized version of Hasher.
unsigned  HasherDual (const uint32_t *data, size_t len, unsigned &hash1, unsigned &hash2)
 An optimized version of Hasher, returning dual hash values.