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

Method VisitEntries

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

Source from the content-addressed store, hash-verified

289 // The visit_func should have signature Status(const Entry*)
290 template <typename VisitFunc>
291 Status VisitEntries(VisitFunc&& visit_func) const {
292 for (uint64_t i = 0; i < capacity_; i++) {
293 const auto& entry = entries_[i];
294 if (entry) {
295 RETURN_NOT_OK(visit_func(&entry));
296 }
297 }
298 return Status::OK();
299 }
300
301 protected:
302 // NoCompare is for when the value is known not to exist in the table

Callers 2

CopyValuesMethod · 0.80
MergeTableMethod · 0.80

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected