MCPcopy Create free account
hub / github.com/acl-dev/acl / test_pipe

Function test_pipe

lib_acl_cpp/samples/zlib/zlib.cpp:240–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240static void test_pipe()
241{
242 acl::pipe_manager manager;
243 acl::pipe_string ps1, ps2, ps3;
244
245 manager.push_back(&ps1);
246 manager.push_back(&ps2);
247 manager.push_back(&ps3);
248
249 for (int i = 0; i < 4096; i++)
250 manager.update("x", 1);
251 manager.update("", 1);
252 manager.update_end();
253 printf("result >>%s\r\n", ps3.c_str());
254}
255
256int main(int argc, char* argv[])
257{

Callers 1

mainFunction · 0.85

Calls 4

push_backMethod · 0.45
updateMethod · 0.45
update_endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…