Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

saturating_sum

cre8_app_matching_model::numeric::saturating_sum

fn · cre8-app-matching-model · crates/cre8-app-matching-model/src/numeric.rs:85 pub generic documented

3lines
1cyclomatic
0max nesting
1statements
0? exits
1params
6callers
0callees
2.6 (p97)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 2 sitesmethod · 1 sitename · 2 sitespath · 2 sitespath · 2 sitespath · 1 sitepath · 2 sitespath · 1 sitename · 2 sitescompute_route_flowapp-lattice_matching · cc 11cre8_app_lattice_matching::flow::compute_route_flowprice_tensorapp-lattice_matching · cc 3cre8_app_lattice_matching::rates::price_tensorcompute_route_ratesapp-lattice_matching · cc 3cre8_app_lattice_matching::rates::compute_route_ratescompute_slot_ratesapp-lattice_matching · cc 1cre8_app_lattice_matching::rates::compute_slot_ratessubset_volumes_sum_one_side…app-lattice_matching · cc 1cre8_app_lattice_matching::rates::tests::subset_volumes_sum_one_side_over_the_named_assetsleg_vector_splits_back_into…app-matching-model · cc 2cre8_app_matching_model::algebra::tests::leg_vector_splits_back_into_its_sidescompute_slot_rates_overapp-lattice_matching · cc 6cre8_app_lattice_matching::rates::compute_slot_rates_oversubset_volapp-lattice_matching · cc 2cre8_app_lattice_matching::rates::subset_volfind_latent_arcsapp-lattice_matching · cc 6cre8_app_lattice_matching::flow::find_latent_arcsslot_rate_matrixapp-lattice_matching · cc 7cre8_app_lattice_matching::rates::slot_rate_matrixLegVector::side_volumeapp-matching-model · cc 1cre8_app_matching_model::algebra::LegVector::side_volumesaturating_sum_never_wrapsapp-matching-model · cc 1cre8_app_matching_model::numeric::tests::saturating_sum_never_wrapssaturating_sumapp-matching-model · cc 1cre8_app_matching_model::numeric::saturating_sum

Control flow

Source not readable from this process.

Callers 6

Callees 0

    Source not readable from this process.