1 viewer
rust 1,859,748 · typescript 235,215 · javascript 132,932 · python 20,426 · 6,405 files · digest 3ddca2872e6e · built in 1.4 s · crystals off
crates/cre8-app-network/src/hot_path.rs
Items
const HOT_PATH_MAX_ATTESTORS enum QuorumVerdict type AttestorKey
Functions
By call-graph weight (PageRank; 1.0 is the average function). 15 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| quorum_verdictsrc/hot_path.rs:91 | fn | 31 | 8 | 11 | 0 | 3.2 | |
| key_from_strsrc/hot_path.rs:127 | fn | 7 | 1 | 4 | 0 | 3 | |
| keyssrc/hot_path.rs:139 | fn | 3 | 1 | 7 | 1 | 2 | |
| empty_attestors_with_zero_threshold_is_metsrc/hot_path.rs:144 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| empty_attestors_with_positive_threshold_is_not_metsrc/hot_path.rs:150 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| single_attestor_meets_threshold_onesrc/hot_path.rs:156 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| three_distinct_attestors_meet_threshold_threesrc/hot_path.rs:163 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| duplicates_collapse_to_distinct_countsrc/hot_path.rs:170 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| early_exit_when_quorum_reachedsrc/hot_path.rs:180 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| count_threshold_exact_boundarysrc/hot_path.rs:189 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| overflow_returns_fallback_verdictsrc/hot_path.rs:198 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| at_capacity_does_not_overflowsrc/hot_path.rs:204 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| deterministic_across_callssrc/hot_path.rs:213 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| key_from_str_is_deterministicsrc/hot_path.rs:222 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| hot_path_matches_amendment_quorum_semanticssrc/hot_path.rs:231 | fn | 7 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.