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

Method GetOptUInt16

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

Source from the content-addressed store, hash-verified

88 }
89
90 static optional<uint16_t> GetOptUInt16(const int i) {
91 if ((i + 4) % 11 == 1) {
92 return nullopt;
93 }
94 return static_cast<uint16_t>(i);
95 }
96
97 static optional<int32_t> GetOptInt32(const int i) {
98 if ((i + 5) % 11 == 1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected