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

allocate

cre8_app_matching::paper_allocation::allocate

fn · cre8-app-matching · crates/cre8-app-matching/src/paper_allocation.rs:202 pub

127lines
15cyclomatic
2max nesting
65statements
2? exits
2params
13callers
7callees
3.4 (p98)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 2 sitespath · 1 sitemethod · 6 sitespath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 2 sitesname · 1 sitename · 2 sitesname · 3 sitesname · 1 sitename · 2 sitesname · 1 sitepath · 1 sitemethod · 5 sitesmethod · 1 sitemethod · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitename · 1 sitename · 3 sitesname · 2 sitesname · 3 sitesself · 1 siteself · 1 siteself · 1 siteself · 1 sitecompareapp-capitalstrategy · cc 11cre8_app_capitalstrategy::replay_allocation::compareforecasts_costs_clock_and_p…app-matching · cc 1cre8_app_matching::paper_allocation_tests::forecasts_costs_clock_and_policy_bind_cacherunapp-capitalstrategy · cc 8cre8_app_capitalstrategy::replay_allocation::runAllocationCache::allocateapp-matching · cc 3cre8_app_matching::paper_allocation::AllocationCache::allocateexcess_cash_lots_are_reject…app-matching · cc 1cre8_app_matching::paper_allocation_tests::excess_cash_lots_are_rejected_instead_of_silently_truncatedresidual_rerouting_beats_a_…app-matching · cc 1cre8_app_matching::paper_allocation_tests::residual_rerouting_beats_a_greedy_conflictcustom_absolute_horizon_sur…app-matching · cc 1cre8_app_matching::paper_allocation_tests::custom_absolute_horizon_survives_receiptno_capacity_created_from_be…app-matching · cc 1cre8_app_matching::paper_allocation_tests::no_capacity_created_from_better_forecastsdeeper_book_cannot_create_u…app-matching · cc 2cre8_app_matching::paper_allocation_tests::deeper_book_cannot_create_unit_returnhorizons_share_book_and_ass…app-matching · cc 1cre8_app_matching::paper_allocation_tests::horizons_share_book_and_asset_capacitycosts_are_reserved_and_no_e…app-matching · cc 1cre8_app_matching::paper_allocation_tests::costs_are_reserved_and_no_edge_means_cashmalformed_future_or_unsuppo…app-matching · cc 2cre8_app_matching::paper_allocation_tests::malformed_future_or_unsupported_forecasts_cannot_tradeduplicate_resources_and_unk…app-matching · cc 1cre8_app_matching::paper_allocation_tests::duplicate_resources_and_unknown_outcomes_are_rejectedbounded_domain_rejects_over…app-matching · cc 1cre8_app_matching::paper_allocation_tests::bounded_domain_rejects_oversized_inputsindependent_exhaustive_smal…app-matching · cc 13cre8_app_matching::paper_allocation_tests::independent_exhaustive_small_books_match_objectiveallocateapp-matching · cc 15cre8_app_matching::paper_allocation::allocateMinCostFlow::add_edgeapp-matching · cc 1cre8_app_matching::flow::MinCostFlow::add_edgeproblem_hashapp-matching · cc 1cre8_app_matching::paper_allocation::problem_hashcanonicalapp-matching · cc 34cre8_app_matching::paper_allocation::canonicalcost_per_lotapp-matching · cc 1cre8_app_matching::paper_allocation::cost_per_lotMinCostFlow::newapp-matching · cc 1cre8_app_matching::flow::MinCostFlow::newMinCostFlow::residual_capac…app-matching · cc 1cre8_app_matching::flow::MinCostFlow::residual_capacityMinCostFlow::min_cost_max_f…app-matching · cc 5cre8_app_matching::flow::MinCostFlow::min_cost_max_flowsha256_hex_strutil-crypto · cc 1cre8_util_crypto::sha256_hex_struniqueapp-network · cc 1cre8_app_network::federation::pubkey_learning::tests::uniqueboundedapp-matching · cc 1cre8_app_matching::paper_allocation::boundedhashapp-matching · cc 2cre8_app_matching::paper_allocation::hashMinCostFlow::shortest_pathapp-matching · cc 6cre8_app_matching::flow::MinCostFlow::shortest_pathMinCostFlow::update_potenti…app-matching · cc 3cre8_app_matching::flow::MinCostFlow::update_potentialsMinCostFlow::path_flow_capa…app-matching · cc 3cre8_app_matching::flow::MinCostFlow::path_flow_capacityMinCostFlow::apply_path_flowapp-matching · cc 2cre8_app_matching::flow::MinCostFlow::apply_path_flow

Control flow

Source not readable from this process.

Callers 13

Callees 7

Source not readable from this process.