Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/9chu/LuaSTGPlus
/ IsEmpty
Method
IsEmpty
LuaSTGPlus/CirularQueue.hpp:20–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
return m_Data[(idx + m_Front) % MaxSize];
19
}
20
bool IsEmpty() { return m_Front == m_Rear; }
21
bool IsFull() { return (m_Front == (m_Rear + 1) % MaxSize); }
22
size_t Size() { return m_Count; }
23
size_t Max() { return MaxSize - 1; }
Callers
1
Update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected