#include <Teuchos_HashUtils.hpp>
Static Public Member Functions | |
| int | nextPrime (int newCapacity) |
Static Private Attributes | |
| const int | primeCount_ = 33 |
| const int | primes_ [] |
Related Functions | |
| (Note that these are not member functions.) | |
| template<class T> | |
| int | hashCode (const T &x) |
| Standard interface for getting the hash code of an object. | |
| template<> | |
| int | hashCode (const int &x) |
| Get the hash code of an int. | |
| template<> | |
| int | hashCode (const double &x) |
| Get the hash code of a double. | |
| template<> | |
| int | hashCode (const bool &x) |
| Get the hash code of a bool. | |
| template<> | |
| int | hashCode (const string &x) |
| Get the hash code of a string. | |
Definition at line 47 of file Teuchos_HashUtils.hpp.
|
|
Definition at line 44 of file Teuchos_HashUtils.cpp. |
|
||||||||||
|
Standard interface for getting the hash code of an object.
|
|
||||||||||
|
Get the hash code of an int.
Definition at line 74 of file Teuchos_HashUtils.hpp. |
|
||||||||||
|
Get the hash code of a double.
Definition at line 82 of file Teuchos_HashUtils.hpp. |
|
||||||||||
|
Get the hash code of a bool.
Definition at line 90 of file Teuchos_HashUtils.hpp. |
|
||||||||||
|
Get the hash code of a string.
Definition at line 99 of file Teuchos_HashUtils.hpp. |
|
|
Definition at line 35 of file Teuchos_HashUtils.cpp. |
|
|
Initial value: {11, 19, 37, 59, 101, 163, 271, 443, 733, 1187, 1907, 3061,
4919, 7759, 12379, 19543, 30841, 48487, 75989,
119089, 185971, 290347, 452027, 703657, 1093237,
1695781, 2627993, 4067599, 6290467, 9718019,
15000607, 23133937, 35650091}
Definition at line 37 of file Teuchos_HashUtils.cpp. |
1.3.9.1