MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / CUT_FIFO_Queue

Method CUT_FIFO_Queue

UTCP/src/UT_Queue.cpp:39–46  ·  view source on GitHub ↗

CUT_FIFO_Queue Constructor PARAM: size - size for circular queue RETURN: none ************************************************/

Source from the content-addressed store, hash-verified

37 none
38************************************************/
39CUT_FIFO_Queue::CUT_FIFO_Queue(unsigned int size, unsigned int growSize) {
40
41 m_cbBuffer = size + 1;
42 m_cbGrow = growSize;
43 m_pbBuffer = new BYTE[m_cbBuffer];
44 m_iReadPointer = 0;
45 m_iWritePointer = 0;
46}
47
48/***********************************************
49CUT_FIFO_Queue

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected