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

Method Lookup

cpp/src/arrow/util/hashing.h:259–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257 // Return a (Entry*, found) pair.
258 template <typename CmpFunc>
259 std::pair<Entry*, bool> Lookup(hash_t h, CmpFunc&& cmp_func) {
260 auto p = Lookup<DoCompare, CmpFunc>(h, entries_, capacity_mask_,
261 std::forward<CmpFunc>(cmp_func));
262 return {&entries_[p.first], p.second};
263 }
264
265 template <typename CmpFunc>
266 std::pair<const Entry*, bool> Lookup(hash_t h, CmpFunc&& cmp_func) const {

Callers 3

GetMethod · 0.45
GetOrInsertMethod · 0.45
LookupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected