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

Method resize

deps/GraphBLAS/CUDA/jitify.hpp:233–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 public:
232 inline ObjectCache(size_t capacity = 8) : _capacity(capacity) {}
233 inline void resize(size_t capacity) {
234 _capacity = capacity;
235 this->discard_old();
236 }
237 inline bool contains(const key_type& k) const {
238 return (bool)_objects.count(k);
239 }

Callers 5

mxm_factoryMethod · 0.80
reduce_factoryMethod · 0.80
CaptureMethod · 0.80
deserializeFunction · 0.80

Calls 1

discard_oldMethod · 0.95

Tested by

no test coverage detected