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

Method NeedUpsizing

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

Source from the content-addressed store, hash-verified

344 }
345
346 bool NeedUpsizing() const {
347 // Keep the load factor <= 1/2
348 return size_ * kLoadFactor >= capacity_;
349 }
350
351 Status UpsizeBuffer(uint64_t capacity) {
352 RETURN_NOT_OK(entries_builder_.Resize(capacity));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected