14#include "arcane/utils/MD5HashAlgorithm.h"
15#include "arcane/utils/FatalErrorException.h"
17#include "arcane/core/IParallelMng.h"
19#include "arcane/std/internal/MetisGraphDigest.h"
32MD5HashAlgorithm hash_algo;
33const Integer idx_t_size =
sizeof(idx_t);
34const Integer real_t_size =
sizeof(real_t);
42MetisGraphDigest(IParallelMng* pm)
43: TraceAccessor(pm->traceMng())
45, m_my_rank(pm->commRank())
46, m_nb_rank(pm->commSize())
82void MetisGraphDigest::
87 info() <<
"COMPUTE_HASH=" << name <<
" v=" << Convert::toHexaString(bytes);
88 output.addRange(bytes);
94void MetisGraphDigest::
95_computeHash(Span<const real_t> data, ByteArray& output,
const char* name)
97 UniqueArray<Byte> bytes;
99 info() <<
"COMPUTE_HASH=" << name <<
" v=" << Convert::toHexaString(bytes);
100 output.addRange(bytes);
105#define COMPUTE_HASH1(array, output) _computeHash(array, output, #array)
106#define COMPUTE_HASH(array, n, output) _computeHash({ array, n }, output, #array)
112 const idx_t* options)
149 if ((*options) == 1) {
Tableau d'items de types quelconques.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Int32 Integer
Type représentant un entier.
detail::SpanTypeFromSize< conststd::byte, SizeType >::SpanType asBytes(const SpanImpl< DataType, SizeType, Extent > &s)
Converti la vue en un tableau d'octets non modifiables.