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

Method Values

cpp/src/arrow/dataset/test_util_internal.h:424–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422 }
423
424 static std::vector<TestFormatParams> Values() {
425 std::vector<TestFormatParams> values;
426 // Use a reduced number of batches in valgrind to avoid timeouts.
427#ifndef ARROW_VALGRIND
428 int num_batches = 16;
429#else
430 int num_batches = 4;
431#endif
432 for (const bool use_threads : std::vector<bool>{true, false}) {
433 values.push_back(TestFormatParams{use_threads, num_batches, 1024});
434 }
435 return values;
436 }
437};
438
439inline std::ostream& operator<<(std::ostream& out, const TestFormatParams& params) {

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected