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

Method hash

python/mod_cvcuda/include/nvcv/python/Cache.hpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 virtual ~IKey() = default;
33
34 size_t hash() const
35 {
36 size_t h = doGetHash();
37
38 // Make hash dependent on concrete object type
39 h ^= typeid(*this).hash_code() << 1;
40 return h;
41 }
42
43 bool operator==(const IKey &that) const
44 {

Callers 1

operator()Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected