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

Method GetOptChar

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

Source from the content-addressed store, hash-verified

67 }
68
69 static optional<char> GetOptChar(const int i) {
70 if ((i + 1) % 11 == 1) {
71 return nullopt;
72 }
73 return i & 1 ? 'M' : 'F';
74 }
75
76 static optional<std::array<char, 4>> GetOptCharArray(const int i) {
77 if ((i + 2) % 11 == 1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected