Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ push_back
Method
push_back
dlib/sliding_buffer/circular_buffer.h:99–106 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
97
}
98
99
void push_back(const T& value)
100
{
101
if (data.size() != 0)
102
{
103
data[offset] = value;
104
offset = (offset + 1 + data.size())%data.size();
105
}
106
}
107
108
T& front(
109
)
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected