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

Function AppendEmptyValue

cpp/src/arrow/array/builder_adaptive.h:85–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 Status AppendEmptyValue() final {
86 pending_data_[pending_pos_] = 0;
87 pending_valid_[pending_pos_] = 1;
88 ++pending_pos_;
89 ++length_;
90
91 if (ARROW_PREDICT_FALSE(pending_pos_ >= pending_size_)) {
92 return CommitPendingData();
93 }
94 return Status::OK();
95 }
96
97 void Reset() override;
98 Status Resize(int64_t capacity) override;

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected