rust 1,880,059 · typescript 232,735 · javascript 134,784 · python 22,539 · 6,528 files · digest c5525c3879ae · built in 13.2 s · crystals off
crates/cre8-app-capitalstrategy/src/store.rs
Items
enum PersistenceMode impl PersistenceMode const SNAPSHOT_INTERVAL_MS const HYPER_SNAPSHOT_CAP struct Snapshot struct KindEnvStatsEntry struct SolverEnvStatsEntry struct HyperEdgeEntry const SNAPSHOT_VERSION const CODE_VERSION_FINGERPRINT const MAX_SNAPSHOT_AGE_MS const HOT_WINDOW_MS const DECAY_HALF_LIFE_MS static CURRENT_MODE static LAST_SNAPSHOT_MS enum RestorePolicy impl RestorePolicy struct RestoreSummary impl Default for RestoreSummary static BOOT_RESTORE_SUMMARY static BOOT_GUARD
Functions
By call-graph weight (PageRank; 1.0 is the average function). 38 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| PersistenceMode::from_envsrc/store.rs:38 | method | 3 | 1 | 1 | 1 | 2.1 | |
| current_mode_cellsrc/store.rs:190 | fn | 3 | 1 | 2 | 1 | 1.9 | |
| data_dirsrc/store.rs:65 | fn | 13 | 3 | 2 | 3 | 1.8 | |
| RestoreSummary::defaultsrc/store.rs:419 | trait impl | 21 | 1 | 1 | 0 | 1.8 | |
| boot_restore_summary_cellsrc/store.rs:446 | fn | 3 | 1 | 2 | 1 | 1.5 | |
| snapshot_pathsrc/store.rs:80 | fn | 3 | 1 | 4 | 1 | 1.3 | |
| current_modesrc/store.rs:198 | fn | 3 | 1 | 4 | 1 | 1.1 | |
| boot_restore_summarysrc/store.rs:450 | fn | 3 | 1 | 4 | 1 | 1 | |
| statussrc/store.rs:721 | fn | 39 | 1 | 2 | 4 | 1 | |
| last_snapshot_cellsrc/store.rs:194 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| attempt_restoresrc/store.rs:488 | fn | 66 | 6 | 1 | 11 | 0.7 | |
| build_snapshotsrc/store.rs:249 | fn | 25 | 3 | 1 | 8 | 0.7 | |
| boot_restore_oncesrc/store.rs:473 | fn | 14 | 3 | 1 | 3 | 0.6 | |
| write_snapshotsrc/store.rs:235 | fn | 13 | 2 | 1 | 3 | 0.6 | |
| restore_learned_gainssrc/store.rs:603 | fn | 5 | 2 | 1 | 1 | 0.6 | |
| restore_solver_entriessrc/store.rs:609 | fn | 17 | 2 | 1 | 1 | 0.6 | |
| restore_kind_entriessrc/store.rs:627 | fn | 16 | 2 | 1 | 1 | 0.6 | |
| restore_hyper_edgessrc/store.rs:644 | fn | 6 | 2 | 1 | 1 | 0.6 | |
| restore_stored_decisionssrc/store.rs:651 | fn | 5 | 2 | 1 | 1 | 0.6 | |
| restore_tradessrc/store.rs:657 | fn | 9 | 2 | 1 | 3 | 0.6 | |
| collect_trades_for_snapshotsrc/store.rs:275 | fn | 9 | 2 | 1 | 1 | 0.6 | |
| collect_kind_env_statssrc/store.rs:285 | fn | 20 | 2 | 1 | 1 | 0.6 | |
| collect_solver_env_statssrc/store.rs:306 | fn | 21 | 2 | 1 | 1 | 0.6 | |
| collect_hyper_top_edgessrc/store.rs:328 | fn | 18 | 2 | 1 | 1 | 0.6 | |
| RestorePolicy::from_envsrc/store.rs:364 | method | 3 | 1 | 1 | 1 | 0.5 | |
| decay_factor_for_age_mssrc/store.rs:456 | fn | 7 | 2 | 1 | 0 | 0.5 | |
| restore_policy_offsrc/store.rs:555 | fn | 9 | 2 | 1 | 0 | 0.5 | |
| restore_snapshot_missingsrc/store.rs:565 | fn | 7 | 2 | 1 | 0 | 0.5 | |
| restore_version_rejectedsrc/store.rs:573 | fn | 8 | 2 | 1 | 0 | 0.5 | |
| restore_age_rejectedsrc/store.rs:582 | fn | 8 | 2 | 1 | 0 | 0.5 | |
| restore_snapshot_payloadsrc/store.rs:591 | fn | 8 | 1 | 1 | 6 | 0.5 | |
| read_restore_snapshotsrc/store.rs:667 | fn | 15 | 2 | 1 | 1 | 0.5 | |
| fingerprint_restore_rejectedsrc/store.rs:683 | fn | 18 | 3 | 1 | 0 | 0.5 | |
| snapshot_if_duesrc/store.rs:210 | fn | 22 | 6 | 1 | 5 | 0.5 | |
| PersistenceMode::as_strsrc/store.rs:42 | method | 7 | 3 | 0 | 0 | 0.5 | |
| set_modesrc/store.rs:202 | fn | 5 | 2 | 0 | 1 | 0.5 | |
| RestorePolicy::as_strsrc/store.rs:368 | method | 7 | 3 | 0 | 0 | 0.5 | |
| try_load_snapshotsrc/store.rs:705 | fn | 12 | 3 | 0 | 1 | 0.5 |
Source not readable from this process.