Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ len
Method
len
nodedb-codec/src/lz4.rs:233–235 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
231
}
232
233
pub fn len(&self) -> usize {
234
self.buf.len()
235
}
236
237
pub fn is_empty(&self) -> bool {
238
self.buf.is_empty()
Callers
15
encode_snapshot_chunk
Function · 0.45
decode_snapshot_chunk
Function · 0.45
cluster_size
Method · 0.45
send_append_entries_to_observer
Method · 0.45
handle_request_vote_response
Method · 0.45
learner_catchup_then_promotion_lifecycle
Function · 0.45
encode
Function · 0.45
decode
Function · 0.45
alp_encodability
Function · 0.45
find_best_params
Function · 0.45
typical_cpu_metrics
Function · 0.45
from_i64
Method · 0.45
Calls
no outgoing calls
Tested by
15
learner_catchup_then_promotion_lifecycle
Function · 0.36
typical_cpu_metrics
Function · 0.36
alp_fastlanes_lz4_decimal_metrics
Function · 0.36
alp_beats_gorilla_on_decimals
Function · 0.36
delta_fastlanes_lz4_timestamps
Function · 0.36
constant_rate_timestamps
Function · 0.36
monotonic_with_jitter
Function · 0.36
compression_better_than_raw_for_constant_rate
Function · 0.36
large_data_multiple_blocks
Function · 0.36
compressible_log_data
Function · 0.36
monotonic_counter
Function · 0.36
counter_with_small_increments
Function · 0.36