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

Function GenerateData

cpp/src/parquet/test_util.h:765–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763
764template <typename T>
765inline void GenerateData(int num_values, T* out, std::vector<uint8_t>* heap) {
766 // seed the prng so failure is deterministic
767 random_numbers(num_values, 0, std::numeric_limits<T>::min(),
768 std::numeric_limits<T>::max(), out);
769}
770
771template <typename T>
772inline void GenerateBoundData(int num_values, T* out, T min, T max,

Callers 3

ASSERT_OK_AND_ASSIGNFunction · 0.70
GenerateTestDataMethod · 0.70
SetUpMethod · 0.50

Calls 1

random_numbersFunction · 0.85

Tested by

no test coverage detected