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

Method UpsizeBuffer

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

Source from the content-addressed store, hash-verified

349 }
350
351 Status UpsizeBuffer(uint64_t capacity) {
352 RETURN_NOT_OK(entries_builder_.Resize(capacity));
353 entries_ = entries_builder_.mutable_data();
354 memset(static_cast<void*>(entries_), 0, capacity * sizeof(Entry));
355
356 return Status::OK();
357 }
358
359 Status Upsize(uint64_t new_capacity) {
360 assert(new_capacity > capacity_);

Callers

nothing calls this directly

Calls 3

OKFunction · 0.50
ResizeMethod · 0.45
mutable_dataMethod · 0.45

Tested by

no test coverage detected