Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/9chu/LuaSTGPlus
/ Max
Method
Max
LuaSTGPlus/CirularQueue.hpp:23–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
bool IsFull() { return (m_Front == (m_Rear + 1) % MaxSize); }
22
size_t Size() { return m_Count; }
23
size_t Max() { return MaxSize - 1; }
24
bool Push(T val)
25
{
26
if (IsFull())
Callers
3
AddPerformance
Method · 0.80
Target_OnResourceCleared
Method · 0.80
Target_OnResourceRemoved
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected