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

Function MemoizeLruThreadUnsafe

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

Source from the content-addressed store, hash-verified

200template <typename Key, typename Func>
201 requires std::is_invocable_v<Func, const Key&>
202static auto MemoizeLruThreadUnsafe(Func&& func, int32_t cache_capacity) {
203 return detail::Memoize<LruCache, detail::ThreadUnsafeMemoizer, Key>(
204 std::forward<Func>(func), cache_capacity);
205}
206
207} // namespace internal
208} // namespace arrow

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected