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

Method GetOptString

cpp/src/parquet/stream_reader_test.cc:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 static optional<std::string> GetOptString(const int i) {
112 if (i % 5 == 0) {
113 return nullopt;
114 }
115 return "Str #" + std::to_string(i);
116 }
117
118 static optional<float> GetOptFloat(const int i) {
119 if ((i + 1) % 3 == 0) {

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected