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

Method GetOptInt32

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

Source from the content-addressed store, hash-verified

95 }
96
97 static optional<int32_t> GetOptInt32(const int i) {
98 if ((i + 5) % 11 == 1) {
99 return nullopt;
100 }
101 return 3 * i - 17;
102 }
103
104 static optional<uint64_t> GetOptUInt64(const int i) {
105 if ((i + 6) % 11 == 1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected