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

Method GenerateData

cpp/src/parquet/test_util.h:736–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734
735template <typename TestType>
736inline void PrimitiveTypedTest<TestType>::GenerateData(int64_t num_values,
737 uint32_t seed) {
738 def_levels_.resize(num_values);
739 values_.resize(num_values);
740
741 InitValues<c_type>(static_cast<int>(num_values), seed, values_, buffer_);
742 values_ptr_ = values_.data();
743
744 std::fill(def_levels_.begin(), def_levels_.end(), 1);
745}
746
747template <>
748inline void PrimitiveTypedTest<BooleanType>::GenerateData(int64_t num_values,

Callers 15

TYPED_TESTFunction · 0.45
TEST_FFunction · 0.45
ASSERT_OK_AND_ASSIGNFunction · 0.45
TestMinMaxEncodeMethod · 0.45
TestResetMethod · 0.45
TestMergeMethod · 0.45
TestEqualsMethod · 0.45
TestFullRoundtripMethod · 0.45
TestMinMaxEncodeMethod · 0.45

Calls 4

resizeMethod · 0.80
dataMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected