MCPcopy Create free account
hub / github.com/apache/arrow / operator()

Method operator()

cpp/src/arrow/util/cache_test.cc:179–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 std::atomic<int> num_calls{0};
178
179 IntValue operator()(const std::string& s) {
180 ++num_calls;
181 return IntValue{std::stoi(s)};
182 }
183};
184
185struct MemoizeLruFactory {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected