14#include "arcane/utils/HashTable.h"
15#include "arcane/utils/HashTableMap.h"
16#include "arcane/utils/HashTableSet.h"
17#include "arcane/utils/Iostream.h"
18#include "arcane/utils/FatalErrorException.h"
32:
public std::exception
36 virtual const char* what()
const ARCANE_NOEXCEPT
38 return "HashTable::throwNotFound()";
48 cerr <<
"** FATAL: HashTable:_throwNotFound()\n";
60 static Integer PRIME_NUMBER[] = {
131 int nb =
sizeof(PRIME_NUMBER) /
sizeof(
Integer);
133 for (
Integer i = 0; i < nb; ++i)
134 if (PRIME_NUMBER[i] >= n) {
135 return PRIME_NUMBER[i];
#define ARCANE_FATAL(...)
Macro throwing a FatalErrorException.
Integer nearestPrimeNumber(Integer n)
Returns the nearest prime number greater than n. The nearest prime number greater than n is returned ...
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
void arcaneDebugPause(const char *msg)
Enters pause mode or throws a fatal error.