1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-util-dsp/src/lib.rs
Items
struct SampleRate impl Display for SampleRate impl SampleRate impl From for u32
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| SampleRate::as_u64src/lib.rs:163 | method | 3 | 1 | 106 | 0 | 46.9 | |
| SampleRate::as_f64src/lib.rs:157 | method | 3 | 1 | 58 | 0 | 19.2 | |
| SampleRate::hzsrc/lib.rs:146 | method | 3 | 1 | 53 | 0 | 13.9 | |
| SampleRate::newsrc/lib.rs:142 | method | 3 | 1 | 20 | 0 | 4 | |
| SampleRate::clamp_minsrc/lib.rs:171 | method | 3 | 2 | 9 | 0 | 2 | |
| SampleRate::period_secssrc/lib.rs:177 | method | 3 | 2 | 3 | 0 | 1.5 | |
| SampleRate::samples_forsrc/lib.rs:183 | method | 5 | 3 | 2 | 0 | 1.3 | |
| SampleRate::nyquist_hzsrc/lib.rs:150 | method | 3 | 1 | 1 | 0 | 0.9 | |
| SampleRate::fmtsrc/lib.rs:129 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| u32::fromsrc/lib.rs:191 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| nyquist_is_halfsrc/lib.rs:201 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| period_is_inverse_hzsrc/lib.rs:207 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| period_zero_guardsrc/lib.rs:213 | fn | 3 | 1 | 0 | 2 | 0.5 | |
| samples_for_one_secondsrc/lib.rs:218 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| samples_for_chunk_mssrc/lib.rs:224 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| constants_match_u32src/lib.rs:230 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| accessors_display_and_clamp_are_stablesrc/lib.rs:235 | fn | 9 | 1 | 0 | 5 | 0.5 |
Source not readable from this process.