Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/clock-bound
/ is_full
Method
is_full
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:72–74 ·
view source on GitHub ↗
Returns `true` if the buffer is full
(&self)
Source
from the content-addressed store, hash-verified
70
71
/// Returns `true` if the buffer is full
72
pub fn is_full(&self) -> bool {
73
self.buffer.len() == self.capacity
74
}
75
76
/// Clears the buffer
77
pub fn clear(&mut self) {
Callers
1
push
Method · 0.80
Calls
1
len
Method · 0.45
Tested by
no test coverage detected