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

Function RandomData

cpp/src/arrow/io/hdfs_test.cc:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41namespace io {
42
43std::vector<uint8_t> RandomData(int64_t size) {
44 std::vector<uint8_t> buffer(size);
45 random_bytes(size, 0, buffer.data());
46 return buffer;
47}
48
49class TestHadoopFileSystem : public ::testing::Test {
50 public:

Callers 1

TEST_FFunction · 0.85

Calls 2

random_bytesFunction · 0.50
dataMethod · 0.45

Tested by

no test coverage detected