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

Method GetOptDouble

cpp/src/parquet/stream_reader_test.cc:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 static optional<double> GetOptDouble(const int i) {
126 if ((i + 2) % 3 == 0) {
127 return nullopt;
128 }
129 return 6.62607004e-34 * 3e8 * i;
130 }
131
132 static optional<std::chrono::microseconds> GetOptChronoMicroseconds(const int i) {
133 if ((i + 2) % 7 == 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected