MCPcopy Create free account
hub / github.com/LUX-Core/lux / Clear

Method Clear

src/cryptopp/wait.cpp:59–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void WaitObjectContainer::Clear()
60{
61#ifdef USE_WINDOWS_STYLE_SOCKETS
62 m_handles.clear();
63#else
64 m_maxFd = 0;
65 FD_ZERO(&m_readfds);
66 FD_ZERO(&m_writefds);
67# ifdef CRYPTOPP_MSAN
68 __msan_unpoison(&m_readfds, sizeof(m_readfds));
69 __msan_unpoison(&m_writefds, sizeof(m_writefds));
70# endif
71#endif
72 m_noWait = false;
73 m_firstEventTime = 0;
74}
75
76inline void WaitObjectContainer::SetLastResult(LastResultType result)
77{

Callers 6

BOOST_AUTO_TEST_CASEFunction · 0.45
parseMethod · 0.45
IsolatedInitializeMethod · 0.45
ForwardTcpPortFunction · 0.45
IsolatedInitializeFunction · 0.45
ClearBufferFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.36
ForwardTcpPortFunction · 0.36