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

Function MakeRandomData

cpp/src/arrow/util/compression_test.cc:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39namespace util {
40
41std::vector<uint8_t> MakeRandomData(int data_size) {
42 std::vector<uint8_t> data(data_size);
43 random_bytes(data_size, 1234, data.data());
44 return data;
45}
46
47std::vector<uint8_t> MakeCompressibleData(int data_size) {
48 std::string base_data =

Callers 3

TEST_PFunction · 0.70
TESTFunction · 0.70
CheckSpecifyCodecOptionsFunction · 0.70

Calls 2

random_bytesFunction · 0.50
dataMethod · 0.45

Tested by

no test coverage detected