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

Function MakeRandomData

cpp/src/arrow/io/compressed_test.cc:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51#endif
52
53std::vector<uint8_t> MakeRandomData(int data_size) {
54 std::vector<uint8_t> data(data_size);
55 random_bytes(data_size, 1234, data.data());
56 return data;
57}
58
59std::vector<uint8_t> MakeCompressibleData(int data_size) {
60 std::string base_data =

Callers 1

TEST_PFunction · 0.70

Calls 2

random_bytesFunction · 0.50
dataMethod · 0.45

Tested by

no test coverage detected