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

Method Make

cpp/src/arrow/array/data.cc:115–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113} // namespace internal
114
115std::shared_ptr<ArrayData> ArrayData::Make(std::shared_ptr<DataType> type, int64_t length,
116 std::vector<std::shared_ptr<Buffer>> buffers,
117 int64_t null_count, int64_t offset) {
118 AdjustNonNullable(type->id(), length, &buffers, &null_count);
119 return std::make_shared<ArrayData>(std::move(type), length, std::move(buffers),
120 null_count, offset);
121}
122
123std::shared_ptr<ArrayData> ArrayData::Make(
124 std::shared_ptr<DataType> type, int64_t length,

Callers

nothing calls this directly

Calls 2

AdjustNonNullableFunction · 0.85
idMethod · 0.45

Tested by

no test coverage detected