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-peer/src/dht.rs
Items
Functions
By call-graph weight (PageRank; 1.0 is the average function). 19 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| hex_to_32src/dht.rs:22 | fn | 8 | 1 | 1 | 0 | 2 | |
| xor_distancesrc/dht.rs:12 | fn | 9 | 2 | 5 | 1 | 1.8 | |
| bucket_indexsrc/dht.rs:32 | fn | 8 | 3 | 4 | 0 | 1.5 | |
| routing_table_statussrc/dht.rs:236 | fn | 35 | 5 | 2 | 4 | 1.3 | |
| find_node_iterativesrc/dht.rs:64 | fn | 23 | 3 | 2 | 4 | 1.2 | |
| fetch_providers_from_peersrc/dht.rs:206 | fn | 13 | 1 | 1 | 3 | 1.2 | |
| distance_to_hexsrc/dht.rs:41 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| closest_k_with_distsrc/dht.rs:115 | fn | 18 | 2 | 2 | 2 | 1 | |
| closest_k_peerssrc/dht.rs:48 | fn | 13 | 2 | 1 | 3 | 1 | |
| find_valuesrc/dht.rs:94 | fn | 18 | 1 | 1 | 4 | 1 | |
| refresh_kbucketsrc/dht.rs:273 | fn | 43 | 7 | 2 | 6 | 0.9 | |
| get_local_dht_idsrc/dht.rs:317 | fn | 14 | 1 | 2 | 0 | 0.9 | |
| fetch_closest_from_peersrc/dht.rs:221 | fn | 13 | 1 | 1 | 3 | 0.9 | |
| remember_seen_peerssrc/dht.rs:134 | fn | 5 | 2 | 2 | 0 | 0.8 | |
| discover_closer_peerssrc/dht.rs:140 | fn | 26 | 7 | 2 | 2 | 0.8 | |
| provider_idssrc/dht.rs:176 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| extend_remote_providerssrc/dht.rs:180 | fn | 24 | 7 | 2 | 1 | 0.8 | |
| peer_with_distancesrc/dht.rs:167 | fn | 8 | 2 | 1 | 2 | 0.8 | |
| iterative_helpers_handle_empty_addresses_without_networksrc/dht.rs:338 | fn | 21 | 1 | 0 | 5 | 0.5 |
Source not readable from this process.