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

Function main

cpp/examples/arrow/flight_grpc_example.cc:104–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104int main(int argc, char** argv) {
105 gflags::ParseCommandLineFlags(&argc, &argv, true);
106
107 if (FLAGS_port < 0) {
108 // For CI
109 std::cout << "Must specify a port with -port" << std::endl;
110 return EXIT_SUCCESS;
111 }
112
113 auto status = RunFlightGrpc();
114 if (!status.ok()) {
115 std::cerr << status.ToString() << std::endl;
116 return EXIT_FAILURE;
117 }
118
119 return EXIT_SUCCESS;
120}

Callers

nothing calls this directly

Calls 3

RunFlightGrpcFunction · 0.85
okMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected