MCPcopy Create free account
hub / github.com/ddnet/ddnet / Next

Method Next

src/engine/shared/ringbuffer.cpp:181–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void *CRingBufferBase::Next(void *pCurrent)
182{
183 CItem *pItem = ((CItem *)pCurrent) - 1;
184
185 while(true)
186 {
187 pItem = NextBlock(pItem);
188 if(pItem == m_pProduce)
189 return nullptr;
190 if(!pItem->m_Free)
191 return pItem + 1;
192 }
193}
194
195void *CRingBufferBase::First()
196{

Callers 15

PumpBacklogPendingMethod · 0.45
OnInputMethod · 0.45
GetLinesToScrollMethod · 0.45
DumpMethod · 0.45
OnInputMethod · 0.45
ScaleMethod · 0.45
RenderDataLinesMethod · 0.45
ResendMethod · 0.45
DumpMethod · 0.45
FirstCommandInfoMethod · 0.45
NextCommandInfoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected