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-matching/src/init/round_scheduler.rs
Items
const SYNC_BOOK_LIMIT const DEBOUNCE_MS const LOCK_NAME enum Trigger impl Trigger enum BookRead enum Mode impl Mode struct RoundStatus impl RoundStatus struct Policy impl Default for Policy struct State impl State type SharedState static STATES struct Decision struct Permit impl Permit impl Drop for Permit
Functions
By call-graph weight (PageRank; 1.0 is the average function). 24 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| requestsrc/init/round_scheduler.rs:185 | fn | 35 | 10 | 9 | 3 | 2.8 | |
| State::pendingsrc/init/round_scheduler.rs:146 | method | 3 | 2 | 2 | 0 | 1.7 | |
| ticketsrc/init/round_scheduler.rs:167 | fn | 3 | 1 | 4 | 1 | 1.5 | |
| submitsrc/init/round_scheduler.rs:284 | fn | 4 | 1 | 4 | 2 | 1.4 | |
| rounds_startedsrc/init/round_scheduler.rs:260 | fn | 3 | 1 | 5 | 1 | 0.9 | |
| readsrc/init/round_scheduler.rs:289 | fn | 3 | 1 | 3 | 1 | 0.9 | |
| statesrc/init/round_scheduler.rs:159 | fn | 5 | 1 | 1 | 1 | 0.9 | |
| Trigger::from_flagssrc/init/round_scheduler.rs:46 | method | 9 | 3 | 1 | 0 | 0.9 | |
| set_policysrc/init/round_scheduler.rs:266 | fn | 3 | 1 | 1 | 1 | 0.8 | |
| is_runningsrc/init/round_scheduler.rs:172 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| elapsesrc/init/round_scheduler.rs:272 | fn | 5 | 1 | 1 | 1 | 0.6 | |
| Mode::as_strsrc/init/round_scheduler.rs:84 | method | 8 | 4 | 0 | 0 | 0.5 | |
| RoundStatus::to_jsonsrc/init/round_scheduler.rs:105 | method | 7 | 1 | 0 | 0 | 0.5 | |
| Policy::defaultsrc/init/round_scheduler.rs:123 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| State::statussrc/init/round_scheduler.rs:150 | method | 3 | 1 | 0 | 1 | 0.5 | |
| Permit::finishsrc/init/round_scheduler.rs:236 | method | 7 | 1 | 0 | 1 | 0.5 | |
| Permit::dropsrc/init/round_scheduler.rs:246 | trait impl | 10 | 3 | 0 | 1 | 0.5 | |
| submit_at_or_below_the_limit_is_due_at_oncesrc/init/round_scheduler.rs:294 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| queued_requests_are_served_by_one_round_once_the_interval_passessrc/init/round_scheduler.rs:308 | fn | 20 | 1 | 0 | 3 | 0.5 | |
| force_ignores_the_book_size_and_the_intervalsrc/init/round_scheduler.rs:330 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| a_request_finding_a_round_in_flight_stays_recordedsrc/init/round_scheduler.rs:340 | fn | 15 | 2 | 0 | 3 | 0.5 | |
| one_permit_at_a_time_across_threadssrc/init/round_scheduler.rs:357 | fn | 30 | 3 | 0 | 3 | 0.5 | |
| a_failed_round_records_its_request_againsrc/init/round_scheduler.rs:389 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| a_request_recorded_after_the_book_was_read_stays_recordedsrc/init/round_scheduler.rs:400 | fn | 13 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.