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

Ratio::from_integer

cre8_util_options::ratio::Ratio::from_integer

method · cre8-util-options · crates/cre8-util-options/src/ratio.rs:46 pub const documented

3lines
1cyclomatic
0max nesting
1statements
0? exits
1params
55callers
0callees
9.3 (p100)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

method · 1 sitemethod · 1 sitepath · 1 sitemethod · 1 sitename · 1 sitemethod · 1 sitemethod · 2 sitespath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 2 sitesmethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespath · 1 sitepath · 1 sitepath · 1 siteoption_collateral_per_contr…app-derivatives · cc 5cre8_app_derivatives::model::option_collateral_per_contracttheoretical_priceapp-mark · cc 4cre8_app_mark::oracle::theoretical_priceopenapp-paper · cc 1cre8_app_paper::tests::opencapped_long_payoututil-options · cc 4cre8_util_options::settle::capped_long_payouthandle_account_openapp-paper · cc 1cre8_app_paper::connection::handle_account_openaccrue_exactutil-options · cc 1cre8_util_options::funding::accrue_exactmeets_maintenanceutil-options · cc 5cre8_util_options::margin::meets_maintenancehandle_venue_routeapp-paper · cc 1cre8_app_paper::connection::handle_venue_routehandle_venuesapp-paper · cc 1cre8_app_paper::connection::handle_venuesinternal_book_fillapp-paper · cc 3cre8_app_paper::pricing::internal_book_fillRatio::checked_mul_intutil-options · cc 1cre8_util_options::ratio::Ratio::checked_mul_intbuild_accountapp-paper · cc 9cre8_app_paper::connection::build_accountaccountapp-paper · cc 1cre8_app_paper::engine::tests::accountorderapp-paper · cc 1cre8_app_paper::venue::tests::orderratioapp-derivatives · cc 1cre8_app_derivatives::e2e_tests::ratioaccountapp-paper · cc 1cre8_app_paper::model::tests::accountRouteConfig::from_envapp-paper · cc 1cre8_app_paper::model::RouteConfig::from_envinternal_levelsapp-paper · cc 11cre8_app_paper::pricing::internal_levelsRouteConfig::defaultapp-paper · cc 1cre8_app_paper::model::RouteConfig::defaultpair_records_persist_and_ke…app-mark · cc 2cre8_app_mark::model::tests::pair_records_persist_and_keep_a_capped_historymanual_and_vol_records_vali…app-mark · cc 1cre8_app_mark::model::tests::manual_and_vol_records_validateoption_ids_parse_back_into_…app-mark · cc 1cre8_app_mark::symbols::tests::option_ids_parse_back_into_termsthe_newest_clear_winsapp-mark · cc 1cre8_app_mark::tests::the_newest_clear_winsderivation_ignores_multi_as…app-mark · cc 1cre8_app_mark::tests::derivation_ignores_multi_asset_positions_and_non_positive_legsRatio::from_integerutil-options · cc 1cre8_util_options::ratio::Ratio::from_integer

Control flow

Source not readable from this process.

Callers 55

Callees 0

    Source not readable from this process.