MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Write

Method Write

lib/base/fifo.cpp:80–87  ·  view source on GitHub ↗

* Implements IOQueue::Write. */

Source from the content-addressed store, hash-verified

78 * Implements IOQueue::Write.
79 */
80void FIFO::Write(const void *buffer, size_t count)
81{
82 ResizeBuffer(m_Offset + m_DataSize + count, false);
83 std::memcpy(m_Buffer + m_Offset + m_DataSize, buffer, count);
84 m_DataSize += count;
85
86 SignalDataAvailable();
87}
88
89void FIFO::Close()
90{ }

Callers 6

CommandPipeThreadMethod · 0.45
WriteStringToStreamMethod · 0.45
SendResponseMethod · 0.45
PrintFixed16Method · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
EnableFeatureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected