MCPcopy Create free account

hub / github.com/antirez/ds4 / functions

Functions2,709 in github.com/antirez/ds4

↓ 19 callersFunctionextractor_self_test_case
ds4_eval.c:3327
↓ 19 callersFunctionneed_value
gguf-tools/deepseek4-quantize.c:1725
↓ 19 callersFunctionrefreshLine
Utility function to avoid specifying REFRESH_ALL all the times. */
linenoise.c:1599
↓ 19 callersFunctionrouted_expert_row_bytes
ds4.c:3243
↓ 18 callersFunctionds4_session_invalidate
ds4.c:27768
↓ 18 callersFunctionds4_tokenize_rendered_chat
ds4.c:22367
↓ 18 callersFunctionkv_cache_default_options
ds4_server.c:8291
↓ 18 callersFunctionlayer_attn_state_bytes
ds4.c:23402
↓ 18 callersFunctionlayer_index_state_bytes
ds4.c:23407
↓ 18 callersFunctiontensor_expert_bytes
Locate one expert's 2D matrix inside a 3D GGUF expert tensor. */
ds4.c:5529
↓ 17 callersFunctionds4_session_ctx
ds4.c:27785
↓ 17 callersFunctionkv_log_name
ds4_kvstore.c:140
↓ 17 callersFunctionkv_logf
ds4_kvstore.c:144
↓ 17 callersFunctionopenai_sse_stream_update
ds4_server.c:5859
↓ 17 callersFunctionresponses_sse_emit_event
Codex parses an explicit sequence_number on every Responses event for * ordering and reconnect resilience. We inject it after the `{"type":...` head
ds4_server.c:6056
↓ 17 callersFunctiontitle
ds4_help.c:34
↓ 17 callersFunctiontui_refresh
ds4_eval.c:2280
↓ 16 callersFunctionagent_trace
ds4_agent.c:1154
↓ 16 callersFunctiondie_errno
gguf-tools/deepseek4-quantize.c:71
↓ 16 callersFunctionjson_raw_value
ds4_server.c:380
↓ 16 callersFunctionmetal_graph_tensor_row_view
ds4.c:17004
↓ 16 callersFunctionrms_norm_weight
Standard DS4 RMSNorm with learned per-channel scale. */
ds4.c:4507
↓ 16 callersFunctionxmalloc
ds4_agent.c:341
↓ 15 callersFunctionjson_escape_n
ds4_server.c:4188
↓ 15 callersFunctionmodel_get_u32
ds4.c:1738
↓ 15 callersFunctionsend_all
ds4_server.c:4139
↓ 15 callersFunctionterm_move
ds4_eval.c:1703
↓ 15 callersFunctionxrealloc
ds4_agent.c:365
↓ 14 callersFunctionadd_long
(label: str, instruction: str, parts: list[str])
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:1060
↓ 14 callersFunctionadd_record
(records: list[Record], category: str, source: str, messages: list[dict], *, tools_schema: list
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:245
↓ 14 callersFunctionagent_buf_append
ds4_agent.c:3554
↓ 14 callersFunctionbuf_append
ds4_eval.c:1334
↓ 14 callersFunctionds4_engine_model_id
ds4.c:26016
↓ 14 callersFunctionds4_session_is_cpu
ds4.c:23576
↓ 14 callersFunctionds4_think_mode_for_context
ds4.c:23199
↓ 14 callersFunctionds4q_f32_to_f16
gguf-tools/quants.c:92
↓ 14 callersFunctionjson_number
ds4_server.c:271
↓ 14 callersFunctionmetal_graph_encode_output_head
Encode the final HC collapse, output norm, and vocab projection on Metal. */
ds4.c:16071
↓ 14 callersFunctionmetal_graph_free
Release every Metal tensor owned by the whole-model graph runtime. */
ds4.c:10535
↓ 14 callersFunctionmore_line
ds4_help.c:395
↓ 14 callersFunctionpayload_read_tensor_span
ds4.c:23473
↓ 14 callersFunctionpayload_write_tensor_span
Accelerator tensors are copied through a fixed-size CPU buffer. We do not mmap the * cache file and we do not allocate a second graph-sized blob jus
ds4.c:23451
↓ 14 callersFunctionraxIteratorIsInlineLeaf
rax.c:1557
↓ 14 callersFunctiontest_save_env
tests/ds4_test.c:41
↓ 14 callersFunctiontry_repair_dsml
Try to repair a truncated DSML block. * * DSML nesting order is: tool_calls > invoke > parameter. * Single-pass scan: count opens vs closes, then a
ds4_server.c:4635
↓ 14 callersFunctionworker_is_idle
ds4_agent.c:8246
↓ 13 callersFunctioncursor_at
ds4.c:1714
↓ 13 callersFunctionds4_tokens_copy
ds4.c:21781
↓ 13 callersFunctionkv_cache_close
ds4_server.c:8613
↓ 13 callersFunctionread_text
(path: Path)
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:264
↓ 13 callersFunctiontool_schema_orders_free
ds4_server.c:719
↓ 12 callersFunctionbpe_tokenize_text
* DeepSeek V4 Flash declares tokenizer.ggml.pre = "joyai-llm". The split * below mirrors the JoyAI BPE pre-tokenizer for the cases this model * use
ds4.c:22153
↓ 12 callersFunctionbuf_free
ds4_eval.c:1405
↓ 12 callersFunctioncli_dist_busy_set
ds4_cli.c:94
↓ 12 callersFunctioncursor_u32
ds4.c:1502
↓ 12 callersFunctiondist_send_error
ds4_distributed.c:1167
↓ 12 callersFunctionds4_chat_append_message
ds4.c:22410
↓ 12 callersFunctiondsml_attr
ds4_server.c:4323
↓ 12 callersFunctionid_list_push_unique
ds4_server.c:8319
↓ 12 callersFunctionmetal_graph_indexer_stage_profile_boundary
Encode the batched prefill attention half for one layer. It mirrors the CPU * layer-major path: HC pre/norm, Q/KV, cache/compression, prefix attenti
ds4.c:17224
↓ 12 callersFunctionmodel_map_span_vec_include_one
ds4.c:4156
↓ 12 callersFunctionnow_sec
ds4_eval.c:1415
↓ 12 callersFunctionnow_sec
ds4_server.c:7603
↓ 12 callersFunctionpayload_write_bytes
ds4.c:23326
↓ 12 callersFunctionraw_partial_lit
ds4_server.c:5199
↓ 12 callersFunctionraxIsInlineLeaf
Return 1 if the child at index 'childidx' of node 'n' is an inline leaf * value rather than a pointer to a child node. Inline leaves are stored * di
rax.c:189
↓ 12 callersFunctionraxSetData
Set the node auxiliary data to the specified pointer. */
rax.c:271
↓ 12 callersFunctionsse_event
ds4_server.c:6924
↓ 12 callersFunctionweb_xstrdup
ds4_web.c:75
↓ 11 callersFunctionagent_set_status
ds4_agent.c:1118
↓ 11 callersFunctionds4_log
ds4.c:1251
↓ 11 callersFunctiongraph_stream_expert_table_make
ds4.c:3372
↓ 11 callersFunctionhc_post_one
HC post step for one sublayer output. It injects the new block output and * mixes the previous HC streams through the learned combine matrix. */
ds4.c:6512
↓ 11 callersFunctionhttp_response
ds4_server.c:4795
↓ 11 callersFunctionkv_cache_continued_store_target
ds4_server.c:8654
↓ 11 callersFunctionmetal_graph_encode_decode_layer
ds4.c:14842
↓ 11 callersFunctionmetal_graph_env_flag
ds4.c:13246
↓ 11 callersFunctionpara
ds4_help.c:90
↓ 11 callersFunctionparse_int
ds4_cli.c:135
↓ 11 callersFunctionparse_int_arg
ds4_eval.c:1433
↓ 11 callersFunctionparse_int_arg
ds4_server.c:11407
↓ 11 callersFunctionparse_tools_value
OpenAI wraps tools as {"type":"function","function":{...}}. Anthropic sends * the function schema directly as {"name":...,"input_schema":...}. The DS
ds4_server.c:1566
↓ 11 callersFunctionparse_type
gguf-tools/deepseek4-quantize.c:1054
↓ 11 callersFunctionpayload_read_bytes
ds4.c:23340
↓ 11 callersFunctionpayload_write_u32
ds4.c:23360
↓ 11 callersFunctionraxIteratorAddChars
Append characters at the current key string of the iterator 'it'. This * is a low level function used to implement the iterator, not callable by * t
rax.c:1529
↓ 11 callersFunctionspec_frontier_free
ds4.c:24064
↓ 11 callersFunctionstdout_is_tty
ds4_agent.c:8266
↓ 11 callersFunctiontrace_write_case
ds4_eval.c:2583
↓ 11 callersFunctionxmalloc
ds4_server.c:70
↓ 10 callersFunctionagent_parse_int_default
ds4_agent.c:5440
↓ 10 callersFunctionagent_publish_system_status
ds4_agent.c:3999
↓ 10 callersFunctiondist_activation_bits_or_default
ds4_distributed.c:786
↓ 10 callersFunctiondist_read_frame_header
ds4_distributed.c:1139
↓ 10 callersFunctiondist_u64_mul
ds4_distributed.c:699
↓ 10 callersFunctiondist_write_frame_header
ds4_distributed.c:1130
↓ 10 callersFunctionmatvec_q8_0
Single-token Q8_0 matvec, used heavily in decode. */
ds4.c:5292
↓ 10 callersFunctionopenai_stream_start
ds4_server.c:5080
↓ 10 callersFunctionpayload_read_u32
ds4.c:23366
↓ 10 callersFunctionread_u64_le_fp
gguf-tools/deepseek4-quantize.c:145
← previousnext →101–200 of 2,709, ranked by callers