MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / doGetHash

Method doGetHash

python/mod_cvcuda/nvcv/Array.cpp:261–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261size_t Array::Key::doGetHash() const
262{
263 if (m_wrapper)
264 {
265 return 0; // all wrappers are equal wrt. the cache
266 }
267 else
268 {
269 using util::ComputeHash;
270 return ComputeHash(m_length, m_dtype);
271 }
272}
273
274bool Array::Key::doIsCompatible(const IKey &that_) const
275{

Callers

nothing calls this directly

Calls 1

ComputeHashFunction · 0.70

Tested by

no test coverage detected