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

Method MakeInt16

cpp/src/gandiva/selection_vector.cc:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90Status SelectionVector::MakeInt16(int64_t max_slots,
91 std::shared_ptr<arrow::Buffer> buffer,
92 std::shared_ptr<SelectionVector>* selection_vector) {
93 ARROW_RETURN_NOT_OK(SelectionVectorInt16::ValidateBuffer(max_slots, buffer));
94 *selection_vector = std::make_shared<SelectionVectorInt16>(max_slots, buffer);
95 return Status::OK();
96}
97
98Status SelectionVector::MakeInt16(int64_t max_slots, arrow::MemoryPool* pool,
99 std::shared_ptr<SelectionVector>* selection_vector) {

Callers

nothing calls this directly

Calls 2

OKFunction · 0.50
AllocateBufferFunction · 0.50

Tested by

no test coverage detected