12#ifndef ARCANE_UTILS_HASHFUNCTION_H
13#define ARCANE_UTILS_HASHFUNCTION_H
49 static constexpr ARCCORE_HOST_DEVICE
Int32 hashfunc(
Int32 key)
74 static constexpr ARCCORE_HOST_DEVICE
Int64 hashfunc(
Int64 key)
107template <
typename KeyType>
112 typedef const KeyType& KeyTypeConstRef;
113 typedef KeyType& KeyTypeRef;
114 typedef KeyType KeyTypeValue;
115 typedef KeyType HashValueType;
120 static HashValueType hashFunction(KeyTypeConstRef key);
135 typedef Int32 KeyTypeConstRef;
136 typedef Int32& KeyTypeRef;
137 typedef Int32 KeyTypeValue;
139 typedef Int32 HashValueType;
143 static constexpr ARCCORE_HOST_DEVICE
Int32 hashFunction(
Int32 key)
161 typedef Int64 KeyTypeConstRef;
162 typedef Int64& KeyTypeRef;
163 typedef Int64 KeyTypeValue;
164 typedef Int64 HashValueType;
169 static constexpr ARCCORE_HOST_DEVICE
Int64 hashFunction(
Int64 key)
Fichier de configuration d'Arcane.
Vue sur une chaîne de caractères UTF-8.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
std::int64_t Int64
Type entier signé sur 64 bits.
std::int32_t Int32
Type entier signé sur 32 bits.