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
↓ 4 callers
Function
q4_k_get_scale_min
tests/test_q4k_dot.c:40
↓ 4 callers
Function
raw_partial_any
ds4_server.c:5205
↓ 4 callers
Function
raxIteratorDelChars
Remove the specified number of chars from the right of the current * iterator key. */
rax.c:1553
↓ 4 callers
Function
raxIteratorEnterChild
Descend from 'parent' into child 'childidx', updating the iterator key. * If the child is inline we stop on the virtual leaf without changing the *
rax.c:1578
↓ 4 callers
Function
raxLowWalk
Low level function that walks the tree looking for the string * 's' of 'len' bytes. The function returns the number of characters * of the key that
rax.c:559
↓ 4 callers
Function
raxStackFree
Free the stack in case we used heap allocation. */
rax.c:145
↓ 4 callers
Function
raxStackPush
Push an item into the stack, returns 1 on success, 0 on out of memory. */
rax.c:102
↓ 4 callers
Function
regrade_case_outcome
Decide how one trace case regrades. Only PASSED/FAILED traces were graded by * a completed run; STOPPED/SKIPPED/SWITCHED/ERROR cases carry partial or
ds4_eval.c:3227
↓ 4 callers
Function
renderer_code_byte
ds4_agent.c:2363
↓ 4 callers
Function
renderer_markdown_emit_pending_literals
ds4_agent.c:2459
↓ 4 callers
Function
renderer_write_char
ds4_agent.c:2599
↓ 4 callers
Function
responses_item_status_for_finish
ds4_server.c:6142
↓ 4 callers
Function
rocm_graph_stream_layer_expert_load_join
ds4.c:11764
↓ 4 callers
Function
role_is_system
ds4_server.c:2264
↓ 4 callers
Function
scale_f32
ds4.c:7019
↓ 4 callers
Function
session_raw_live_rows
Only the last logical sliding-window rows are needed from the raw cache. * The physical Metal tensor is a ring sized for ubatches, but after restore
ds4.c:23418
↓ 4 callers
Function
sha1_update
ds4_kvstore.c:278
↓ 4 callers
Function
should_canonicalize_tool_checkpoint
ds4_server.c:9969
↓ 4 callers
Function
skip_bytes_fp
gguf-tools/deepseek4-quantize.c:1369
↓ 4 callers
Function
spec_frontier_restore
ds4.c:24102
↓ 4 callers
Function
sse_done
ds4_server.c:4988
↓ 4 callers
Function
swiglu
ds4.c:7170
↓ 4 callers
Function
table_get
ds4.c:21743
↓ 4 callers
Function
tensor_expect_plain_layout
ds4.c:3187
↓ 4 callers
Function
test_close_engine
tests/ds4_test.c:131
↓ 4 callers
Function
test_env_bool
tests/ds4_test.c:16
↓ 4 callers
Function
test_read_file
tests/ds4_test.c:536
↓ 4 callers
Function
think_mode_from_enabled
ds4_server.c:790
↓ 4 callers
Function
thinking_live_clear
ds4_server.c:7977
↓ 4 callers
Function
thinking_state_from_prompt
ds4_server.c:9417
↓ 4 callers
Function
tokenize_span
ds4.c:22337
↓ 4 callers
Function
trace_find_next_case
ds4_eval.c:3103
↓ 4 callers
Function
trace_get_line_field
ds4_eval.c:3149
↓ 4 callers
Function
trim_inplace
ds4_cli.c:953
↓ 4 callers
Function
tui_wait_if_paused
ds4_eval.c:3589
↓ 4 callers
Function
web_json_quote
ds4_web.c:359
↓ 4 callers
Function
web_now_sec
ds4_web.c:125
↓ 4 callers
Function
web_write_all
ds4_web.c:218
↓ 4 callers
Function
web_xmalloc
ds4_web.c:66
↓ 4 callers
Function
weights_model_map_spans
ds4.c:4325
↓ 4 callers
Function
worker_apply_pending_power
ds4_agent.c:8010
↓ 4 callers
Function
worker_get_status
ds4_agent.c:8237
↓ 4 callers
Function
worker_interrupt
Request interruption at the next model/tool polling point. */
ds4_agent.c:8193
↓ 3 callers
Function
abFree
linenoise.c:903
↓ 3 callers
Function
abInit
linenoise.c:889
↓ 3 callers
Function
agent_dsml_close_tag_at
ds4_agent.c:1350
↓ 3 callers
Function
agent_dsml_set_error
ds4_agent.c:1336
↓ 3 callers
Function
agent_edit_result_append_line
ds4_agent.c:5838
↓ 3 callers
Function
agent_find_unique
ds4_agent.c:5918
↓ 3 callers
Function
agent_format_ctx_size
ds4_agent.c:9387
↓ 3 callers
Function
agent_history_has_prefix
ds4_agent.c:4593
↓ 3 callers
Function
agent_history_ptrs_free
ds4_agent.c:4630
↓ 3 callers
Function
agent_history_ptrs_push
ds4_agent.c:4536
↓ 3 callers
Function
agent_history_publish_limited
ds4_agent.c:4791
↓ 3 callers
Function
agent_history_tail_start
ds4_agent.c:4759
↓ 3 callers
Function
agent_kv_identity_sha
ds4_agent.c:3756
↓ 3 callers
Function
agent_kv_read_text
Agent sessions deliberately use a different policy from ds4-server: * * - sysprompt.kv is a fixed bootstrap checkpoint for the current tool/system
ds4_agent.c:3688
↓ 3 callers
Function
agent_kv_read_title_trailer
Read the optional agent title trailer without disturbing the payload cursor. * The caller is positioned just after rendered text, which is also the p
ds4_agent.c:3717
↓ 3 callers
Function
agent_next_prefill_label
ds4_agent.c:8366
↓ 3 callers
Function
agent_noninteractive_marker
ds4_agent.c:9609
↓ 3 callers
Function
agent_parse_attr
ds4_agent.c:1325
↓ 3 callers
Function
agent_prompt_queue_push
ds4_agent.c:8444
↓ 3 callers
Function
agent_session_title_from_text
Extract a human-readable title from the first user turn stored in the * rendered transcript. max_bytes==0 means "full normalized title"; callers *
ds4_agent.c:4468
↓ 3 callers
Function
agent_special_token_id
ds4_agent.c:7266
↓ 3 callers
Function
agent_stream_note_plain_dsml_byte
ds4_agent.c:3325
↓ 3 callers
Function
agent_stream_text
This is the single streaming display state machine for assistant output. It * hides raw DSML as soon as the tool_calls marker is complete, lets the
ds4_agent.c:3410
↓ 3 callers
Function
agent_tool_call_free
ds4_agent.c:1248
↓ 3 callers
Function
agent_tool_param_color
ds4_agent.c:2720
↓ 3 callers
Function
agent_tool_result_fits_context
ds4_agent.c:5639
↓ 3 callers
Function
agent_tool_viz_code_begin
ds4_agent.c:2903
↓ 3 callers
Function
agent_tool_viz_finish
ds4_agent.c:3066
↓ 3 callers
Function
agent_tool_viz_param_end
ds4_agent.c:2989
↓ 3 callers
Function
agent_trace_time
ds4_agent.c:1144
↓ 3 callers
Function
agent_worker_compact
Perform the full compaction exchange and rebuild the live DS4 session from * the compacted transcript. Any failure invalidates live KV because the m
ds4_agent.c:7329
↓ 3 callers
Function
agent_worker_find_session
Resolve a user-provided SHA prefix to exactly one saved session file. */
ds4_agent.c:5168
↓ 3 callers
Function
agent_worker_save_session
ds4_agent.c:4397
↓ 3 callers
Function
answer_matches
ds4_eval.c:2990
↓ 3 callers
Function
anthropic_sse_finish_live
ds4_server.c:7588
↓ 3 callers
Function
anthropic_sse_open_block
Text and thinking blocks have fixed JSON shapes. Tool blocks are opened by * name later, after the DSML invoke tag is complete, so they use a dedica
ds4_server.c:7052
↓ 3 callers
Function
anthropic_stream_free
ds4_server.c:7011
↓ 3 callers
Function
append_anthropic_system_part
ds4_server.c:1935
↓ 3 callers
Function
append_json_object_or_empty
ds4_server.c:2225
↓ 3 callers
Function
append_model_json
ds4_server.c:11209
↓ 3 callers
Function
append_model_json_values
ds4_server.c:11173
↓ 3 callers
Function
ascii_alpha
ds4.c:22051
↓ 3 callers
Function
bounded_strstr
ds4_eval.c:3044
↓ 3 callers
Function
build_responses_visible_assistant_suffix
ds4_server.c:9742
↓ 3 callers
Function
byte_prefix_match
ds4_server.c:8621
↓ 3 callers
Function
chat_msg_free
ds4_server.c:685
↓ 3 callers
Function
cli_warn_think_max_downgraded
ds4_cli.c:218
↓ 3 callers
Function
cpu_directional_steering_enabled
ds4.c:21835
↓ 3 callers
Function
cursor_has
ds4.c:1481
↓ 3 callers
Function
disableRawMode
linenoise.c:620
↓ 3 callers
Function
dist_coordinator_report_plan
ds4_distributed.c:1991
↓ 3 callers
Function
dist_decode_profile_enabled
ds4_distributed.c:752
↓ 3 callers
Function
dist_json_write_token
ds4_distributed.c:2848
↓ 3 callers
Function
dist_mem_read
ds4_distributed.c:6842
↓ 3 callers
Function
dist_open_listener
ds4_distributed.c:1193
↓ 3 callers
Function
dist_route_from_wire
ds4_distributed.c:1583
↓ 3 callers
Function
dist_sleep_reconnect
ds4_distributed.c:543
← previous
next →
601–700 of 2,709, ranked by callers