45 using namespace Teuchos;
50 = {11, 19, 37, 59, 101, 163, 271, 443, 733, 1187, 1907, 3061,
51 4919, 7759, 12379, 19543, 30841, 48487, 75989,
52 119089, 185971, 290347, 452027, 703657, 1093237,
53 1695781, 2627993, 4067599, 6290467, 9718019,
54 15000607, 23133937, 35650091};
61 "HashUtils::nextPrime() overflow");
73 "unexpected case in HashUtils::nextPrime()");
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
static int nextPrime(int newCapacity)
static const int primes_[]
static const int primeCount_
Utilities for generating hashcodes.