1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-app-compute/src/worldsim_stark_peer.rs
Items
const ECALL const POS0 const VEL0 const GRAV const NPC_TRAJ_BASE const DEFAULT_NPC_TICKS const EHDR const PHDR struct WireAccess struct WireFrame const NPC_STEP_IR_HASH const WORKUNIT_STEP_IR_HASH struct WorkunitAdmission const EXECUTOR_PEER_ID_FIELD
Functions
By call-graph weight (PageRank; 1.0 is the average function). 57 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| frame_from_resultsrc/worldsim_stark_peer.rs:202 | fn | 19 | 1 | 2 | 0 | 3.1 | |
| extract_step_merkle_anchorsrc/worldsim_stark_peer.rs:542 | fn | 6 | 1 | 5 | 0 | 2.5 | |
| run_workunit_framesrc/worldsim_stark_peer.rs:477 | fn | 11 | 3 | 10 | 1 | 2.1 | |
| run_npc_framesrc/worldsim_stark_peer.rs:262 | fn | 12 | 3 | 8 | 2 | 2 | |
| result_from_framesrc/worldsim_stark_peer.rs:223 | fn | 36 | 2 | 6 | 0 | 2 | |
| admit_workunit_requestsrc/worldsim_stark_peer.rs:922 | fn | 35 | 4 | 7 | 2 | 1.9 | |
| build_npc_elfsrc/worldsim_stark_peer.rs:160 | fn | 8 | 2 | 5 | 2 | 1.7 | |
| workunit_step_merkle_anchorsrc/worldsim_stark_peer.rs:401 | fn | 5 | 1 | 6 | 3 | 1.7 | |
| npc_step_merkle_anchorsrc/worldsim_stark_peer.rs:319 | fn | 5 | 1 | 6 | 3 | 1.5 | |
| stamp_executor_identitysrc/worldsim_stark_peer.rs:992 | fn | 13 | 3 | 3 | 0 | 1.4 | |
| parcel_forsrc/worldsim_stark_peer.rs:1011 | fn | 11 | 1 | 4 | 2 | 1.3 | |
| npc_trajectory_programsrc/worldsim_stark_peer.rs:90 | fn | 23 | 1 | 1 | 7 | 1.2 | |
| build_rv64_elfsrc/worldsim_stark_peer.rs:126 | fn | 33 | 1 | 1 | 3 | 1.2 | |
| commitment_binds_workunit_framesrc/worldsim_stark_peer.rs:413 | fn | 13 | 4 | 6 | 3 | 1.2 | |
| tick_state_hashsrc/worldsim_stark_peer.rs:295 | fn | 3 | 1 | 4 | 1 | 1.1 | |
| luisrc/worldsim_stark_peer.rs:35 | fn | 3 | 1 | 2 | 0 | 1 | |
| workunit_step_hashes_from_resultsrc/worldsim_stark_peer.rs:391 | fn | 6 | 2 | 1 | 0 | 1 | |
| per_tick_state_hashes_from_logsrc/worldsim_stark_peer.rs:311 | fn | 3 | 1 | 1 | 2 | 0.9 | |
| addisrc/worldsim_stark_peer.rs:38 | fn | 3 | 1 | 2 | 0 | 0.9 | |
| commitment_binds_framesrc/worldsim_stark_peer.rs:337 | fn | 16 | 4 | 3 | 3 | 0.9 | |
| per_tick_positions_from_logsrc/worldsim_stark_peer.rs:303 | fn | 5 | 2 | 1 | 0 | 0.9 | |
| accept_step_by_inclusionsrc/worldsim_stark_peer.rs:360 | fn | 9 | 4 | 4 | 1 | 0.8 | |
| put_u16src/worldsim_stark_peer.rs:116 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| put_u32src/worldsim_stark_peer.rs:119 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| put_u64src/worldsim_stark_peer.rs:122 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| stamp_workunit_admissionsrc/worldsim_stark_peer.rs:960 | fn | 10 | 2 | 2 | 0 | 0.7 | |
| verify_frame_responsesrc/worldsim_stark_peer.rs:565 | fn | 31 | 5 | 2 | 4 | 0.7 | |
| addsrc/worldsim_stark_peer.rs:41 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| subsrc/worldsim_stark_peer.rs:44 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| sdsrc/worldsim_stark_peer.rs:47 | fn | 4 | 1 | 1 | 0 | 0.6 | |
| sllisrc/worldsim_stark_peer.rs:51 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| bltsrc/worldsim_stark_peer.rs:54 | fn | 8 | 1 | 1 | 0 | 0.6 | |
| lisrc/worldsim_stark_peer.rs:64 | fn | 12 | 4 | 1 | 2 | 0.6 | |
| build_proven_npc_frame_jsonsrc/worldsim_stark_peer.rs:437 | fn | 24 | 1 | 1 | 2 | 0.6 | |
| build_proven_workunit_frame_jsonsrc/worldsim_stark_peer.rs:502 | fn | 29 | 3 | 1 | 2 | 0.6 | |
| build_proven_npc_frame_jsonsrc/worldsim_stark_peer.rs:465 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| build_proven_workunit_frame_jsonsrc/worldsim_stark_peer.rs:535 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| verify_frame_responsesrc/worldsim_stark_peer.rs:599 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| npc_frame_runs_and_writes_one_position_per_ticksrc/worldsim_stark_peer.rs:610 | fn | 11 | 3 | 0 | 1 | 0.5 | |
| wire_frame_round_trips_the_access_logsrc/worldsim_stark_peer.rs:625 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| workunit_frame_generalizes_npcsrc/worldsim_stark_peer.rs:637 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| npc_step_merkle_anchor_derives_from_the_access_logsrc/worldsim_stark_peer.rs:659 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| peer_accepts_a_step_iff_its_inclusion_proof_verifiessrc/worldsim_stark_peer.rs:676 | fn | 22 | 2 | 0 | 4 | 0.5 | |
| commitment_must_bind_the_frame_it_ships_withsrc/worldsim_stark_peer.rs:703 | fn | 14 | 1 | 0 | 3 | 0.5 | |
| tampered_frame_breaks_the_receipt_commitmentsrc/worldsim_stark_peer.rs:723 | fn | 13 | 2 | 0 | 3 | 0.5 | |
| workunit_step_merkle_anchor_derives_from_the_hash_chainsrc/worldsim_stark_peer.rs:749 | fn | 24 | 1 | 0 | 6 | 0.5 | |
| tampered_workunit_hash_chain_breaks_the_receipt_commitmentsrc/worldsim_stark_peer.rs:778 | fn | 11 | 1 | 0 | 5 | 0.5 | |
| peer_b_accepts_response_iff_stark_and_step_merkle_commitment_both_bindsrc/worldsim_stark_peer.rs:798 | fn | 47 | 2 | 0 | 4 | 0.5 | |
| peer_b_accepts_workunit_response_iff_stark_and_step_merkle_both_bindsrc/worldsim_stark_peer.rs:853 | fn | 45 | 1 | 0 | 6 | 0.5 | |
| unbound_legacy_request_is_admitted_and_labelledsrc/worldsim_stark_peer.rs:1024 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| a_named_witness_without_its_parcel_is_refusedsrc/worldsim_stark_peer.rs:1035 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| a_parcel_that_matches_id_and_artifact_is_boundsrc/worldsim_stark_peer.rs:1041 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| a_parcel_for_other_bytes_is_refused_before_executionsrc/worldsim_stark_peer.rs:1049 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| a_witness_id_that_does_not_name_the_parcel_is_refusedsrc/worldsim_stark_peer.rs:1057 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| a_parcel_edited_after_its_id_was_minted_is_refusedsrc/worldsim_stark_peer.rs:1066 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| a_success_envelope_names_the_peer_that_ran_itsrc/worldsim_stark_peer.rs:1078 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| a_blank_executor_identity_is_not_stampedsrc/worldsim_stark_peer.rs:1088 | fn | 5 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.