Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-app-prediction/src/ballot_store.rs

cre8-app-prediction · module ballot_store · src · 280 lines (218 code, 36 comment) · sha 2d0227804eb0a118

Items

const KIND_RESOLUTION_BALLOT enum BallotStatus struct StoredBallot impl StoredBallot

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
derive_ballot_idsrc/ballot_store.rs:37fn41413.5
StoredBallot::newsrc/ballot_store.rs:70method131712
list_ballotssrc/ballot_store.rs:145fn103342
list_open_ballotssrc/ballot_store.rs:156fn61521.9
find_open_ballot_for_eventsrc/ballot_store.rs:166fn52721.2
ballot_vidsrc/ballot_store.rs:31fn31201.2
upsert_ballotsrc/ballot_store.rs:110fn264421.2
parse_ballotsrc/ballot_store.rs:186fn161201.1
with_ballot_mutsrc/ballot_store.rs:174fn111431
StoredBallot::has_votedsrc/ballot_store.rs:103method31301
load_ballotsrc/ballot_store.rs:137fn71241
StoredBallot::as_ballotsrc/ballot_store.rs:87method71300.8
StoredBallot::merge_from_ballotsrc/ballot_store.rs:98method31300.8
derive_ballot_id_is_deterministicsrc/ballot_store.rs:208fn61010.5
derive_ballot_id_distinct_per_eventsrc/ballot_store.rs:216fn51010.5
derive_ballot_id_distinct_per_open_tssrc/ballot_store.rs:223fn51010.5
new_ballot_starts_open_with_no_votessrc/ballot_store.rs:230fn81010.5
min_quorum_clamps_to_onesrc/ballot_store.rs:240fn41010.5
has_voted_detects_repeatssrc/ballot_store.rs:246fn151020.5
as_ballot_round_trips_through_pure_structsrc/ballot_store.rs:263fn171050.5

Source not readable from this process.