Skip to content
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-app-tv/src/viewer_voices.rs

cre8-app-tv · module viewer_voices · src · 498 lines (337 code, 108 comment) · sha f12b15a71713c3b7

Items

const MAX_TEXT_CHARS const MAX_USER_CHARS const DEFAULT_CAP struct ViewerVoice struct VoiceBuffer impl Default for VoiceBuffer impl VoiceBuffer static STREAM_VOICES

Functions

By call-graph weight (PageRank; 1.0 is the average function). 37 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
sanitize_viewer_chatsrc/viewer_voices.rs:48fn311024
sanitize_onesrc/viewer_voices.rs:52fn133132.2
message_topicsrc/viewer_voices.rs:66fn31102.2
chatsrc/viewer_voices.rs:280fn81702
stream_voicessrc/viewer_voices.rs:248fn31101.8
VoiceBuffer::with_capacitysrc/viewer_voices.rs:162method31201.7
lock_stream_voicessrc/viewer_voices.rs:252fn62211.5
collapse_whitespacesrc/viewer_voices.rs:128fn165101.4
VoiceBuffer::ingestsrc/viewer_voices.rs:172method235511.4
VoiceBuffer::defaultsrc/viewer_voices.rs:155trait impl31411.1
message_textsrc/viewer_voices.rs:73fn91101.1
message_usersrc/viewer_voices.rs:85fn131101.1
scrubsrc/viewer_voices.rs:116fn103111.1
VoiceBuffer::prompt_blocksrc/viewer_voices.rs:220method102301.1
room_messages_inputsrc/viewer_voices.rs:234fn31100.9
clear_streamsrc/viewer_voices.rs:271fn31210.9
ingest_for_streamsrc/viewer_voices.rs:262fn61230.8
VoiceBuffer::last_revisionsrc/viewer_voices.rs:212method31200.8
VoiceBuffer::snapshotsrc/viewer_voices.rs:197method31000.5
VoiceBuffer::lensrc/viewer_voices.rs:202method31000.5
VoiceBuffer::is_emptysrc/viewer_voices.rs:207method31000.5
newline_injection_is_flattened_to_a_single_linesrc/viewer_voices.rs:290fn91020.5
role_markers_braces_and_backticks_are_strippedsrc/viewer_voices.rs:301fn102020.5
non_whitespace_control_characters_are_droppedsrc/viewer_voices.rs:313fn71020.5
whitespace_control_characters_become_a_single_spacesrc/viewer_voices.rs:322fn71020.5
oversize_text_is_truncated_on_a_char_boundary_multibyte_safesrc/viewer_voices.rs:331fn91020.5
user_is_truncated_and_falls_back_to_viewersrc/viewer_voices.rs:342fn161020.5
user_falls_back_to_peer_id_when_payload_user_absentsrc/viewer_voices.rs:360fn101010.5
wrapped_envelope_text_path_is_readsrc/viewer_voices.rs:372fn121010.5
reactions_and_other_topics_are_excludedsrc/viewer_voices.rs:386fn101020.5
revision_gating_makes_re_ingest_a_no_opsrc/viewer_voices.rs:398fn151030.5
dedup_skips_identical_user_text_already_bufferedsrc/viewer_voices.rs:415fn101030.5
cap_evicts_oldest_firstsrc/viewer_voices.rs:427fn121020.5
prompt_block_has_exact_framingsrc/viewer_voices.rs:441fn101030.5
empty_buffer_prompt_block_is_just_the_fenced_disclaimersrc/viewer_voices.rs:453fn101020.5
room_messages_input_builds_the_expected_requestsrc/viewer_voices.rs:465fn61010.5
stream_registry_persists_watermark_across_ingests_and_clearssrc/viewer_voices.rs:473fn251020.5

Source not readable from this process.