MCPcopy Create free account

hub / github.com/antirez/ds4 / functions

Functions2,709 in github.com/antirez/ds4

↓ 3 callersFunctiondist_sockaddr_string
ds4_distributed.c:1115
↓ 3 callersFunctiondist_usec_since
ds4_distributed.c:1751
↓ 3 callersFunctiondist_validate_options
ds4_distributed.c:8280
↓ 3 callersFunctiondist_worker_upstream_destroy
ds4_distributed.c:6680
↓ 3 callersFunctiondot_i8_32
ds4.c:4670
↓ 3 callersFunctionds4_alloc_guard_check
ds4.c:683
↓ 3 callersFunctionds4_chat_begin
ds4.c:22371
↓ 3 callersFunctionds4_die_errno
ds4.c:646
↓ 3 callersFunctionds4_engine_hidden_f32_values
ds4.c:26011
↓ 3 callersFunctionds4_kvstore_continued_store_target
ds4_kvstore.c:741
↓ 3 callersFunctionds4_kvstore_entry_eviction_score
ds4_kvstore.c:532
↓ 3 callersFunctionds4_kvstore_evict
ds4_kvstore.c:561
↓ 3 callersFunctionds4_kvstore_file_size_fits
ds4_kvstore.c:796
↓ 3 callersFunctionds4_kvstore_note_store
ds4_kvstore.c:750
↓ 3 callersFunctionds4_layer_payload_range_valid
ds4.c:23625
↓ 3 callersFunctionds4_session_eval_layer_slice
ds4.c:26314
↓ 3 callersFunctionds4_session_layer_slice_reset
ds4.c:26197
↓ 3 callersFunctionds4_session_load_payload
ds4.c:24482
↓ 3 callersFunctionds4_session_slice_commit_timeline
ds4.c:26308
↓ 3 callersFunctionds4_session_token_logprob
ds4.c:27031
↓ 3 callersFunctionds4_vec_dot_iq2_xxs_pair_q8_K
ds4.c:2935
↓ 3 callersFunctiondsv4_e2m1fn_value_cpu
ds4.c:2509
↓ 3 callersFunctiondsv4_indexer_qat_row_inplace_cpu
The official DeepSeek V4 graph rotates indexer activations with a 128-wide * Hadamard transform and immediately runs the FP4 activation-simulation *
ds4.c:2570
↓ 3 callersFunctioneditor_cancel_input_with_hint
Ctrl+C while idle is an edit-cancel key, not an exit key. Clear the real * linenoise buffer so stale text cannot be submitted later, then leave a sh
ds4_agent.c:9355
↓ 3 callersFunctioneditor_hide
Hide the live prompt before model output is written. In scroll-region mode * the output cursor was saved before the prompt was drawn, so restoring i
ds4_agent.c:9181
↓ 3 callersFunctioneditor_set_scroll_layout
ds4_agent.c:8975
↓ 3 callersFunctioneval_case_is_compsec
ds4_eval.c:1384
↓ 3 callersFunctionfind_case_answer
ds4_eval.c:2977
↓ 3 callersFunctionfind_last_answer_marker
ds4_eval.c:2682
↓ 3 callersFunctionfind_last_substr
ds4_server.c:4281
↓ 3 callersFunctionfmt_tick
(value)
speed-bench/plot_speed.py:52
↓ 3 callersFunctionfree_gguf_file
gguf-tools/deepseek4-quantize.c:1816
↓ 3 callersFunctiongraph_power_note_decode_token
ds4.c:10527
↓ 3 callersFunctionhc_post_batch
ds4.c:6558
↓ 3 callersFunctionhc_weighted_sum_one
Reduce the four HC streams into the plain embedding vector consumed by a * normal attention or FFN sublayer. */
ds4.c:6413
↓ 3 callersFunctionhttp_error_context_length_exceeded
ds4_server.c:4844
↓ 3 callersFunctionimatrix_write_entry
ds4.c:20190
↓ 3 callersFunctioninput_queue_key
ds4_eval.c:1810
↓ 3 callersFunctionis_letter_boundary
ds4_eval.c:2678
↓ 3 callersFunctionis_quantizable_target
gguf-tools/deepseek4-quantize.c:1077
↓ 3 callersFunctionjson_add
gguf-tools/deepseek4-quantize.c:216
↓ 3 callersFunctionjson_skip_value_depth
ds4_server.c:361
↓ 3 callersFunctionjson_write_token
ds4_cli.c:597
↓ 3 callersFunctionkv_buf_append
ds4_kvstore.c:98
↓ 3 callersFunctionkv_buf_take
ds4_kvstore.c:127
↓ 3 callersFunctionkv_cache_note_store
ds4_server.c:8768
↓ 3 callersFunctionkv_cache_push_raw
Append to the raw SWA cache. Once full, it slides by one row. */
ds4.c:8541
↓ 3 callersFunctionkv_fill_header
ds4_server.c:8525
↓ 3 callersFunctionkv_le_get64
ds4_kvstore.c:209
↓ 3 callersFunctionkv_le_put64
ds4_kvstore.c:198
↓ 3 callersFunctionkv_tool_map_load_from_pos
ds4_server.c:8488
↓ 3 callersFunctionlayer_attention_one
ds4.c:7085
↓ 3 callersFunctionlayer_q_projection_with_lora_one
ds4.c:6762
↓ 3 callersFunctionlayer_rope_freq_base
Dense layers and compressed layers use different RoPE bases. */
ds4.c:6893
↓ 3 callersFunctionlayer_rope_freq_scale
ds4.c:6899
↓ 3 callersFunctionle_get32
ds4_server.c:8300
↓ 3 callersFunctionlinenoiseEditFeed
This function is part of the multiplexed API of linenoise, see the top * comment on linenoiseEditStart() for more information. Call this function *
linenoise.c:2152
↓ 3 callersFunctionlinenoiseEditGrow
Grow the editing buffer if this state owns a growable buffer. Only the * blocking linenoise() API sets buflen_max: the multiplexing API still uses *
linenoise.c:1633
↓ 3 callersFunctionlinenoiseEditInsertNoRefresh
Insert bytes into l->buf without repainting the prompt. The paste path uses * this to first store the real pasted bytes, then mark their range as fol
linenoise.c:1666
↓ 3 callersFunctionlinenoiseEditMoveHome
Move cursor to the start of the line. */
linenoise.c:1820
↓ 3 callersFunctionlinenoiseEditNextLen
Return the number of bytes to move right from pos. If pos is at the start of * a folded range, the whole hidden range is skipped by one cursor moveme
linenoise.c:1180
↓ 3 callersFunctionlinenoiseEditQueueInput
linenoise.c:1723
↓ 3 callersFunctionlinenoiseGetRenderFolds
Populate fs with the folds to render for the current buffer. As a side * effect, the rendered text of each fold is updated. Return 1 if folding * sh
linenoise.c:1087
↓ 3 callersFunctionlinenoiseHistorySave
Save the history in the specified file. On success 0 is returned * otherwise -1 is returned. */
linenoise.c:2639
↓ 3 callersFunctionlinenoiseNoTTY
This function is called when linenoise() is called with the standard * input file descriptor not attached to a TTY. So for example when the * progra
linenoise.c:2505
↓ 3 callersFunctionlinenoiseStatusRows
linenoise.c:911
↓ 3 callersFunctionmark_case_pending
ds4_eval.c:3584
↓ 3 callersFunctionmetal_graph_decode_cpu_router_applicable
ds4.c:13682
↓ 3 callersFunctionmetal_graph_ensure_ffn_out
ds4.c:10937
↓ 3 callersFunctionmetal_graph_prefill_chunked_range
Prefill a contiguous token range in fixed-size chunks. * * The common case starts at token zero, but server sessions also use this to * extend an e
ds4.c:20954
↓ 3 callersFunctionmetal_graph_prefill_raw_swa
ds4.c:20892
↓ 3 callersFunctionmetal_graph_read_spec_logits_row
ds4.c:21201
↓ 3 callersFunctionmetal_graph_reset_prefill_state
ds4.c:20271
↓ 3 callersFunctionmetal_graph_stream_prefill_layer_pagein_join
ds4.c:12679
↓ 3 callersFunctionmetal_graph_stream_prepare_join_all
ds4.c:12847
↓ 3 callersFunctionmetal_graph_stream_prepare_start_if_needed
ds4.c:12768
↓ 3 callersFunctionmetal_graph_stream_readahead_spans
ds4.c:11464
↓ 3 callersFunctionmetal_graph_upload_prompt_tokens
Upload prompt token ids for kernels that need token-aware hash routing. */
ds4.c:17014
↓ 3 callersFunctionmodel_close
ds4.c:1823
↓ 3 callersFunctionmodel_map_span_vec_include_layer_decode
* Decode-time spans for one layer. The static set excludes routed expert * tensors because the streaming expert cache serves them — but a boosted *
ds4.c:4275
↓ 3 callersFunctionmodel_open
Open and map the GGUF once. Metal needs a shared mapping for no-copy * MTLBuffers; CPU uses a private read-only mapping to avoid Darwin VM stress.
ds4.c:1945
↓ 3 callersFunctionnice_step
Return a readable tick spacing close to span / target_ticks.
speed-bench/plot_speed.py:38
↓ 3 callersFunctionnormalize_integer_answer
ds4_eval.c:2802
↓ 3 callersFunctionpad_to
(value: int, alignment: int)
gguf-tools/mixed/splice_mixed_expert_layers_gguf.py:107
↓ 3 callersFunctionparse_anthropic_messages
ds4_server.c:1870
↓ 3 callersFunctionparse_chat_request
The API parsers are intentionally selective JSON parsers: they keep only * fields that affect model semantics, rendering, streaming, or cache keys, a
ds4_server.c:2635
↓ 3 callersFunctionparse_expert_tensor
gguf-tools/deepseek4-quantize.c:881
↓ 3 callersFunctionparse_float_arg
ds4_eval.c:1453
↓ 3 callersFunctionparse_float_arg
ds4_server.c:11427
↓ 3 callersFunctionparse_responses_content_array
Responses API: convert a content-array item (input_text/output_text/text) into a * concatenated string. Strict shape check: bare string, null, or an
ds4_server.c:3023
↓ 3 callersFunctionplain_reset_color
ds4_eval.c:2354
↓ 3 callersFunctionprint_bench_specific
ds4_help.c:338
↓ 3 callersFunctionprint_eval_specific
ds4_help.c:356
↓ 3 callersFunctionprint_kv_cache
ds4_help.c:323
↓ 3 callersFunctionprint_model_runtime
ds4_help.c:146
↓ 3 callersFunctionprint_sampling
ds4_help.c:188
↓ 3 callersFunctionprint_server_api
ds4_help.c:302
↓ 3 callersFunctionprint_size
ds4.c:1993
↓ 3 callersFunctionprint_trimmed
ds4_eval.c:1755
↓ 3 callersFunctionrandom_tool_id
ds4_server.c:499
← previousnext →701–800 of 2,709, ranked by callers