FreeFOAM The Cross-Platform CFD Toolkit
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:
+ This graph shows which files directly or indirectly include this file:

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.