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

Method testList

test/cpp/src/TestServer.cpp:218–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 }
217
218 void testList(vector<int32_t>& out, const vector<int32_t>& thing) override {
219 printf("testList({");
220 vector<int32_t>::const_iterator l_iter;
221 bool first = true;
222 for (l_iter = thing.begin(); l_iter != thing.end(); ++l_iter) {
223 if (first) {
224 first = false;
225 } else {
226 printf(", ");
227 }
228 printf("%d", *l_iter);
229 }
230 printf("})\n");
231 out = thing;
232 }
233
234 Numberz::type testEnum(const Numberz::type thing) override {
235 printf("testEnum(%d)\n", thing);

Callers 2

testListMethod · 0.45
mainFunction · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected