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

crates/cre8-app-hypermatch2/src/match_engine.rs

cre8-app-hypermatch2 · module match_engine · src · 1,086 lines (948 code, 17 comment) · sha 820cdc3152c26342

Items

type DurableHypergraph type DurableHypergraph struct HyperMatch2Config impl HyperMatch2Config struct ArcCandidate struct FlowRecord struct TransactionRecord struct PathKind struct PathHop struct PathRecord struct PositionOutcome struct LiquiditySummary struct PerformanceStats struct HyperMatch2Result struct PositionBook struct FlowEdge enum BookSide struct PathSearch impl PathSearch

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
PathSearch::walksrc/match_engine.rs:604method115241.7
sparse_arc_candidatesrc/match_engine.rs:340fn243211.6
total_amountsrc/match_engine.rs:455fn31201.5
canonical_position_idsrc/match_engine.rs:154fn31201.2
build_path_from_indexessrc/match_engine.rs:525fn384121.1
parse_amountsrc/match_engine.rs:162fn216201.1
index_positive_assetssrc/match_engine.rs:289fn73101.1
candidate_arcs_for_assetsrc/match_engine.rs:312fn275111.1
build_pathssrc/match_engine.rs:663fn61241
PathSearch::path_limit_reachedsrc/match_engine.rs:654method31201
kind_for_pathsrc/match_engine.rs:509fn155101
PathSearch::neighborssrc/match_engine.rs:616method31100.8
PathSearch::visit_edgesrc/match_engine.rs:620method133130.8
PathSearch::hop_limit_reachedsrc/match_engine.rs:658method31100.8
build_sparse_arcssrc/match_engine.rs:258fn121230.8
assetssrc/match_engine.rs:796fn31100.8
decrement_mapsrc/match_engine.rs:389fn193100.7
PathSearch::skip_nextsrc/match_engine.rs:634method32100.7
PathSearch::push_path_edgesrc/match_engine.rs:638method62110.7
PathSearch::recurse_if_opensrc/match_engine.rs:645method82110.7
index_sparse_arc_bookssrc/match_engine.rs:271fn172110.7
collect_sparse_arc_candidatessrc/match_engine.rs:297fn142110.7
prune_sparse_arcssrc/match_engine.rs:365fn234100.7
run_hypermatch2src/match_engine.rs:726fn532280.7
PathSearch::newsrc/match_engine.rs:575method111100.7
flow_edgessrc/match_engine.rs:670fn284100.7
edge_adjacencysrc/match_engine.rs:699fn72100.7
sort_and_limit_pathssrc/match_engine.rs:713fn122100.7
canonical_asset_idsrc/match_engine.rs:158fn31100.7
add_book_amountsrc/match_engine.rs:250fn72100.7
default_position_booksrc/match_engine.rs:233fn31100.7
apply_edge_asset_amountsrc/match_engine.rs:237fn122130.7
upsert_position_book_vertexsrc/match_engine.rs:209fn101110.7
apply_exchange_edgesrc/match_engine.rs:220fn122130.7
PathSearch::search_from_startsrc/match_engine.rs:597method61110.6
sorted_startssrc/match_engine.rs:707fn51100.6
fresh_graphsrc/match_engine.rs:787fn81100.6
insert_positionsrc/match_engine.rs:800fn101120.6
extract_position_bookssrc/match_engine.rs:184fn184130.6
allocate_flowssrc/match_engine.rs:409fn323120.6
to_transactionssrc/match_engine.rs:442fn121100.6
build_outcomessrc/match_engine.rs:459fn343110.6
build_liquidity_summarysrc/match_engine.rs:494fn142110.6
HyperMatch2Config::normalizesrc/match_engine.rs:20method124000.5
PathSearch::runsrc/match_engine.rs:587method93030.5
hypermatch2_config_normalize_fills_zero_defaultssrc/match_engine.rs:812fn131000.5
generator_config_normalize_clamps_and_defaultssrc/match_engine.rs:827fn171000.5
generate_positions_is_deterministic_for_fixed_seedsrc/match_engine.rs:846fn202010.5
parse_amount_handles_int_float_string_and_negativesrc/match_engine.rs:868fn181010.5
run_hypermatch2_extracts_flows_outcomes_and_paths_from_exchange_graphsrc/match_engine.rs:888fn382030.5
sparse_arcs_prune_neighbor_limits_and_skip_invalid_candidatessrc/match_engine.rs:928fn511020.5
build_paths_aggregates_assets_deduplicates_and_respects_limitssrc/match_engine.rs:981fn823010.5
hypermatch2_specs_share_app_contractsrc/match_engine.rs:1065fn212000.5

Source not readable from this process.