Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antirez/ds4
/ functions
Functions
2,709 in github.com/antirez/ds4
⨍
Functions
2,709
◇
Types & classes
93
↓ 7 callers
Function
kv_xstrdup
ds4_kvstore.c:81
↓ 7 callers
Function
layer_hash_selected_experts
Early DS4 layers use token-id hash routing instead of top-k routing. */
ds4.c:7307
↓ 7 callers
Function
matvec_any
Dispatch for dense F32/F16/Q8_0 tensors used by auxiliary projections. */
ds4.c:5497
↓ 7 callers
Function
matvec_q8_0_decode_scratch
ds4.c:5308
↓ 7 callers
Function
model_find_kv
ds4.c:1724
↓ 7 callers
Function
observe_tool_markers
ds4_server.c:4255
↓ 7 callers
Function
openai_tool_emit_args_fragment
ds4_server.c:5638
↓ 7 callers
Function
parse_int
ds4_agent.c:417
↓ 7 callers
Function
parse_reasoning_effort_name
ds4_server.c:795
↓ 7 callers
Function
raxIteratorNextStep
Do an iteration step towards the next element. At the end of the step the * iterator key will represent the (new) current key. If it is not possible
rax.c:1680
↓ 7 callers
Function
read_u32_le_fp
gguf-tools/deepseek4-quantize.c:156
↓ 7 callers
Function
read_u64_file
(src: BinaryIO)
gguf-tools/mixed/splice_mixed_expert_layers_gguf.py:122
↓ 7 callers
Function
renderer_reset_color
ds4_agent.c:1624
↓ 7 callers
Function
responses_validate_tool_outputs
Validate Responses tool outputs before rendering. * * A tool output with a call_id is meaningful only if either: * 1. DS4 still has the matching
ds4_server.c:2474
↓ 7 callers
Function
test_open_engine
tests/ds4_test.c:88
↓ 7 callers
Function
utf8DecodeChar
Decode a UTF-8 sequence starting at 's' into a Unicode codepoint. * Returns the codepoint value. Assumes valid UTF-8 encoding. */
linenoise.c:170
↓ 7 callers
Function
vocab_lookup
ds4.c:22223
↓ 7 callers
Function
web_close_tab
ds4_web.c:1188
↓ 7 callers
Function
web_sleep_ms
ds4_web.c:141
↓ 7 callers
Function
web_ws_close
ds4_web.c:478
↓ 7 callers
Function
weights_have_output_head
ds4.c:3455
↓ 7 callers
Function
write_gguf_string
gguf-tools/deepseek4-quantize.c:1411
↓ 7 callers
Function
write_u32
gguf-tools/deepseek4-quantize.c:1403
↓ 7 callers
Function
write_u64
gguf-tools/deepseek4-quantize.c:1407
↓ 7 callers
Function
xcalloc
gguf-tools/deepseek4-quantize.c:82
↓ 6 callers
Function
agent_line_spans_free
ds4_agent.c:5484
↓ 6 callers
Function
anthropic_sse_stream_update
ds4_server.c:7433
↓ 6 callers
Function
build_prompt_from_exact_prefix_and_text_suffix
ds4_server.c:8632
↓ 6 callers
Function
clamp_usage_tokens
ds4_server.c:4942
↓ 6 callers
Function
cli_effective_think_mode
ds4_cli.c:209
↓ 6 callers
Function
cpu_decode_scratch_free
ds4.c:8433
↓ 6 callers
Function
cursor_string
ds4.c:1510
↓ 6 callers
Function
db_read
gguf-tools/deepseek4-quantize.c:610
↓ 6 callers
Function
dist_bytes_have_nul
ds4_distributed.c:1528
↓ 6 callers
Function
dist_prefill_sender_destroy
ds4_distributed.c:3139
↓ 6 callers
Function
dot_q8_0_row
ds4.c:4684
↓ 6 callers
Function
ds4_kvstore_le_get32
ds4_kvstore.c:202
↓ 6 callers
Function
ds4_kvstore_read_entry_file
ds4_kvstore.c:442
↓ 6 callers
Function
ds4_kvstore_render_tokens_text
ds4_kvstore.c:653
↓ 6 callers
Function
ds4_parse_gib_arg
ds4_ssd.c:18
↓ 6 callers
Function
ds4_session_copy_logits
ds4.c:27053
↓ 6 callers
Function
ds4_session_payload_file_free
ds4.c:24210
↓ 6 callers
Function
ds4_session_rewrite_requires_rebuild
Return true when canonicalization would replace already-sampled tokens. * * A DS4 session checkpoint is more than a token vector: the backend state
ds4.c:26904
↓ 6 callers
Function
ds4_session_set_cancel
ds4.c:26178
↓ 6 callers
Function
ds4q_type_name
gguf-tools/quants.c:1017
↓ 6 callers
Function
dsml_decode_state_for_text
Slow reference recognizer used by tests. */
ds4_server.c:5373
↓ 6 callers
Function
editor_move_to_prompt_row
ds4_agent.c:8926
↓ 6 callers
Function
editor_restore_terminal_layout
ds4_agent.c:9091
↓ 6 callers
Function
editor_show
Restore the live prompt after output. The primary path draws it in the * reserved bottom rows; the fallback path keeps the older one-row-below-outpu
ds4_agent.c:9200
↓ 6 callers
Function
find_any_tool_start
ds4_server.c:4229
↓ 6 callers
Function
hmap_get
gguf-tools/deepseek4-quantize.c:359
↓ 6 callers
Function
imatrix_write_i32
ds4.c:20186
↓ 6 callers
Function
kv_cache_file_size_fits
ds4_server.c:8666
↓ 6 callers
Function
kv_cache_free
ds4.c:8526
↓ 6 callers
Function
kv_cache_push_comp
ds4.c:8556
↓ 6 callers
Function
kv_now_sec
ds4_kvstore.c:134
↓ 6 callers
Function
layer_attn_norm_one
ds4.c:6721
↓ 6 callers
Function
le_put32
ds4_server.c:8295
↓ 6 callers
Function
linenoiseReadByte
linenoise.c:1791
↓ 6 callers
Function
live_tool_state_free
ds4_server.c:7955
↓ 6 callers
Function
log_flags
ds4_server.c:9343
↓ 6 callers
Function
metal_graph_decode_iq2_selected_slots_expected
ds4.c:13758
↓ 6 callers
Function
metal_graph_matmul_plain_tensor
ds4.c:16224
↓ 6 callers
Function
metal_graph_use_reference_hc_decode
ds4.c:13259
↓ 6 callers
Function
model_map_span_vec_finish
ds4.c:4306
↓ 6 callers
Function
output_logits_one
Final language-model head: HC collapse, RMSNorm, and Q8_0 vocab projection. */
ds4.c:10188
↓ 6 callers
Function
parse_float_range
ds4_cli.c:155
↓ 6 callers
Function
parse_float_range
ds4_agent.c:466
↓ 6 callers
Function
parse_reasoning_effort_value
ds4_server.c:818
↓ 6 callers
Function
raxStackPop
Pop an item from the stack, the function returns NULL if there are no * items to pop. */
rax.c:131
↓ 6 callers
Function
read_i32_fp
gguf-tools/deepseek4-quantize.c:165
↓ 6 callers
Function
read_u32_file
(src: BinaryIO)
gguf-tools/mixed/splice_mixed_expert_layers_gguf.py:118
↓ 6 callers
Function
repl_chat_apply_max_prefix
Insert/remove the Think Max prefix inside the existing transcript. The * prefix lives after BOS, before any system/developer text, which mirrors the
ds4_cli.c:1026
↓ 6 callers
Function
responses_append_function_call_item
ds4_server.c:6332
↓ 6 callers
Function
silu
ds4.c:7160
↓ 6 callers
Function
st_value_free
gguf-tools/deepseek4-quantize.c:431
↓ 6 callers
Function
tensor_expect_routed_expert
ds4.c:3415
↓ 6 callers
Function
test_kv_text_stub_file
ds4_server.c:14921
↓ 6 callers
Function
test_restore_canonical_streaming_prefill
tests/ds4_test.c:80
↓ 6 callers
Function
utf8NextCharLen
Given a buffer, position and total length, return the byte length of the * grapheme cluster at the current position. */
linenoise.c:314
↓ 6 callers
Function
web_cdp_call
ds4_web.c:627
↓ 6 callers
Function
worker_should_interrupt
ds4_agent.c:3522
↓ 6 callers
Function
worker_submit
Submit one user turn if the worker is idle. Busy submissions are rejected so * the UI can keep the typed text editable instead of silently queueing
ds4_agent.c:8163
↓ 6 callers
Function
write_f32_binary_file
ds4.c:1258
↓ 6 callers
Function
xstrndup
ds4_agent.c:358
↓ 5 callers
Function
agent_bash_poll
Drain available output, notice process exit, and enforce timeout. This is * called opportunistically by status/wait/compaction instead of a backgrou
ds4_agent.c:6773
↓ 5 callers
Function
agent_history_trim
ds4_agent.c:4588
↓ 5 callers
Function
agent_memmem
ds4_agent.c:4548
↓ 5 callers
Function
agent_read_file_bytes
ds4_agent.c:5519
↓ 5 callers
Function
agent_slash_command_with_args
ds4_agent.c:435
↓ 5 callers
Function
agent_split_lines
Split a text buffer into line spans. content_end excludes CR/LF so callers * can print or compare line content without newline spelling differences.
ds4_agent.c:5499
↓ 5 callers
Function
agent_tool_viz_append
ds4_agent.c:2806
↓ 5 callers
Function
agent_tool_viz_write
ds4_agent.c:2732
↓ 5 callers
Function
agent_worker_note_system_prompt_seen
ds4_agent.c:1004
↓ 5 callers
Function
anthropic_sse_close_block_live
ds4_server.c:7141
↓ 5 callers
Function
anthropic_validate_tool_results
Validate Anthropic tool results before rendering. * * A tool_result.tool_use_id is valid if it is either still bound to the live * Anthropic assist
ds4_server.c:2568
↓ 5 callers
Function
append_json_object_string
ds4_server.c:4739
↓ 5 callers
Function
argmax_f32
ds4.c:10260
↓ 5 callers
Function
build_prompt_text
ds4_agent.c:8317
↓ 5 callers
Function
c_field_string
(block: str, field: str)
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:957
← previous
next →
301–400 of 2,709, ranked by callers