libMesh
Namespaces | Functions
hashword.h File Reference

Go to the source code of this file.

Namespaces

 libMesh
 The libMesh namespace provides an interface to certain functionality in the library.
 
 libMesh::Utility
 

Functions

uint32_t libMesh::Utility::hashword (const uint32_t *k, size_t length, uint32_t initval=0)
 The hashword function takes an array of uint32_t's of length 'length' and computes a single key from it. More...
 
uint32_t libMesh::Utility::hashword (const std::vector< uint32_t > &keys, uint32_t initval=0)
 Calls function above with slightly more convenient std::vector interface. More...
 
uint32_t libMesh::Utility::hashword2 (const uint32_t &first, const uint32_t &second, uint32_t initval=0)
 This is a hard-coded version of hashword for hashing exactly 2 numbers. More...
 
uint64_t libMesh::Utility::hashword2 (const uint64_t first, const uint64_t second)
 Call the 64-bit FNV hash function. More...
 
uint16_t libMesh::Utility::hashword2 (const uint16_t first, const uint16_t second)
 
uint64_t libMesh::Utility::hashword (const uint64_t *k, size_t length)
 Call the 64-bit FNV hash function. More...
 
uint64_t libMesh::Utility::hashword (const std::vector< uint64_t > &keys)
 Calls function above with slightly more convenient std::vector interface. More...
 
uint16_t libMesh::Utility::hashword (const uint16_t *k, size_t length)
 In a personal communication from Bob Jenkins, he recommended using "Probably final() from lookup3.c... More...
 
uint16_t libMesh::Utility::hashword (const std::vector< uint16_t > &keys)
 Calls function above with slightly more convenient std::vector interface. More...