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

Method InitForLength

cpp/src/parquet/level_conversion_test.cc:167–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165class NestedListTest : public testing::Test {
166 public:
167 void InitForLength(int length) {
168 this->validity_bits_.clear();
169 this->validity_bits_.insert(this->validity_bits_.end(), length, 0);
170 validity_io_.valid_bits = validity_bits_.data();
171 validity_io_.values_read_upper_bound = length;
172 offsets_.clear();
173 offsets_.insert(offsets_.end(), length + 1, 0);
174 }
175
176 typename ConverterType::OffsetsType* Run(const MultiLevelTestData& test_data,
177 LevelInfo level_info) {

Callers 1

TYPED_TESTFunction · 0.80

Calls 4

clearMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected