1 viewer
rust 1,859,748 · typescript 235,215 · javascript 132,932 · python 20,426 · 6,405 files · digest 3ddca2872e6e · built in 1.4 s · crystals off
crates/cre8-app-emulation/src/streaming/buffer.rs
Items
struct State struct Shared struct Sender struct Receiver impl Sender impl Receiver impl Drop for Sender impl Drop for Receiver struct Payload const HEADER const MAX_AUDIO_BYTES struct Audio impl Payload
Functions
By call-graph weight (PageRank; 1.0 is the average function). 22 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| audiosrc/streaming/buffer.rs:89 | fn | 27 | 9 | 3 | 1 | 6.1 | |
| u32_atsrc/streaming/buffer.rs:80 | fn | 3 | 1 | 1 | 0 | 5.7 | |
| Receiver::recv_timeoutsrc/streaming/buffer.rs:36 | method | 17 | 4 | 25 | 1 | 3.5 | |
| mailboxsrc/streaming/buffer.rs:16 | fn | 4 | 1 | 5 | 0 | 2.9 | |
| Payload::newsrc/streaming/buffer.rs:118 | method | 12 | 3 | 3 | 1 | 2.8 | |
| Payload::mergesrc/streaming/buffer.rs:131 | method | 27 | 5 | 9 | 1 | 2.7 | |
| packetsrc/streaming/buffer.rs:163 | fn | 14 | 2 | 7 | 1 | 1.6 | |
| closesrc/streaming/buffer.rs:54 | fn | 6 | 1 | 2 | 0 | 1.3 | |
| samplessrc/streaming/buffer.rs:177 | fn | 6 | 1 | 5 | 1 | 1.2 | |
| Sender::sendsrc/streaming/buffer.rs:22 | method | 12 | 3 | 0 | 1 | 0.5 | |
| Sender::dropsrc/streaming/buffer.rs:61 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| Receiver::dropsrc/streaming/buffer.rs:66 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| merge_keeps_audio_order_and_latest_picturesrc/streaming/buffer.rs:184 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| sustained_overload_keeps_newest_audio_and_picturesrc/streaming/buffer.rs:193 | fn | 12 | 2 | 0 | 5 | 0.5 | |
| standalone_oversized_audio_is_boundedsrc/streaming/buffer.rs:206 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| format_change_resets_instead_of_mixing_ratessrc/streaming/buffer.rs:212 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| preserves_newest_watch_trailersrc/streaming/buffer.rs:220 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| stereo_trimming_preserves_interleaved_sample_boundariessrc/streaming/buffer.rs:227 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| malformed_payload_cannot_mix_unvalidated_audiosrc/streaming/buffer.rs:238 | fn | 5 | 1 | 0 | 3 | 0.5 | |
| stopping_discards_pending_outputsrc/streaming/buffer.rs:244 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| disconnected_receiver_refuses_publicationsrc/streaming/buffer.rs:251 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| sleeping_consumer_does_not_hold_producer_locksrc/streaming/buffer.rs:257 | fn | 6 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.