MCPcopy Create free account
hub / github.com/c3d/tao3D / Clear

Method Clear

libcryptopp/cryptopp/queue.cpp:203–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void ByteQueue::Clear()
204{
205 for (ByteQueueNode *next, *current=m_head->next; current; current=next)
206 {
207 next=current->next;
208 delete current;
209 }
210
211 m_tail = m_head;
212 m_head->Clear();
213 m_head->next = NULL;
214 m_lazyLength = 0;
215}
216
217size_t ByteQueue::Put2(const byte *inString, size_t length, int messageEnd, bool blocking)
218{

Callers 1

CleanupUsedNodesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected