Skip to content
1 viewer

rust 1,849,384 · typescript 232,426 · javascript 131,078 · python 19,227 · 6,366 files · digest 815dcbacab85 · built in 1.4 s · crystals off

crates/cre8-app-matching/src/engine.rs

cre8-app-matching · module engine · src · 1,798 lines (1,425 code, 193 comment) · sha 93daf3e547e9027a

Items

struct ExchangeExecution const ENV_REP_TIEBREAK struct ClassifiedShardEdges const LIMIT_TRIM_MAX_PASSES const MAX_CLEARING_PRICE_COST struct EdgePreference struct CandidatePreference struct TrackedEdge const ASSETS type EdgeRow struct Lcg impl Lcg

Functions

By call-graph weight (PageRank; 1.0 is the average function). 66 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
run_matching_with_repsrc/engine.rs:1341fn126114123.8
run_matchingsrc/engine.rs:1323fn812113.5
build_path_from_indexessrc/engine.rs:474fn404121.5
path_kind_namesrc/engine.rs:312fn149101.4
scc_component_idssrc/engine.rs:1103fn7315101.4
trim_to_limitssrc/engine.rs:941fn6914721.3
run_matching_intents_with_repsrc/engine.rs:1481fn333261.3
sort_candidate_preferencessrc/engine.rs:801fn121201.2
positionsrc/engine.rs:1573fn81701.2
by_idsrc/engine.rs:1594fn31701.1
dfs_pathssrc/engine.rs:401fn7210111.1
emit_transactions_from_preferencessrc/engine.rs:702fn403271.1
build_path_kindsrc/engine.rs:327fn173111.1
rep_tiebreak_enabledsrc/engine.rs:36fn61301.1
legsrc/engine.rs:1582fn111601
scc_scoped_preferencessrc/engine.rs:1182fn203211
clearable_preferencessrc/engine.rs:1213fn82211
mark_componentsrc/engine.rs:198fn204101
boundary_edgesrc/engine.rs:255fn101101
matching_shardsrc/engine.rs:280fn201101
truncate_transactionssrc/engine.rs:848fn277301
canonical_position_scopesrc/engine.rs:59fn61201
build_edgessrc/engine.rs:83fn455351
weak_components_for_candidatessrc/engine.rs:1011fn428201
shared_liquiditysrc/engine.rs:66fn163200.8
positions_share_spatial_slicesrc/engine.rs:129fn114210.8
run_exchange_epochs_with_repsrc/engine.rs:1518fn141440.8
edge_preferences_from_pathssrc/engine.rs:1222fn408120.8
edge_preferences_from_edgessrc/engine.rs:1263fn596140.8
sort_transactionssrc/engine.rs:833fn141200.8
phase1_component_shard_plansrc/engine.rs:141fn181170.8
build_pathssrc/engine.rs:345fn545110.8
emit_transactions_path_derivedsrc/engine.rs:876fn151120.8
emit_transactions_edge_nativesrc/engine.rs:892fn151120.8
lifted_positions_and_temporal_edgessrc/engine.rs:1550fn152130.8
emit_transactions_for_componentsrc/engine.rs:588fn11310150.8
collect_positive_amountssrc/engine.rs:757fn113100.8
sort_liquiditysrc/engine.rs:769fn52100.8
rowssrc/engine.rs:1755fn141200.7
run_matching_intentssrc/engine.rs:1472fn81210.7
legs_ofsrc/engine.rs:1602fn31200.7
rep_by_positionsrc/engine.rs:46fn122100.6
emit_transactions_for_assetsrc/engine.rs:515fn729120.6
liquidity_by_assetsrc/engine.rs:743fn132120.6
admissible_preferences_by_assetsrc/engine.rs:775fn173110.6
transaction_candidate_assetssrc/engine.rs:814fn132100.6
seeded_booksrc/engine.rs:1706fn235110.6
all_pairs_referencesrc/engine.rs:1731fn235130.6
unique_position_idssrc/engine.rs:160fn71100.6
component_adjacencysrc/engine.rs:168fn154100.6
connected_componentssrc/engine.rs:184fn133110.6
group_positions_by_componentsrc/engine.rs:219fn72100.6
classify_edges_by_componentsrc/engine.rs:232fn223110.6
matching_shardssrc/engine.rs:266fn132110.6
sort_boundary_edgessrc/engine.rs:301fn101100.6
amountssrc/engine.rs:1598fn31100.6
run_exchange_intentssrc/engine.rs:1537fn121040.5
a_fair_ring_keeps_its_fair_partsrc/engine.rs:1607fn91050.5
a_ring_whose_wants_out_value_its_offers_drains_to_nothingsrc/engine.rs:1618fn41040.5
a_flow_that_honours_every_limit_passes_through_unchangedsrc/engine.rs:1624fn51050.5
a_trimmed_leg_is_re_identified_by_its_new_amountsrc/engine.rs:1631fn101050.5
the_flow_reaches_for_the_counterparty_that_can_paysrc/engine.rs:1645fn151030.5
a_basket_that_nothing_pays_gives_nothingsrc/engine.rs:1664fn81040.5
baskets_are_carried_untouchedsrc/engine.rs:1674fn61050.5
Lcg::belowsrc/engine.rs:1697method41000.5
candidate_index_edges_equal_all_pairs_reference_on_seeded_bookssrc/engine.rs:1771fn274040.5

Source not readable from this process.