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

Function GetNullFile

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

Source from the content-addressed store, hash-verified

49using internal::Pipe;
50
51std::string GetNullFile() {
52#ifdef _WIN32
53 return "NUL";
54#else
55 return "/dev/null";
56#endif
57}
58
59const std::valarray<int64_t> small_sizes = {8, 24, 33, 1, 32, 192, 16, 40};
60const std::valarray<int64_t> large_sizes = {8192, 100000};

Calls

no outgoing calls

Tested by

no test coverage detected