MCPcopy Create free account
hub / github.com/apache/thrift / testStruct

Method testStruct

test/cpp/src/TestServer.cpp:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 }
147
148 void testStruct(Xtruct& out, const Xtruct& thing) override {
149 printf("testStruct({\"%s\", %d, %d, %" PRId64 "})\n",
150 thing.string_thing.c_str(),
151 (int)thing.byte_thing,
152 thing.i32_thing,
153 thing.i64_thing);
154 out = thing;
155 }
156
157 void testNest(Xtruct2& out, const Xtruct2& nest) override {
158 const Xtruct& thing = nest.struct_thing;

Callers 2

testStructMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected