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

Method GetBool

cpp/src/parquet/stream_reader_test.cc:46–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45 static std::string GetString(const int i) { return "Str #" + std::to_string(i); }
46 static bool GetBool(const int i) { return i % 7 < 3; }
47 static char GetChar(const int i) { return i & 1 ? 'M' : 'F'; }
48 static std::array<char, 4> GetCharArray(const int i) {
49 return {'X', 'Y', 'Z', char('A' + i % 26)};

Callers 2

ParseMethod · 0.45
ParseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected