MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / GetTotalSize

Method GetTotalSize

neo/framework/async/MsgChannel.cpp:119–125  ·  view source on GitHub ↗

=============== idMsgQueue::GetTotalSize =============== */

Source from the content-addressed store, hash-verified

117===============
118*/
119int idMsgQueue::GetTotalSize( void ) const {
120 if ( startIndex <= endIndex ) {
121 return ( endIndex - startIndex );
122 } else {
123 return ( sizeof( buffer ) - startIndex + endIndex );
124 }
125}
126
127/*
128===============

Callers 2

WriteMessageDataMethod · 0.80
SendMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected