1 viewer
rust 1,859,748 · typescript 235,215 · javascript 132,913 · python 20,426 · 6,405 files · digest 00b5738199cb · built in 1.3 s · crystals off
crates/cre8-app-metering/src/worker.rs
Items
const DEFAULT_DRAIN_OUTCOME_CAP const MAX_DRAIN_OUTCOME_CAP struct DrainOutcome
Functions
By call-graph weight (PageRank; 1.0 is the average function). 13 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| setupsrc/worker.rs:124 | fn | 35 | 1 | 6 | 6 | 1.5 | |
| evsrc/worker.rs:160 | fn | 15 | 1 | 5 | 1 | 1.3 | |
| push_drain_outcomesrc/worker.rs:48 | fn | 9 | 3 | 3 | 0 | 1.3 | |
| try_drainsrc/worker.rs:62 | fn | 21 | 2 | 4 | 3 | 1.2 | |
| drain_outcome_capsrc/worker.rs:40 | fn | 7 | 1 | 2 | 1 | 1.1 | |
| drain_until_disconnectedsrc/worker.rs:96 | fn | 16 | 2 | 2 | 3 | 0.8 | |
| try_drain_processes_all_pending_then_stopssrc/worker.rs:177 | fn | 11 | 1 | 0 | 3 | 0.5 | |
| try_drain_empty_channel_returns_emptysrc/worker.rs:190 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| try_drain_disconnected_channel_returns_emptysrc/worker.rs:198 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| drain_until_disconnected_blocks_then_processes_allsrc/worker.rs:207 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| drain_outcome_carries_flow_resultssrc/worker.rs:221 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| drain_outcome_ring_retains_recent_entries_when_cappedsrc/worker.rs:233 | fn | 10 | 2 | 0 | 2 | 0.5 | |
| drain_until_disconnected_works_across_threadssrc/worker.rs:245 | fn | 17 | 2 | 0 | 3 | 0.5 |
Source not readable from this process.