MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / contains

Method contains

deps/GraphBLAS/CUDA/jitify.hpp:237–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 this->discard_old();
236 }
237 inline bool contains(const key_type& k) const {
238 return (bool)_objects.count(k);
239 }
240 inline void touch(const key_type& k) {
241 if (!this->contains(k)) {
242 throw std::runtime_error("Key not found in cache");

Callers 4

touchMethod · 0.95
ObjectCacheClass · 0.95
Program_implMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected