MCPcopy Create free account
hub / github.com/Kitware/CMake / reset

Method reset

Source/cmWorkerPool.cxx:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73};
74
75void cmUVPipeBuffer::reset()
76{
77 if (this->UVPipe_.get()) {
78 this->EndFunction_ = nullptr;
79 this->DataFunction_ = nullptr;
80 this->Buffer_.clear();
81 this->Buffer_.shrink_to_fit();
82 this->UVPipe_.reset();
83 }
84}
85
86bool cmUVPipeBuffer::init(uv_loop_t* uv_loop)
87{

Callers 15

initMethod · 0.95
runTestFunction · 0.45
signal_reset_fnFunction · 0.45
testLoopResetFunction · 0.45
testEditionFunction · 0.45
testUVStreamReadFunction · 0.45
testUVStreamReadLeakFunction · 0.45
testWriteCallbackFunction · 0.45
testSwapFunction · 0.45
testResetFunction · 0.45

Calls 3

getMethod · 0.45
clearMethod · 0.45
emptyMethod · 0.45

Tested by 15

runTestFunction · 0.36
signal_reset_fnFunction · 0.36
testLoopResetFunction · 0.36
testEditionFunction · 0.36
testUVStreamReadFunction · 0.36
testUVStreamReadLeakFunction · 0.36
testWriteCallbackFunction · 0.36
testSwapFunction · 0.36
testResetFunction · 0.36
testEmplaceFunction · 0.36