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

Method GetOptCharArray

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

Source from the content-addressed store, hash-verified

74 }
75
76 static optional<std::array<char, 4>> GetOptCharArray(const int i) {
77 if ((i + 2) % 11 == 1) {
78 return nullopt;
79 }
80 return std::array<char, 4>{{'X', 'Y', 'Z', char('A' + i % 26)}};
81 }
82
83 static optional<int8_t> GetOptInt8(const int i) {
84 if ((i + 3) % 11 == 1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected