1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-network/src/federation/position_gossip.rs
Items
const MAX_FEDERATED_POSITION_NETWORKS const MAX_FEDERATED_POSITIONS_PER_NETWORK struct FederatedPositionEnvelope struct FederatedPosition impl FederatedPosition static FEDERATED_POSITIONS static LOCK
Functions
By call-graph weight (PageRank; 1.0 is the average function). 13 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| federated_positionssrc/federation/position_gossip.rs:101 | fn | 7 | 2 | 6 | 2 | 3.8 | |
| cachesrc/federation/position_gossip.rs:70 | fn | 3 | 1 | 3 | 0 | 3.5 | |
| FederatedPosition::to_position_recordsrc/federation/position_gossip.rs:53 | method | 10 | 1 | 2 | 0 | 2.2 | |
| receive_positionssrc/federation/position_gossip.rs:75 | fn | 24 | 4 | 4 | 1 | 1 | |
| FederatedPosition::from_localsrc/federation/position_gossip.rs:42 | method | 10 | 1 | 2 | 0 | 0.9 | |
| test_positionsrc/federation/position_gossip.rs:146 | fn | 9 | 1 | 4 | 0 | 0.8 | |
| build_position_envelopesrc/federation/position_gossip.rs:110 | fn | 18 | 1 | 3 | 2 | 0.8 | |
| clear_cachesrc/federation/position_gossip.rs:130 | fn | 5 | 2 | 3 | 1 | 0.7 | |
| cache_test_guardsrc/federation/position_gossip.rs:141 | fn | 4 | 1 | 3 | 0 | 0.7 | |
| envelope_roundtripsrc/federation/position_gossip.rs:157 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| receive_and_query_federated_positionssrc/federation/position_gossip.rs:171 | fn | 10 | 1 | 0 | 6 | 0.5 | |
| receive_positions_truncates_oversized_snapshotssrc/federation/position_gossip.rs:183 | fn | 23 | 1 | 0 | 6 | 0.5 | |
| receive_positions_bounds_network_countsrc/federation/position_gossip.rs:208 | fn | 13 | 2 | 0 | 6 | 0.5 |
Source not readable from this process.