Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ len
Method
len
nodedb/src/event/cdc/buffer.rs:205–207 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
203
}
204
205
pub fn len(&self) -> usize {
206
self.events.read().unwrap_or_else(|p| p.into_inner()).len()
207
}
208
209
pub fn is_empty(&self) -> bool {
210
self.len() == 0
Callers
15
diff_arrays
Function · 0.45
diff_strings
Function · 0.45
record_process_for_tenant
Method · 0.45
partition_count
Method · 0.45
load
Method · 0.45
spawn
Method · 0.45
num_consumers
Method · 0.45
parse_put_record
Function · 0.45
parse_delete_record
Function · 0.45
drain_ring_buffer
Function · 0.45
consumer_loop
Function · 0.45
strip_procedural_wrapper
Function · 0.45
Calls
1
read
Method · 0.45
Tested by
no test coverage detected