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

crates/cre8-app-matching-model/src/algebra.rs

cre8-app-matching-model · module algebra · src · 1,362 lines (997 code, 197 comment) · sha b9e7e7e22790ed6b

Items

const SIDE_SEPARATOR const ARC_SEPARATOR const PAIR_SEPARATOR const LATTICE_MARKET_SEPARATOR const MAX_ASSET_ID_LEN const ASSET_ID_FORBIDDEN const SOULBOUND_REPUTATION const SOULBOUND_BALLOT_PARTICIPATION enum Side impl Side impl Display for Side struct AssetSet impl AssetSet impl Display for AssetSet impl FromStr for AssetSet impl IntoIterator for AssetSet impl From for Vec impl From for BTreeSet impl Serialize for AssetSet impl Deserialize for AssetSet struct Arc impl Arc impl Display for Arc impl FromStr for Arc struct ArcParseError impl Display for ArcParseError impl Error for ArcParseError impl Serialize for Arc impl Deserialize for Arc struct MarketPair impl MarketPair impl Display for MarketPair struct LegVector impl LegVector impl From for BTreeMap enum Conservation impl Conservation struct Ring impl Ring enum RingMeasure impl RingMeasure const RING_TOL

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
Arc::newsrc/algebra.rs:476method312550102
BTreeMap::fromsrc/algebra.rs:802trait impl31125036.1
AssetSet::newsrc/algebra.rs:221method1019012.4
AssetSet::parsesrc/algebra.rs:241method3118111.7
Arc::split_keysrc/algebra.rs:500method3110010.5
AssetSet::from_keyssrc/algebra.rs:234method31409.4
Arc::parsesrc/algebra.rs:493method411828.2
Vec::fromsrc/algebra.rs:419trait impl31508
Arc::of_positionsrc/algebra.rs:482method31517.8
Arc::of_sidessrc/algebra.rs:486method42217.7
BTreeSet::fromsrc/algebra.rs:425trait impl312806.6
AssetSet::intersectionsrc/algebra.rs:290method1651305.2
AssetSet::ranksrc/algebra.rs:250method311204.9
RingMeasure::holonomysrc/algebra.rs:948method62804.8
soulbound_weight_kindsrc/algebra.rs:118fn113304.5
RingMeasure::productsrc/algebra.rs:956method31714.4
is_soulbound_assetsrc/algebra.rs:131fn31214
sanitize_asset_segmentsrc/algebra.rs:81fn107303.7
MarketPair::ofsrc/algebra.rs:612method72703.6
validate_asset_idsrc/algebra.rs:58fn178803.5
Side::signsrc/algebra.rs:179method62503.5
AssetSet::rank_of_keysrc/algebra.rs:386method31403
side_spansrc/algebra.rs:447fn32303
RingMeasure::signalsrc/algebra.rs:961method31412.7
position_spansrc/algebra.rs:455fn31412.5
validate_position_assetssrc/algebra.rs:94fn83522
AssetSet::is_subset_ofsrc/algebra.rs:271method145401.7
route_span_sumsrc/algebra.rs:461fn31311.7
AssetSet::unionsrc/algebra.rs:307method71401.7
RingMeasure::from_slot_residualssrc/algebra.rs:936method115301.5
LegVector::from_sidessrc/algebra.rs:689method103321.5
LegVector::zerosrc/algebra.rs:685method31301.4
AssetSet::facetssrc/algebra.rs:351method82401.4
validate_offer_carries_no_weightsrc/algebra.rs:138fn194131.3
Arc::keysrc/algebra.rs:504method31201.3
RingMeasure::is_measuredsrc/algebra.rs:970method31401.3
setsrc/algebra.rs:984fn31511.3
AssetSet::face_ranksrc/algebra.rs:321method155201.2
LegVector::arcsrc/algebra.rs:745method42321.2
AssetSet::assetssrc/algebra.rs:258method31301.2
Arc::rank_shapesrc/algebra.rs:516method31111.1
LegVector::add_legsrc/algebra.rs:706method104111.1
Arc::feedssrc/algebra.rs:539method31111
LegVector::side_setsrc/algebra.rs:735method31111
Ring::want_shapesrc/algebra.rs:859method31111
AssetSet::subsetssrc/algebra.rs:365method123300.9
LegVector::of_positionsrc/algebra.rs:700method31610.9
AssetSet::keysrc/algebra.rs:246method31100.9
Arc::max_ranksrc/algebra.rs:520method31110.9
collect_expr_assetssrc/algebra.rs:158fn103100.9
RingMeasure::from_slot_ratessrc/algebra.rs:923method116200.9
LegVector::value_undersrc/algebra.rs:776method31400.8
LegVector::add_assignsrc/algebra.rs:756method93200.8
Ring::newsrc/algebra.rs:835method31100.8
Ring::rank_shapesrc/algebra.rs:854method31110.8
Arc::rank1_projectionsrc/algebra.rs:551method31200.8
AssetSet::distancesrc/algebra.rs:339method31120.8
offeringsrc/algebra.rs:1023fn61100.7
MarketPair::lattice_keysrc/algebra.rs:626method31200.7
MarketPair::is_exchangesrc/algebra.rs:649method31200.7
MarketPair::shared_facesrc/algebra.rs:653method31210.7
LegVector::sumsrc/algebra.rs:766method72320.6
LegVector::conservationsrc/algebra.rs:791method83300.6
Ring::parsesrc/algebra.rs:840method31220.6
Ring::party_countsrc/algebra.rs:844method31200.6
Ring::is_closedsrc/algebra.rs:850method32210.6
Ring::span_sumsrc/algebra.rs:886method31220.6
AssetSet::is_johnson_adjacentsrc/algebra.rs:344method32220.6
LegVector::side_valuesrc/algebra.rs:781method71210.6
Arc::spansrc/algebra.rs:529method31120.6
Conservation::is_settleablesrc/algebra.rs:820method31100.6
LegVector::side_volumesrc/algebra.rs:751method31120.6
Ring::shape_keysrc/algebra.rs:865method154110.6
Ring::junction_face_rankssrc/algebra.rs:891method41100.6
MarketPair::parsesrc/algebra.rs:632method41120.6
MarketPair::forwardsrc/algebra.rs:638method31110.6
RingMeasure::is_balancedsrc/algebra.rs:966method31110.6
AssetSet::side_spansrc/algebra.rs:379method31120.5
Side::oppositesrc/algebra.rs:186method62000.5
Side::ofsrc/algebra.rs:194method62000.5
Side::fmtsrc/algebra.rs:203trait impl62000.5
AssetSet::is_emptysrc/algebra.rs:254method31000.5
AssetSet::itersrc/algebra.rs:262method31000.5
AssetSet::containssrc/algebra.rs:266method31000.5
AssetSet::is_disjointsrc/algebra.rs:286method31010.5
AssetSet::differencesrc/algebra.rs:316method31000.5
AssetSet::fmtsrc/algebra.rs:392trait impl93000.5
AssetSet::from_strsrc/algebra.rs:405trait impl31010.5
AssetSet::into_itersrc/algebra.rs:413trait impl31000.5
AssetSet::serializesrc/algebra.rs:431trait impl31010.5
AssetSet::deserializesrc/algebra.rs:437trait impl41010.5
Arc::sidesrc/algebra.rs:508method62000.5
Arc::is_classicalsrc/algebra.rs:525method32010.5
Arc::reversesrc/algebra.rs:533method31000.5
Arc::marketsrc/algebra.rs:545method31010.5
Arc::supportsrc/algebra.rs:556method31010.5
Arc::fmtsrc/algebra.rs:562trait impl31000.5
Arc::from_strsrc/algebra.rs:569trait impl31010.5
ArcParseError::fmtsrc/algebra.rs:578trait impl31000.5
Arc::serializesrc/algebra.rs:586trait impl31010.5
Arc::deserializesrc/algebra.rs:592trait impl41010.5
MarketPair::keysrc/algebra.rs:621method31000.5
MarketPair::reversesrc/algebra.rs:643method31010.5
MarketPair::face_ranksrc/algebra.rs:657method31000.5
MarketPair::distancesrc/algebra.rs:661method31000.5
MarketPair::fmtsrc/algebra.rs:667trait impl31000.5
LegVector::getsrc/algebra.rs:718method31000.5
LegVector::entriessrc/algebra.rs:722method31000.5
LegVector::is_zerosrc/algebra.rs:726method31000.5
LegVector::sidesrc/algebra.rs:731method31010.5
LegVector::supportsrc/algebra.rs:740method31000.5
Ring::max_ranksrc/algebra.rs:881method31010.5
Ring::keyssrc/algebra.rs:896method31010.5
Ring::supportsrc/algebra.rs:900method31010.5
an_asset_id_may_not_carry_a_key_separator_or_grammar_charactersrc/algebra.rs:989fn333050.5
soulbound_weight_is_reputation_and_ballot_participation_onlysrc/algebra.rs:1031fn223020.5
validate_position_assets_rejects_rep_offer_legsrc/algebra.rs:1055fn203020.5
a_sanitized_segment_always_validatessrc/algebra.rs:1077fn92020.5
asset_set_normalizes_every_spelling_to_one_keysrc/algebra.rs:1088fn81030.5
asset_set_serializes_as_its_keysrc/algebra.rs:1098fn61010.5
set_operations_agree_with_btreesetsrc/algebra.rs:1106fn222070.5
facets_and_subsets_have_the_spec_cardinalitiessrc/algebra.rs:1130fn247080.5
spans_match_the_frozen_multimarket_metricsrc/algebra.rs:1156fn101030.5
arc_key_round_trips_and_is_the_only_double_equals_parsersrc/algebra.rs:1168fn141050.5
arc_of_position_needs_both_sidessrc/algebra.rs:1184fn81010.5
market_pair_orders_sides_and_reads_both_wire_formssrc/algebra.rs:1194fn141070.5
leg_vector_splits_back_into_its_sidessrc/algebra.rs:1210fn112060.5
leg_vector_nets_a_self_crossing_assetsrc/algebra.rs:1223fn111030.5
value_is_linear_and_unpriced_legs_are_not_freesrc/algebra.rs:1236fn213070.5
ring_conservation_is_the_settlement_invariantsrc/algebra.rs:1259fn201050.5
ring_holonomy_decides_conservation_under_any_pricessrc/algebra.rs:1287fn3750110.5
ring_closure_follows_feedssrc/algebra.rs:1326fn161060.5
ring_measure_never_reads_missing_evidence_as_a_numbersrc/algebra.rs:1344fn181070.5

Source not readable from this process.