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

Function AccumulateLayouts

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

Source from the content-addressed store, hash-verified

742namespace {
743
744void AccumulateLayouts(const std::shared_ptr<DataType>& type,
745 std::vector<DataTypeLayout>* layouts) {
746 layouts->push_back(type->layout());
747 for (const auto& child : type->fields()) {
748 AccumulateLayouts(child->type(), layouts);
749 }
750}
751
752void AccumulateArrayData(const std::shared_ptr<ArrayData>& data,
753 std::vector<std::shared_ptr<ArrayData>>* out) {

Callers 1

GetArrayViewFunction · 0.85

Calls 4

push_backMethod · 0.80
layoutMethod · 0.45
fieldsMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected