Skip to content
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

scale_balances

cre8_app_ballot::rep_weight::scale_balances

fn · cre8-app-ballot · crates/cre8-app-ballot/src/rep_weight.rs:144 pub documented

13lines
2cyclomatic
1max nesting
3statements
0? exits
2params
5callers
0callees
2.4 (p96)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (5 direct callers, 0 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

path · 1 sitepath · 1 sitename · 1 sitepath · 2 sitespath · 3 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitename · 1 sitename · 1 siteapply_weight_with_decay_if_…app-ballot · cc 5cre8_app_ballot::connection::apply_weight_with_decay_if_availableinspect_innerapp-ballot · cc 14cre8_app_ballot::program_recovery::native::inspect_innerrun_weighted_votesapp-ballot · cc 1cre8_app_ballot::bin::rep_weighted_ballot_demo::run::run_weighted_votesrun_weighted_vote_actsapp-agent · cc 1cre8_app_agent::bin::first_day_demo::run::run_weighted_vote_actsclaim_answerapp-ballot · cc 1cre8_app_ballot::program_recovery::native::claim_answerapply_weight_scales_aggrega…app-ballot · cc 1cre8_app_ballot::rep_weight::tests::apply_weight_scales_aggregate_positionapply_weight_with_unweighte…app-ballot · cc 1cre8_app_ballot::rep_weight::tests::apply_weight_with_unweighted_ballot_leaves_amounts_aloneapply_weight_with_no_rep_vo…app-ballot · cc 1cre8_app_ballot::rep_weight::tests::apply_weight_with_no_rep_voter_on_tagged_ballot_leaves_amounts_aloneapply_weight_to_responseapp-ballot · cc 2cre8_app_ballot::rep_weight::apply_weight_to_responseapply_weight_to_response_wi…app-ballot · cc 6cre8_app_ballot::rep_weight::apply_weight_to_response_with_decayjournal_matches_expectedapp-ballot · cc 11cre8_app_ballot::program_recovery::native::journal_matches_expectedscale_balances_multiplies_a…app-ballot · cc 1cre8_app_ballot::rep_weight::tests::scale_balances_multiplies_amountsscale_balances_at_one_retur…app-ballot · cc 1cre8_app_ballot::rep_weight::tests::scale_balances_at_one_returns_input_unchangedscale_balancesapp-ballot · cc 2cre8_app_ballot::rep_weight::scale_balances

Control flow

Source not readable from this process.

Callees 0

    Source not readable from this process.