MCPcopy Create free account

hub / github.com/antirez/ds4 / functions

Functions2,709 in github.com/antirez/ds4

↓ 2 callersFunctiontool_schema_orders_find_index
ds4_server.c:733
↓ 2 callersFunctiontrace_cache_miss_reason
ds4_server.c:9071
↓ 2 callersFunctiontrace_copy_model_output
ds4_eval.c:3179
↓ 2 callersFunctiontrace_skip_counted_block
ds4_eval.c:3064
↓ 2 callersFunctiontrace_write_token
ds4_server.c:9104
↓ 2 callersFunctiontui_draw_stream
ds4_eval.c:2153
↓ 2 callersFunctiontui_draw_title
ds4_eval.c:1977
↓ 2 callersFunctiontui_restore
ds4_eval.c:1948
↓ 2 callersFunctiontui_run_clock_start
ds4_eval.c:1286
↓ 2 callersFunctiontui_run_clock_visible_sec
ds4_eval.c:1298
↓ 2 callersFunctionusage
ds4_bench.c:60
↓ 2 callersFunctionusage
ds4_cli.c:131
↓ 2 callersFunctionusage
ds4_eval.c:1498
↓ 2 callersFunctionusage
ds4_agent.c:500
↓ 2 callersFunctionusage
ds4_server.c:11482
↓ 2 callersFunctionutf8_expected_len
ds4_server.c:1000
↓ 2 callersFunctionvalue_nelements
gguf-tools/deepseek4-quantize.c:654
↓ 2 callersFunctionvec_dot_q4_K_q8_K
The corrected dot product, matching ds4.c after the fix. */
tests/test_q4k_dot.c:51
↓ 2 callersFunctionvocab_free
ds4.c:22275
↓ 2 callersFunctionvocab_load
Load token strings, special token ids, and merge ranks from GGUF metadata. */
ds4.c:22233
↓ 2 callersFunctionweb_cdp_alive
ds4_web.c:294
↓ 2 callersFunctionweb_cdp_call_optional
ds4_web.c:658
↓ 2 callersFunctionweb_err_is_interrupted
ds4_web.c:152
↓ 2 callersFunctionweb_hex4
ds4_web.c:664
↓ 2 callersFunctionweb_run_page_js
ds4_web.c:1261
↓ 2 callersFunctionweb_tcp_connect
ds4_web.c:169
↓ 2 callersFunctionweb_url_encode
ds4_web.c:305
↓ 2 callersFunctionweb_utf8_append
ds4_web.c:678
↓ 2 callersFunctionweb_wait_navigated_ready
ds4_web.c:847
↓ 2 callersFunctionweb_ws_connect
ds4_web.c:385
↓ 2 callersFunctionweights_have_partial_output_head
ds4.c:3464
↓ 2 callersFunctionweights_model_map_decode_static_spans
ds4.c:4355
↓ 2 callersFunctionweights_model_map_output_spans
ds4.c:4427
↓ 2 callersFunctionweights_model_map_token_spans
ds4.c:4418
↓ 2 callersFunctionweights_streaming_layer_experts_uniform
* Mixed-precision ("boosted") GGUFs upcast a few layers' routed experts to a * bigger quant (e.g. Q4_K among IQ2 layers). The streaming expert cache
ds4.c:3344
↓ 2 callersFunctionworker_accept_generated_token
ds4_agent.c:7523
↓ 2 callersFunctionworker_answer_queued_user_drain
ds4_agent.c:4134
↓ 2 callersFunctionworker_run_deferred_compact
ds4_agent.c:8037
↓ 2 callersFunctionworker_run_deferred_save
ds4_agent.c:8024
↓ 2 callersFunctionworker_take_queued_user_drain_request
ds4_agent.c:4126
↓ 2 callersFunctionwrite_padding
gguf-tools/deepseek4-quantize.c:1606
↓ 2 callersFunctionwrite_padding
(out: BinaryIO, n_bytes: int, alignment: int)
gguf-tools/mixed/splice_mixed_expert_layers_gguf.py:309
↓ 1 callersFunctionabAppendUtf8Clipped
Append at most maxcols terminal cells of UTF-8 text. Status text is * expected to be plain text, with styling supplied separately by the caller, *
linenoise.c:924
↓ 1 callersFunctionaccelerator_cache_q8_tensors
ds4.c:2255
↓ 1 callersFunctionaccelerator_cuda_preload_span_bytes
ds4.c:2111
↓ 1 callersFunctionaccelerator_prepare_model_tensor_spans
ds4.c:2143
↓ 1 callersFunctionagent_append_system_prompt
ds4_agent.c:984
↓ 1 callersFunctionagent_apply_file_splice
ds4_agent.c:6229
↓ 1 callersFunctionagent_bash_display_lines
ds4_agent.c:6671
↓ 1 callersFunctionagent_bash_find_job
ds4_agent.c:6707
↓ 1 callersFunctionagent_bash_jobs_compaction_observation
If compaction happens while a bash process is still alive, inject a small * tool-role reminder into the rebuilt transcript. Otherwise the summary co
ds4_agent.c:7225
↓ 1 callersFunctionagent_bash_jobs_free
ds4_agent.c:6697
↓ 1 callersFunctionagent_bash_note_output
ds4_agent.c:6676
↓ 1 callersFunctionagent_bash_publish_observation
ds4_agent.c:7044
↓ 1 callersFunctionagent_bash_read_head
Read the first max_lines from the output file, with a byte cap to avoid a * pathological single long line flooding the next model turn. */
ds4_agent.c:6892
↓ 1 callersFunctionagent_bash_read_tail_lines
Read the last max_lines from the full output file. The model-visible label * says "tail -N <file>" so it is clear this is not the complete output. *
ds4_agent.c:6925
↓ 1 callersFunctionagent_bash_refresh_for
ds4_agent.c:7087
↓ 1 callersFunctionagent_bash_start
Spawn a shell command into its own process group so bash_stop/timeout can * kill grandchildren created by the shell, not just the /bin/sh wrapper. */
ds4_agent.c:6808
↓ 1 callersFunctionagent_build_system_prompt_reminder
ds4_agent.c:970
↓ 1 callersFunctionagent_compact_make_prompt
Build the private prompt used to ask the model for durable state. The prompt * explicitly forbids tool calls because the result is consumed internal
ds4_agent.c:7304
↓ 1 callersFunctionagent_compact_tail_start
Pick a recent verbatim tail for the compacted transcript. Prefer a user * boundary inside the budget so the rebuilt context starts at a natural turn
ds4_agent.c:7276
↓ 1 callersFunctionagent_completion_sessions_push
ds4_agent.c:5089
↓ 1 callersFunctionagent_count_lines
ds4_agent.c:6498
↓ 1 callersFunctionagent_default_cache_dir
ds4_agent.c:3609
↓ 1 callersFunctionagent_dsml_feed
ds4_agent.c:1524
↓ 1 callersFunctionagent_dsml_find_close_tag
Find a DSML closing tag while accepting the few harmless closing-tag variants * the model has been observed to emit. Opening tags stay strict so acc
ds4_agent.c:1425
↓ 1 callersFunctionagent_dsml_parse
Parse as much of the accumulated DSML buffer as possible. The parser can be * called after every streamed byte: incomplete input leaves state unchan
ds4_agent.c:1438
↓ 1 callersFunctionagent_dsml_parser_reset
ds4_agent.c:1307
↓ 1 callersFunctionagent_dsml_update_param_close_prefix
ds4_agent.c:1397
↓ 1 callersFunctionagent_echo_user_prompt
ds4_agent.c:8284
↓ 1 callersFunctionagent_edit_old_is_only_space
ds4_agent.c:5990
↓ 1 callersFunctionagent_edit_old_may_be_closing_tag
ds4_agent.c:5982
↓ 1 callersFunctionagent_edit_old_prefix_mature_for_upto
ds4_agent.c:6006
↓ 1 callersFunctionagent_edit_old_ready_for_upto
ds4_agent.c:6021
↓ 1 callersFunctionagent_edit_result
ds4_agent.c:5602
↓ 1 callersFunctionagent_edit_result_append_context
Successful edits return the nearby post-edit file shape. This spends cheap * prefill tokens to save expensive model retries: the model immediately s
ds4_agent.c:5851
↓ 1 callersFunctionagent_edit_upto_forcer_should_replace
While the model streams an edit old=... argument, stop it from retyping a * large exact old block once the emitted prefix is already a unique file *
ds4_agent.c:6036
↓ 1 callersFunctionagent_execute_tool_call
Execute one parsed DSML tool call and return the text that will be appended as * the tool-role result. UI visualization already happened while strea
ds4_agent.c:7143
↓ 1 callersFunctionagent_execute_tool_calls
Execute all tool calls from one DSML block, preserving per-call labels in the * combined result so the model can associate observations with calls. *
ds4_agent.c:7205
↓ 1 callersFunctionagent_find_unique_after
Find an anchor only in the suffix after start. * * Anchored edits use "head [upto] tail": the head fixes the edit start, and * the tail should deli
ds4_agent.c:5950
↓ 1 callersFunctionagent_format_age
ds4_agent.c:4414
↓ 1 callersFunctionagent_format_welcome_banner
ds4_agent.c:9396
↓ 1 callersFunctionagent_history_latest_compaction_summary
ds4_agent.c:4701
↓ 1 callersFunctionagent_history_render_assistant
ds4_agent.c:4804
↓ 1 callersFunctionagent_history_render_compaction_summary
ds4_agent.c:4737
↓ 1 callersFunctionagent_history_render_text
Re-render saved transcript text for /history and /switch. It intentionally * uses the same assistant/token renderer as live output, so restored hist
ds4_agent.c:4869
↓ 1 callersFunctionagent_history_skip_utf8_continuation
ds4_agent.c:4753
↓ 1 callersFunctionagent_history_start_for_turns
Find the oldest rendered-chat marker needed to show the last N user turns. * Tool-result pseudo-user turns are skipped while human turns exist, so *
ds4_agent.c:4642
↓ 1 callersFunctionagent_input_buf_append
ds4_agent.c:392
↓ 1 callersFunctionagent_input_buf_free
ds4_agent.c:412
↓ 1 callersFunctionagent_input_buf_take
ds4_agent.c:405
↓ 1 callersFunctionagent_kv_path_for_sha
ds4_agent.c:3619
↓ 1 callersFunctionagent_le_put64
ds4_agent.c:3626
↓ 1 callersFunctionagent_line_spans_push
ds4_agent.c:5489
↓ 1 callersFunctionagent_literal_match
ds4_agent.c:6323
↓ 1 callersFunctionagent_old_new_line_effect
ds4_agent.c:5573
↓ 1 callersFunctionagent_parse_timeout
ds4_agent.c:5430
↓ 1 callersFunctionagent_power_status_suffix
ds4_agent.c:8357
↓ 1 callersFunctionagent_prefill_label
Keep each prefill operation on a single playful label so the footer does not * visually churn while progress updates stream in. */
ds4_agent.c:8373
↓ 1 callersFunctionagent_preflight_edit_old
ds4_agent.c:6203
← previousnext →1,401–1,500 of 2,709, ranked by callers