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

Method Find

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

Source from the content-addressed store, hash-verified

75 K MakeKey(int num) { return std::to_string(num); }
76
77 const V* Find(Cache* cache, int num) { return cache->Find(MakeKey(num)); }
78
79 bool Replace(Cache* cache, int num, int value_num) {
80 auto pair = cache->Replace(MakeKey(num), V{value_num});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected