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

Function get_data_file

cpp/src/parquet/test_util.cc:56–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56std::string get_data_file(const std::string& filename, bool is_good) {
57 std::stringstream ss;
58
59 if (is_good) {
60 ss << get_data_dir();
61 } else {
62 ss << get_bad_data_dir();
63 }
64
65 ss << "/" << filename;
66 return ss.str();
67}
68
69void random_bytes(int n, uint32_t seed, std::vector<uint8_t>* out) {
70 std::default_random_engine gen(seed);

Callers 5

TESTFunction · 0.85
ReadTableFromCSVFileMethod · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85

Calls 3

get_data_dirFunction · 0.85
get_bad_data_dirFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected