MCPcopy Create free account
hub / github.com/aws/clock-bound / len

Method len

clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:57–59  ·  view source on GitHub ↗

Returns the number of values in the buffer

(&self)

Source from the content-addressed store, hash-verified

55
56 /// Returns the number of values in the buffer
57 pub fn len(&self) -> usize {
58 self.buffer.len()
59 }
60
61 /// Returns the capacity of the buffer
62 pub fn capacity(&self) -> usize {

Callers 5

pushMethod · 0.45
concurrent_send_receiveFunction · 0.45
is_fullMethod · 0.45
min_rtt_in_quarterMethod · 0.45
readMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected