MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / PushBytes

Method PushBytes

src/test/util/net.cpp:324–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void DynSock::Pipe::PushBytes(const void* buf, size_t len)
325{
326 LOCK(m_mutex);
327 const uint8_t* b = static_cast<const uint8_t*>(buf);
328 m_data.insert(m_data.end(), b, b + len);
329 m_cond.notify_all();
330}
331
332void DynSock::Pipe::Eof()
333{

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.80
ConnectClientMethod · 0.80
SendMethod · 0.80

Calls 2

insertMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected