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

Method GetOptInt8

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

Source from the content-addressed store, hash-verified

81 }
82
83 static optional<int8_t> GetOptInt8(const int i) {
84 if ((i + 3) % 11 == 1) {
85 return nullopt;
86 }
87 return static_cast<int8_t>((i % 256) - 128);
88 }
89
90 static optional<uint16_t> GetOptUInt16(const int i) {
91 if ((i + 4) % 11 == 1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected