Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icinga/icinga2
/ GetLength
Method
GetLength
lib/base/ringbuffer.cpp:15–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
{ }
14
15
RingBuffer::SizeType RingBuffer::GetLength() const
16
{
17
std::unique_lock<std::mutex> lock(m_Mutex);
18
return m_Slots.size();
19
}
20
21
void RingBuffer::InsertValue(RingBuffer::SizeType tv, int num)
22
{
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected