MCPcopy Create free account

hub / github.com/antirez/ds4 / functions

Functions2,709 in github.com/antirez/ds4

↓ 3 callersFunctionraxDefragDelChars
Remove the specified number of chars from the right of the current key. */
rax.c:2394
↓ 3 callersFunctionraxDefragStackPeek
Return the frame at the top of the defragmentation stack, or NULL if there * are no more nodes to visit. */
rax.c:2353
↓ 3 callersFunctionraxReallocForData
realloc the node to make room for auxiliary data in order * to store an item in that node. On out of memory NULL is returned. */
rax.c:264
↓ 3 callersFunctionraxRemove
Remove the specified item. Returns 1 if the item was found and * deleted, 0 otherwise. */
rax.c:1269
↓ 3 callersFunctionraxSeekGreatest
Seek the greatest key in the subtree at the current node. Return 0 on * out of memory, otherwise 1. This is an helper function for different * itera
rax.c:1790
↓ 3 callersFunctionread_f32_binary_file
ds4.c:1273
↓ 3 callersFunctionread_prompt_file
ds4_cli.c:1345
↓ 3 callersFunctionrenderer_code_emit_buffered_line
Code is shown as soon as bytes arrive. At end-of-line we can cheaply * replace only that terminal row with syntax-highlighted text, but only for *
ds4_agent.c:2341
↓ 3 callersFunctionrenderer_markdown_clear_pending
Tiny streaming Markdown highlighter for assistant prose. It deliberately * recognizes only delimiters that the model commonly emits in short answers
ds4_agent.c:2454
↓ 3 callersFunctionrequest_ctx_span
ds4_server.c:9337
↓ 3 callersFunctionrequest_exceeds_context
ds4_server.c:4837
↓ 3 callersFunctionrequest_uses_openai_live_stream
ds4_server.c:5969
↓ 3 callersFunctionresponses_live_clear
ds4_server.c:8024
↓ 3 callersFunctionresponses_stream_free
ds4_server.c:6046
↓ 3 callersFunctionrms_norm_no_weight
RMSNorm without a learned scale, used by hyper-connection control vectors. */
ds4.c:4498
↓ 3 callersFunctionrocm_graph_stream_layer_expert_bytes
ds4.c:11727
↓ 3 callersFunctionrol32
ds4_kvstore.c:222
↓ 3 callersFunctionrope_tail_layer_batch_inplace
ds4.c:6963
↓ 3 callersFunctionrun_clock_sec
ds4_eval.c:1421
↓ 3 callersFunctionsample_rng_f32
ds4.c:22600
↓ 3 callersFunctionserver_close_resources
ds4_server.c:11462
↓ 3 callersFunctionsession_cpu_reset_cache
ds4.c:23620
↓ 3 callersFunctionsigmoid_stable
ds4.c:7033
↓ 3 callersFunctionsplit_reasoning_content
ds4_server.c:4430
↓ 3 callersFunctionsse_headers
Streaming is a translation state machine over the raw DS4 text. The model * may produce <think> and DSML tool blocks; clients should receive those a
ds4_server.c:4881
↓ 3 callersFunctionstop_list_find_from
ds4_server.c:969
↓ 3 callersFunctionstop_list_push
ds4_server.c:926
↓ 3 callersFunctionstop_list_stream_safe_len
ds4_server.c:991
↓ 3 callersFunctionstr_starts
gguf-tools/deepseek4-quantize.c:120
↓ 3 callersFunctiontensor_1d_value
ds4.c:5507
↓ 3 callersFunctiontensor_type
ds4.c:1694
↓ 3 callersFunctiontest_close_engines
tests/ds4_test.c:124
↓ 3 callersFunctiontest_f16_to_f32
tests/ds4_test.c:166
↓ 3 callersFunctiontest_float_to_f16
tests/ds4_test.c:141
↓ 3 callersFunctiontest_force_canonical_streaming_prefill
tests/ds4_test.c:66
↓ 3 callersFunctiontest_local_golden_overlap
tests/ds4_test.c:1092
↓ 3 callersFunctiontest_logits_topk
tests/ds4_test.c:1290
↓ 3 callersFunctiontest_mpp_capture
tests/ds4_test.c:1452
↓ 3 callersFunctiontest_mpp_capture_logits_only
tests/ds4_test.c:1481
↓ 3 callersFunctiontest_round_up_u64
tests/ds4_test.c:137
↓ 3 callersFunctiontest_topk_contains
tests/ds4_test.c:1305
↓ 3 callersFunctiontext_stream_safe_limit
ds4_server.c:7392
↓ 3 callersFunctiontoken_printer_write_text
ds4_cli.c:394
↓ 3 callersFunctiontool_call_free
ds4_server.c:649
↓ 3 callersFunctiontool_call_json_args_add
ds4_server.c:4337
↓ 3 callersFunctiontool_memory_find_block_locked
ds4_server.c:7817
↓ 3 callersFunctiontool_memory_find_entry_locked
ds4_server.c:7882
↓ 3 callersFunctiontool_memory_has_id
ds4_server.c:8084
↓ 3 callersFunctiontool_memory_remove_entry_locked
ds4_server.c:7858
↓ 3 callersFunctiontool_schema_order_free
ds4_server.c:710
↓ 3 callersFunctiontool_schema_orders_add_json_wire
ds4_server.c:1417
↓ 3 callersFunctiontrace_write_block
ds4_eval.c:2501
↓ 3 callersFunctiontrim_tool_separator_ws
ds4_server.c:4271
↓ 3 callersFunctiontui_clear_left_line
ds4_eval.c:1718
↓ 3 callersFunctiontui_has_quit_request
ds4_eval.c:3580
↓ 3 callersFunctiontui_has_switch_request
ds4_eval.c:3573
↓ 3 callersFunctiontui_right_text_w
ds4_eval.c:1711
↓ 3 callersFunctiontui_run_clock_tick
ds4_eval.c:1278
↓ 3 callersFunctionutf8CharWidth
Return the display width of a Unicode codepoint. This is a heuristic * that works for most common cases: * - Control chars and zero-width: 0 columns
linenoise.c:371
↓ 3 callersFunctionutf8DecodePrev
Decode the UTF-8 codepoint ending at position 'pos' (exclusive) and * return its value. Also sets *cplen to the byte length of the codepoint. */
linenoise.c:237
↓ 3 callersFunctionutf8PrevCharLen
Given a buffer and a position, return the byte length of the grapheme * cluster before that position. A grapheme cluster includes: * - The base char
linenoise.c:258
↓ 3 callersFunctionutf8SingleCharWidth
Return the display width of a single UTF-8 character at position 's'. */
linenoise.c:481
↓ 3 callersFunctionutf8_len_from_first_byte
ds4.c:21939
↓ 3 callersFunctionvisible_live_clear_locked
ds4_server.c:7962
↓ 3 callersFunctionwall_ms
ds4_server.c:4133
↓ 3 callersFunctionweb_cancelled
ds4_web.c:131
↓ 3 callersFunctionweb_http_request
ds4_web.c:245
↓ 3 callersFunctionweb_json_get_string
ds4_web.c:750
↓ 3 callersFunctionweb_log
ds4_web.c:121
↓ 3 callersFunctionweb_random_bytes
ds4_web.c:320
↓ 3 callersFunctionweb_read_some
ds4_web.c:234
↓ 3 callersFunctionweights_layer_has_required
ds4.c:3473
↓ 3 callersFunctionweights_model_map_decode_layer_spans
ds4.c:4345
↓ 3 callersFunctionworker_consume
The UI thread consumes output in batches. Taking ownership of w->out under * the mutex keeps terminal writes outside the lock while preserving order
ds4_agent.c:8220
↓ 3 callersFunctionworker_set_greedy_sampling
ds4_agent.c:7623
↓ 3 callersFunctionworker_status_power_locked
ds4_agent.c:8186
↓ 3 callersFunctionwrite_rendered
(path: Path, rows: Iterable[Record])
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:2151
↓ 3 callersFunctionxrealloc
ds4.c:715
↓ 2 callersFunctionaccelerator_cache_model_tensors
ds4.c:2279
↓ 2 callersFunctionaccelerator_span_filter_contains
ds4.c:2126
↓ 2 callersFunctionadd_rows
(total: list[list[float]], rows: list[list[float]])
dir-steering/tools/build_direction.py:116
↓ 2 callersFunctionagent_bash_drain
ds4_agent.c:6728
↓ 2 callersFunctionagent_bash_finalize
ds4_agent.c:6750
↓ 2 callersFunctionagent_bash_job_free
ds4_agent.c:6684
↓ 2 callersFunctionagent_bash_job_tool_result
Common implementation for bash, bash_status, and bash_stop. */
ds4_agent.c:7101
↓ 2 callersFunctionagent_bash_observation
Build the tool result for a bash job. mark_observed advances the per-job * cursor so the next status reports only fresh output. */
ds4_agent.c:6961
↓ 2 callersFunctionagent_bash_remove_job
ds4_agent.c:6715
↓ 2 callersFunctionagent_build_tools_prompt
ds4_agent.c:948
↓ 2 callersFunctionagent_dsml_marker_detector_feed
Detect DSML-looking control markers in text that is not currently owned by * the executable DSML parser. This helper intentionally has no policy: in
ds4_agent.c:3296
↓ 2 callersFunctionagent_dsml_open_tag_is
ds4_agent.c:1341
↓ 2 callersFunctionagent_dsml_parameter_close_tail
Recognize a streamed parameter close tag prefix. Full close detection is * handled by agent_dsml_close_tag_at(); this helper exists for online behav
ds4_agent.c:1369
↓ 2 callersFunctionagent_dsml_raw_append
ds4_agent.c:1312
↓ 2 callersFunctionagent_dsml_start
ds4_agent.c:1516
↓ 2 callersFunctionagent_footer_is_multiline
ds4_agent.c:8508
↓ 2 callersFunctionagent_format_user_prompt_echo
ds4_agent.c:8270
↓ 2 callersFunctionagent_history_is_tool_user
ds4_agent.c:4623
↓ 2 callersFunctionagent_history_tool_result_payload
Tool messages are rendered as user turns in the transcript. Return the * inner payload for the current <tool_result> wrapper so /history skips these
ds4_agent.c:4602
↓ 2 callersFunctionagent_kv_load_path
Load a KV file and optionally verify either its session identity or exact * rendered text. sysprompt.kv uses exact text because the file name is fix
ds4_agent.c:3771
↓ 2 callersFunctionagent_kv_save_path
Save the current live KV under the rendered transcript identity. The caller * decides the policy: fixed sysprompt path or SHA-named session path. */
ds4_agent.c:3873
↓ 2 callersFunctionagent_kv_session_meta_free
ds4_agent.c:3662
← previousnext →801–900 of 2,709, ranked by callers