Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/clock-bound
/ new_buffer
Function
new_buffer
clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:195–201 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
193
}
194
195
/// Specify the quarter in [`RingBuffer::min_rtt_in_quarter`] to use
196
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
197
pub enum Quarter {
198
Oldest,
199
Newest,
200
}
201
202
#[cfg(test)]
203
mod tests {
204
use super::*;
Callers
nothing calls this directly
Calls
1
new
Function · 0.50
Tested by
no test coverage detected