MCPcopy Create free account
hub / github.com/apache/arrow / ThreadUnsafeMemoizer

Method ThreadUnsafeMemoizer

cpp/src/arrow/util/cache_internal.h:151–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150 template <typename F>
151 ThreadUnsafeMemoizer(F&& func, int32_t cache_capacity)
152 : func_(std::forward<F>(func)), cache_(cache_capacity) {}
153
154 const Value& operator()(const Key& key) {
155 const Value* value_ptr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected