=============== idMsgQueue::GetTotalSize =============== */
| 117 | =============== |
| 118 | */ |
| 119 | int 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 | =============== |
no outgoing calls
no test coverage detected