15 auto digest =
h.Get();
16 os << digest[0] <<
"-" << digest[1] <<
"-" << digest[2] <<
"-" << digest[3];
23 Sha256(
reinterpret_cast<const unsigned char *
>(data), len,
fDigest);
27 std::set<ROOT::Internal::RConcurrentHashColl::HashValue> fSet;
69 auto ret =
fHashSet->fSet.insert(hash);
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
bool Insert(char *buf, int len) const
If the hash is there, return false. Otherwise, insert the hash and return true;.
std::unique_ptr< RHashSet > fHashSet
static HashValue Hash(char *buf, int len)
Return the hash object corresponding to the buffer.
std::unique_ptr< ROOT::TRWSpinLock > fRWLock
bool Find(const HashValue &hash) const
Return true if the hash is already in already there.
void Sha256(const unsigned char *data, int len, ULong64_t *fDigest)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...