MCPcopy Create free account

hub / github.com/antirez/ds4 / functions

Functions2,709 in github.com/antirez/ds4

↓ 334 callersFunctionxmalloc
ds4.c:701
↓ 309 callersFunctionbuf_puts
ds4_server.c:141
↓ 263 callersFunctionxstrdup
ds4_server.c:82
↓ 215 callersFunctionnow_sec
ds4.c:740
↓ 199 callersFunctionjson_ws
ds4_server.c:171
↓ 149 callersFunctionds4_die
ds4.c:618
↓ 145 callersFunctionopt
ds4_help.c:71
↓ 142 callersFunctionagent_buf_puts
ds4_agent.c:3573
↓ 142 callersFunctionbuf_free
ds4_server.c:166
↓ 127 callersFunctionds4_tokens_free
ds4.c:21777
↓ 114 callersFunctionbuf_putc
ds4_server.c:137
↓ 112 callersFunctionmetal_graph_debug_dump_tensor
ds4.c:10837
↓ 93 callersFunctionjson_escape
ds4_server.c:4166
↓ 86 callersFunctionjson_string
ds4_server.c:221
↓ 82 callersFunctionpayload_set_err
ds4.c:23308
↓ 76 callersFunctiondie
gguf-tools/deepseek4-quantize.c:66
↓ 71 callersFunctionbuf_printf
ds4_server.c:145
↓ 68 callersFunctionchat_msgs_push
ds4_server.c:702
↓ 68 callersFunctionserver_log
ds4_server.c:7609
↓ 64 callersFunctiontensor_expect_layout
ds4.c:3136
↓ 57 callersFunctionds4_session_free
ds4.c:26122
↓ 54 callersFunctionrequest_free
ds4_server.c:773
↓ 53 callersFunctionchat_msgs_free
ds4_server.c:696
↓ 52 callersFunctiondist_worker_upstream_send_work_error
ds4_distributed.c:6286
↓ 50 callersFunctionagent_publish
Queue rendered output for the UI thread. The worker never writes directly * to the terminal, which keeps linenoise redraws serialized in one place.
ds4_agent.c:1075
↓ 48 callersFunctionjson_skip_value
ds4_server.c:376
↓ 46 callersFunctionmax_abs_diff
ds4.c:10242
↓ 45 callersFunctionds4_backend_name
ds4.c:23121
↓ 44 callersFunctiontensor_data
Return the in-place tensor payload inside the mapped GGUF. */
ds4.c:2326
↓ 43 callersFunctionweb_set_err
ds4_web.c:113
↓ 43 callersFunctionxstrdup
ds4_agent.c:350
↓ 41 callersFunctiondist_discard_bytes
ds4_distributed.c:1156
↓ 41 callersFunctionds4_engine_close
ds4.c:26021
↓ 39 callersFunctionf16_to_f32
ds4.c:2368
↓ 39 callersFunctionrequired_tensor
ds4.c:3113
↓ 38 callersFunctionds4_tokens_push
ds4.c:21773
↓ 37 callersFunctionagent_tool_viz_puts
ds4_agent.c:2737
↓ 37 callersFunctiontool_calls_free
ds4_server.c:656
↓ 36 callersFunctionagent_buf_take
ds4_agent.c:3577
↓ 36 callersFunctiontoken_vec_push
ds4.c:21760
↓ 34 callersFunctionbuf_take
ds4_server.c:159
↓ 34 callersFunctionrequired_tensorf
ds4.c:3129
↓ 33 callersFunctiondist_now_sec
ds4_distributed.c:547
↓ 33 callersFunctionds4_think_mode_enabled
ds4.c:23178
↓ 33 callersFunctionrequest_init
ds4_server.c:760
↓ 32 callersFunctionds4_layer_compress_ratio
Attention compression is read from GGUF metadata after validating that it * matches the exact layout expected for the loaded model shape. */
ds4.c:625
↓ 32 callersFunctionneed_arg
ds4_cli.c:1337
↓ 31 callersFunctionstreq
ds4_help.c:95
↓ 30 callersFunctionagent_tool_arg_value
ds4_agent.c:1290
↓ 30 callersFunctionblock
(name: str, idx: int)
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:1054
↓ 30 callersFunctionds4_session_set_progress
ds4.c:26166
↓ 29 callersFunctionassistant_with_calls
Build an assistant message that emits DSML tool_calls. The DSML string matches the exact bytes ``append_dsml_tool_calls_text`` would produce.
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:1568
↓ 29 callersFunctionrms_abs_diff
ds4.c:10251
↓ 28 callersFunctionabAppend
linenoise.c:894
↓ 28 callersFunctionagent_wake_locked
Wake the UI thread after changing worker-visible state. The byte in * wake_fd is level-triggered with wake_pending so bursts of sampled tokens do *
ds4_agent.c:1065
↓ 28 callersFunctionds4_session_set_display_progress
ds4.c:26172
↓ 28 callersFunctionneed_arg
ds4_server.c:11437
↓ 28 callersFunctiontoken_vec_free
ds4.c:21768
↓ 28 callersFunctionweb_buf_puts
ds4_web.c:101
↓ 28 callersFunctionwrite_all
ds4_agent.c:374
↓ 27 callersFunctionds4_session_sync
Bring the live backend state to exactly the supplied token prefix. * * ds4-server and the REPL are stateless at the text/API layer but stateful here
ds4.c:26698
↓ 27 callersFunctionrender_chat_prompt_text
ds4_server.c:2286
↓ 27 callersFunctionrenderer_color
ds4_agent.c:2668
↓ 27 callersFunctionrenderer_write
ds4_agent.c:1615
↓ 27 callersFunctionrope_tail_layer_inplace
ds4.c:6906
↓ 27 callersFunctionxmalloc
gguf-tools/deepseek4-quantize.c:76
↓ 26 callersFunctiondist_write_full
ds4_distributed.c:1081
↓ 26 callersFunctiontool_calls_push
ds4_server.c:663
↓ 25 callersFunctiondist_read_full
ds4_distributed.c:1096
↓ 25 callersFunctionds4_token_eos
ds4.c:22545
↓ 24 callersFunctionconfig_expect_u32
ds4.c:3860
↓ 24 callersFunctionneed_arg
ds4_agent.c:504
↓ 23 callersFunctionneed_arg
ds4_eval.c:1463
↓ 23 callersFunctionnow_sec
ds4_agent.c:494
↓ 23 callersFunctionprint_vec_stats
ds4.c:10270
↓ 23 callersFunctionraw_full_lit
ds4_server.c:5194
↓ 23 callersFunctionweb_buf_append
ds4_web.c:83
↓ 22 callersFunctionbuf_append
ds4_server.c:130
↓ 22 callersFunctiondist_u64_from_halves
ds4_distributed.c:1485
↓ 22 callersFunctionds4_parallel_for
ds4.c:1471
↓ 22 callersFunctionds4_session_create
ds4.c:26039
↓ 22 callersFunctionds4_session_eval
ds4.c:27156
↓ 22 callersFunctionpath_join
ds4_server.c:8348
↓ 22 callersFunctionread_socket_text
ds4_server.c:12139
↓ 22 callersFunctionrequired_u32
ds4.c:3086
↓ 22 callersFunctiontrace_event
ds4_server.c:9252
↓ 22 callersFunctionxcalloc
ds4.c:694
↓ 21 callersFunctiondist_u64_to_halves
ds4_distributed.c:1532
↓ 21 callersFunctionxstrndup
ds4_server.c:107
↓ 20 callersFunctionds4_engine_vocab_size
ds4.c:25981
↓ 20 callersFunctionds4_session_pos
ds4.c:27781
↓ 20 callersFunctionds4_session_tokens
ds4.c:24053
↓ 20 callersFunctionds4_token_text
ds4.c:22515
↓ 20 callersFunctionjson_lit
ds4_server.c:175
↓ 20 callersFunctionneed_arg
ds4_bench.c:94
↓ 20 callersFunctionparse_generated_message_ex
ds4_server.c:4447
↓ 20 callersFunctionraxGetData
Get the node auxiliary data. */
rax.c:284
↓ 20 callersFunctiontest_restore_env
tests/ds4_test.c:52
↓ 19 callersFunctiondist_route_plan_free
ds4_distributed.c:2081
↓ 19 callersFunctionds4q_nearest_int
gguf-tools/quants.c:111
next →1–100 of 2,709, ranked by callers