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

Method SetUp

cpp/src/arrow/array/array_binary_test.cc:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 using BuilderType = typename TypeTraits<TypeClass>::BuilderType;
85
86 void SetUp() {
87 chars_ = {'a', 'b', 'b', 'c', 'c', 'c'};
88 offsets_ = {0, 1, 1, 1, 3, 6};
89 valid_bytes_ = {1, 1, 0, 1, 1};
90 expected_ = {"a", "", "", "bb", "ccc"};
91
92 MakeArray();
93 }
94
95 void MakeArray() {
96 length_ = static_cast<int64_t>(offsets_.size()) - 1;

Callers

nothing calls this directly

Calls 1

MakeArrayFunction · 0.70

Tested by

no test coverage detected