Skip to content
1 viewer

rust 1,859,968 · typescript 235,218 · javascript 132,952 · python 20,426 · 6,406 files · digest c536f05fc420 · built in 1.4 s · crystals off

crates/cre8-app-compute/src/compute_market_authority.rs

cre8-app-compute · module compute_market_authority · src · 1,784 lines (1,573 code, 82 comment) · sha f62443ce5451beca

Items

const COMPUTE_MARKET_LOTS_TABLE struct AuthenticatedComputeMarketBuyer impl AuthenticatedComputeMarketBuyer struct AuthenticatedComputeMarketExecutor impl AuthenticatedComputeMarketExecutor enum ComputeMarketLotAuthorityError type ComputeMarketLotAuthorityResult trait ComputeMarketAuthorityClock struct PlatformComputeMarketAuthorityClock impl ComputeMarketAuthorityClock for PlatformComputeMarketAuthorityClock trait ComputeMarketLotAuthority struct SqliteComputeMarketLotAuthority impl SqliteComputeMarketLotAuthority impl ComputeMarketLotAuthority for SqliteComputeMarketLotAuthority struct PersistedLotFields impl PersistedLotFields static NEXT_TEST_DB struct TestComputeMarketClock impl TestComputeMarketClock impl ComputeMarketAuthorityClock for TestComputeMarketClock

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
storage_errorsrc/compute_market_authority.rs:1120fn312105
canonical_trusted_identitysrc/compute_market_authority.rs:1100fn73204.1
AuthenticatedComputeMarketBuyer::from_authenticated_sessionsrc/compute_market_authority.rs:58method121512.6
AuthenticatedComputeMarketBuyer::payer_account_idsrc/compute_market_authority.rs:75method311602.3
SqliteComputeMarketLotAuthority::observesrc/compute_market_authority.rs:754trait impl161542.1
SqliteComputeMarketLotAuthority::compare_and_swapsrc/compute_market_authority.rs:693method426752.1
buyer_namedsrc/compute_market_authority.rs:1221fn31711.9
cleanupsrc/compute_market_authority.rs:1211fn521701.7
AuthenticatedComputeMarketExecutor::from_authenticated_sessionsrc/compute_market_authority.rs:89method121611.7
lot_forsrc/compute_market_authority.rs:1294fn221531.5
SqliteComputeMarketLotAuthority::from_shared_truthsrc/compute_market_authority.rs:418method311021.5
require_canonical_lot_idsrc/compute_market_authority.rs:1108fn73301.5
SqliteComputeMarketLotAuthority::from_shared_truth_with_clocksrc/compute_market_authority.rs:422method112301.4
authoritysrc/compute_market_authority.rs:1201fn911551.4
PersistedLotFields::insert_paramssrc/compute_market_authority.rs:951method181201.3
SqliteComputeMarketLotAuthority::observe_funding_authorizationsrc/compute_market_authority.rs:582method231341.3
PersistedLotFields::from_lotsrc/compute_market_authority.rs:930method201641.3
AuthenticatedComputeMarketExecutor::payout_account_idsrc/compute_market_authority.rs:106method311001.3
stored_mismatchsrc/compute_market_authority.rs:1124fn31401.2
stored_textsrc/compute_market_authority.rs:1128fn41421.2
fused_reservationsrc/compute_market_authority.rs:1234fn431731.2
SqliteComputeMarketLotAuthority::compute_premium_owner_competitorsrc/compute_market_authority.rs:659method334351.2
same_immutable_termssrc/compute_market_authority.rs:1046fn1210301.1
configured_compute_market_lot_authoritysrc/compute_market_authority.rs:155fn183241.1
buyersrc/compute_market_authority.rs:1217fn31911
stored_lot_from_rowsrc/compute_market_authority.rs:991fn5415170.9
SqliteComputeMarketLotAuthority::reserve_with_execution_requestsrc/compute_market_authority.rs:298method95181110.9
SqliteComputeMarketLotAuthority::begin_execution_after_fundingsrc/compute_market_authority.rs:397method204130.9
SqliteComputeMarketLotAuthority::begin_funding_with_authorizationsrc/compute_market_authority.rs:509method7215180.9
TestComputeMarketClock::newsrc/compute_market_authority.rs:1178method31300.8
SqliteComputeMarketLotAuthority::reconcile_transitionsrc/compute_market_authority.rs:736method114110.8
test_db_pathsrc/compute_market_authority.rs:1193fn71200.8
lotsrc/compute_market_authority.rs:1230fn31510.8
retains_compute_premium_ownershipsrc/compute_market_authority.rs:1063fn132200.8
fee_kind_textsrc/compute_market_authority.rs:1077fn84100.8
state_textsrc/compute_market_authority.rs:1086fn139100.8
sqlite_i64src/compute_market_authority.rs:1116fn31100.8
TestComputeMarketClock::set_now_mssrc/compute_market_authority.rs:1182method31500.8
fused_reservesrc/compute_market_authority.rs:1278fn151420.7
executorsrc/compute_market_authority.rs:1225fn41410.7
SqliteComputeMarketLotAuthority::insert_if_absentsrc/compute_market_authority.rs:606method307160.6
AuthenticatedComputeMarketBuyer::transport_peer_idsrc/compute_market_authority.rs:71method31200.6
stored_i64src/compute_market_authority.rs:1133fn31120.6
stored_opt_textsrc/compute_market_authority.rs:1137fn133130.6
stored_opt_i64src/compute_market_authority.rs:1151fn93130.6
SqliteComputeMarketLotAuthority::reconcile_reservationsrc/compute_market_authority.rs:637method74110.6
SqliteComputeMarketLotAuthority::reject_competing_compute_premium_ownersrc/compute_market_authority.rs:645method132110.6
SqliteComputeMarketLotAuthority::expiresrc/compute_market_authority.rs:905trait impl51110.6
paid_legacy_lot_forsrc/compute_market_authority.rs:1319fn181120.5
AuthenticatedComputeMarketExecutor::peer_idsrc/compute_market_authority.rs:102method31000.5
PlatformComputeMarketAuthorityClock::now_mssrc/compute_market_authority.rs:184trait impl31010.5
SqliteComputeMarketLotAuthority::truthsrc/compute_market_authority.rs:434method31000.5
SqliteComputeMarketLotAuthority::ensure_schemasrc/compute_market_authority.rs:438method662040.5
SqliteComputeMarketLotAuthority::authority_backendsrc/compute_market_authority.rs:750trait impl31000.5
SqliteComputeMarketLotAuthority::observe_execution_requestsrc/compute_market_authority.rs:771trait impl71010.5
SqliteComputeMarketLotAuthority::reserve_with_execution_requestsrc/compute_market_authority.rs:779trait impl191010.5
SqliteComputeMarketLotAuthority::begin_funding_with_authorizationsrc/compute_market_authority.rs:799trait impl131010.5
SqliteComputeMarketLotAuthority::observe_funding_authorizationsrc/compute_market_authority.rs:813trait impl61010.5
SqliteComputeMarketLotAuthority::begin_execution_after_fundingsrc/compute_market_authority.rs:820trait impl71010.5
SqliteComputeMarketLotAuthority::reservesrc/compute_market_authority.rs:828trait impl163030.5
SqliteComputeMarketLotAuthority::acceptsrc/compute_market_authority.rs:845trait impl171040.5
SqliteComputeMarketLotAuthority::begin_executionsrc/compute_market_authority.rs:864trait impl101040.5
SqliteComputeMarketLotAuthority::begin_fundingsrc/compute_market_authority.rs:876trait impl121060.5
SqliteComputeMarketLotAuthority::begin_funding_expirysrc/compute_market_authority.rs:889trait impl51010.5
SqliteComputeMarketLotAuthority::refundsrc/compute_market_authority.rs:895trait impl91030.5
PersistedLotFields::insert_statementsrc/compute_market_authority.rs:970method131010.5
PersistedLotFields::cas_paramssrc/compute_market_authority.rs:984method51010.5
TestComputeMarketClock::now_mssrc/compute_market_authority.rs:1188trait impl31000.5
concurrent_accept_has_one_winner_and_exact_cas_guardsrc/compute_market_authority.rs:1339fn262070.5
exact_retries_reconcile_and_reopen_preserves_canonical_lotsrc/compute_market_authority.rs:1367fn141070.5
fused_reserve_rolls_back_request_when_lot_insert_abortssrc/compute_market_authority.rs:1383fn241070.5
fused_reserve_heals_an_identical_standalone_request_orphansrc/compute_market_authority.rs:1409fn181060.5
fused_reserve_rejects_a_conflicting_orphan_without_creating_a_lotsrc/compute_market_authority.rs:1429fn271080.5
concurrent_exact_fused_reserve_retries_converge_on_both_rowssrc/compute_market_authority.rs:1458fn161060.5
concurrent_competing_fused_reservations_commit_one_complete_owner_onlysrc/compute_market_authority.rs:1476fn212070.5
competing_fused_reserve_leaves_no_orphan_then_reclaims_expired_ownersrc/compute_market_authority.rs:1499fn321080.5
competing_fused_reserve_reclaims_expired_accepted_ownersrc/compute_market_authority.rs:1533fn211080.5
fused_reserve_rechecks_authority_clock_before_durable_insertsrc/compute_market_authority.rs:1556fn171070.5
v2_storage_is_not_guessed_as_v3src/compute_market_authority.rs:1575fn341050.5
compute_premium_owner_has_one_buyer_obligation_per_work_keysrc/compute_market_authority.rs:1611fn241080.5
reopened_paid_legacy_premium_keeps_work_key_ownershipsrc/compute_market_authority.rs:1637fn3910110.5
concurrent_competing_compute_premium_reservations_have_one_ownersrc/compute_market_authority.rs:1678fn261060.5
trusted_identities_and_expiry_are_fail_closedsrc/compute_market_authority.rs:1706fn4610110.5
materialized_column_tampering_is_rejected_on_observesrc/compute_market_authority.rs:1754fn171060.5
non_sqlite_truth_is_rejectedsrc/compute_market_authority.rs:1773fn111020.5

Source not readable from this process.