MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / Fork

Method Fork

src/cryptlib/forkjoin.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#endif
13
14Fork::Fork(int n, BufferedTransformation *const *givenOutPorts)
15 : numberOfPorts(n), outPorts(n)
16{
17 currentPort = 0;
18
19 for (unsigned int i=0; i<numberOfPorts; i++)
20 outPorts[i].reset(givenOutPorts ? givenOutPorts[i] : new ByteQueue);
21}
22
23void Fork::SelectOutPort(int portNumber)
24{

Callers

nothing calls this directly

Calls 1

resetMethod · 0.80

Tested by

no test coverage detected