MCPcopy Create free account

hub / github.com/antirez/ds4 / functions

Functions2,709 in github.com/antirez/ds4

↓ 1 callersFunctionhex20
ds4_kvstore.c:312
↓ 1 callersFunctionhf_name_for_regular
gguf-tools/deepseek4-quantize.c:957
↓ 1 callersFunctionhistory_file_path
ds4_cli.c:982
↓ 1 callersFunctionhistory_uses_tool_context
Match ``chat_history_uses_tool_context``.
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:143
↓ 1 callersFunctioni64_to_i32
gguf-tools/deepseek4-quantize.c:1133
↓ 1 callersFunctionimatrix_collector_free
ds4.c:20111
↓ 1 callersFunctionimatrix_collector_init
ds4.c:20094
↓ 1 callersFunctionimatrix_collector_save
ds4.c:20220
↓ 1 callersFunctionimatrix_down_ptr
ds4.c:20127
↓ 1 callersFunctionimatrix_gate_up_ptr
ds4.c:20123
↓ 1 callersFunctionimatrix_load
gguf-tools/deepseek4-quantize.c:761
↓ 1 callersFunctionimatrix_read_text_file
ds4.c:24947
↓ 1 callersFunctionimatrix_trim_block
ds4.c:24983
↓ 1 callersFunctionindexer_allowed_decode_one_decode_scratch
Scratch-backed indexer selection for decode. */
ds4.c:9157
↓ 1 callersFunctionisUnsupportedTerm
Return true if the terminal name is in the list of terminals we know are * not able to understand basic escape sequences. */
linenoise.c:558
↓ 1 callersFunctionis_attention_projection
gguf-tools/deepseek4-quantize.c:993
↓ 1 callersFunctionis_attention_tensor
gguf-tools/deepseek4-quantize.c:999
↓ 1 callersFunctionis_imatrix_kv_key
gguf-tools/deepseek4-quantize.c:1417
↓ 1 callersFunctionis_output_tensor
gguf-tools/deepseek4-quantize.c:1007
↓ 1 callersFunctionis_rendered_chat_prompt
ds4_cli.c:283
↓ 1 callersFunctionis_shared_expert
gguf-tools/deepseek4-quantize.c:1003
↓ 1 callersFunctionjson_args_find_unused
ds4_server.c:2081
↓ 1 callersFunctionjson_args_push
ds4_server.c:2073
↓ 1 callersFunctionjson_hex
ds4_server.c:182
↓ 1 callersFunctionjson_is_descendant
gguf-tools/deepseek4-quantize.c:288
↓ 1 callersFunctionjson_skip_array_depth
ds4_server.c:311
↓ 1 callersFunctionjson_skip_object_depth
ds4_server.c:333
↓ 1 callersFunctionjson_utf8_valid
ds4_cli.c:545
↓ 1 callersFunctionjson_write_string
ds4_bench.c:331
↓ 1 callersFunctionkv_buf_printf
ds4_kvstore.c:113
↓ 1 callersFunctionkv_buf_putc
ds4_kvstore.c:105
↓ 1 callersFunctionkv_cache_budget_required
ds4_kvstore.c:784
↓ 1 callersFunctionkv_cache_continued_step
ds4_kvstore.c:730
↓ 1 callersFunctionkv_cache_existing_compatible
ds4_kvstore.c:843
↓ 1 callersFunctionkv_cache_file_size_bytes
ds4_kvstore.c:771
↓ 1 callersFunctionkv_cache_file_text_matches
ds4_kvstore.c:814
↓ 1 callersFunctionkv_cache_finish_prefill_states
ds4.c:8587
↓ 1 callersFunctionkv_cache_incoming_supersedes_continued
ds4_kvstore.c:504
↓ 1 callersFunctionkv_cache_open
ds4_server.c:8607
↓ 1 callersFunctionkv_cache_push
ds4_kvstore.c:385
↓ 1 callersFunctionkv_cache_reason_is_anchor
ds4_kvstore.c:526
↓ 1 callersFunctionkv_cache_rewrite_trailer
ds4_kvstore.c:883
↓ 1 callersFunctionkv_cache_try_load
ds4_server.c:8835
↓ 1 callersFunctionkv_mkdir_p
ds4_kvstore.c:355
↓ 1 callersFunctionkv_read_header
ds4_server.c:8535
↓ 1 callersFunctionlayer_attention_mixed_one_decode_scratch
ds4.c:8913
↓ 1 callersFunctionlayer_attention_prefix_batch
Prefix prefill attention for a fresh prompt. It computes each token's view * of the raw window and compressed rows without running the decode loop.
ds4.c:9059
↓ 1 callersFunctionlayer_attention_raw_swa_batch
Batched prefill attention. It projects Q/KV for all tokens, streams them * through the same raw/compressed cache updates, then runs prefix attention
ds4.c:9332
↓ 1 callersFunctionlayer_attention_raw_swa_one
Single-token attention sublayer with raw SWA cache and DS4 compression. */
ds4.c:9220
↓ 1 callersFunctionlayer_attn_pre_one
ds4.c:6482
↓ 1 callersFunctionlayer_ffn_one_decode_scratch
Allocation-free decode FFN using the persistent CPU scratch buffers. */
ds4.c:7910
↓ 1 callersFunctionlayer_ffn_shared_batch
Default prefill FFN path. HC and shared expert are batched, while routed * experts can run either token-parallel or expert-grouped depending on size
ds4.c:8117
↓ 1 callersFunctionlayer_ffn_tokens_parallel
ds4.c:8260
↓ 1 callersFunctionlayer_grouped_out_batch
ds4.c:7131
↓ 1 callersFunctionlayer_grouped_out_one_decode_scratch
ds4.c:7114
↓ 1 callersFunctionlayer_kv_projection_normed_one_decode_scratch
ds4.c:6811
↓ 1 callersFunctionlayer_q_projection_with_lora_one_decode_scratch
ds4.c:6796
↓ 1 callersFunctionlayer_routed_moe_batch
Prefill MoE groups token/expert pairs by expert so each active expert's * rows are scanned once for the whole token batch. */
ds4.c:7585
↓ 1 callersFunctionlayer_routed_moe_one
Single-token routed MoE. It selects six experts, runs IQ2_XXS gate/up, * applies SwiGLU and router weights, then accumulates Q2_K down projections.
ds4.c:7437
↓ 1 callersFunctionlayer_routed_moe_tokens_parallel
ds4.c:8094
↓ 1 callersFunctionlayer_shared_ffn_one_decode_scratch
ds4.c:7218
↓ 1 callersFunctionlinenoise
The high level function that is the main API of the linenoise library. * This function checks if the terminal has basic capabilities, just checking
linenoise.c:2514
↓ 1 callersFunctionlinenoiseAddCompletion
This function is used by the callback function registered by the user * in order to add completion options given the input string when the * user ty
linenoise.c:862
↓ 1 callersFunctionlinenoiseAdjustFoldsAfterInsert
Adjust fold ranges after an insertion. If insertion somehow lands inside a * fold, remove that fold because it no longer maps to an unchanged range.
linenoise.c:1252
↓ 1 callersFunctionlinenoiseBlockingEdit
This just implements a blocking loop for the multiplexed API. * In many applications that are not event-drivern, we can just call * the blocking lin
linenoise.c:2405
↓ 1 callersFunctionlinenoiseBuildHistoryFold
Populate f with one fold reconstructed from a history entry. History stores * the real text, but not the original paste boundaries, so we reconstruct
linenoise.c:1041
↓ 1 callersFunctionlinenoiseClearScreen
Clear the screen. Used to handle ctrl+l */
linenoise.c:718
↓ 1 callersFunctionlinenoiseEditBackspace
Backspace implementation. Deletes the UTF-8 character before the cursor. */
linenoise.c:1894
↓ 1 callersFunctionlinenoiseEditDeletePrevWord
Delete the previous word, maintaining the cursor at the start of the * current word. Handles UTF-8 by moving character-by-character. */
linenoise.c:1908
↓ 1 callersFunctionlinenoiseEditPaste
Read a bracketed paste until ESC[201~ and insert the real bytes. If folding * is needed, remember the inserted range so only rendering is shortened.
linenoise.c:2053
↓ 1 callersFunctionlinenoiseEditSetLayoutCallback
linenoise.c:1784
↓ 1 callersFunctionlinenoiseRangeOverlapsFold
Return true if [pos,pos+len) overlaps any folded range. */
linenoise.c:1239
↓ 1 callersFunctionlinenoiseRestoreRawMode
Re-enable raw mode if a child process changed the terminal state. This is * useful when the application spawns external processes that may reset the
linenoise.c:640
↓ 1 callersFunctionlinenoiseTermiosRawFieldsEqual
linenoise.c:577
↓ 1 callersFunctionlisten_on
ds4_server.c:11347
↓ 1 callersFunctionlive_text_prefix_prompt
ds4_server.c:8846
↓ 1 callersFunctionload_i64_le
gguf-tools/deepseek4-quantize.c:178
↓ 1 callersFunctionload_prompts
(path: Path)
gguf-tools/quality-testing/collect_official.py:246
↓ 1 callersFunctionlog_context_memory
ds4_bench.c:442
↓ 1 callersFunctionlog_context_memory
ds4_eval.c:4017
↓ 1 callersFunctionlog_context_memory
ds4_agent.c:681
↓ 1 callersFunctionlog_context_memory
ds4_server.c:11445
↓ 1 callersFunctionlog_tool_calls_summary
ds4_server.c:9599
↓ 1 callersFunctionlong_code_prompt
()
tests/test-vectors/fetch_official_vectors.py:50
↓ 1 callersFunctionlong_memory_prompt
()
tests/test-vectors/fetch_official_vectors.py:34
↓ 1 callersFunctionmain
()
dir-steering/tools/build_direction.py:124
↓ 1 callersFunctionmain
()
dir-steering/tools/run_sweep.py:24
↓ 1 callersFunctionmain
()
gguf-tools/quality-testing/collect_official.py:184
↓ 1 callersFunctionmain
()
gguf-tools/quality-testing/compare_scores.py:25
↓ 1 callersFunctionmain
()
gguf-tools/mixed/splice_mixed_expert_layers_gguf.py:371
↓ 1 callersFunctionmain
()
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:2192
↓ 1 callersFunctionmain
()
tests/generate_long_context_story_prompt.py:180
↓ 1 callersFunctionmain
()
tests/test-vectors/fetch_official_vectors.py:220
↓ 1 callersFunctionmain
()
speed-bench/plot_speed.py:208
↓ 1 callersFunctionmake_agent_records
Generate a wide set of tool-using transcripts. Each scenario is templated against several system prompts and toolsets so the routed experts s
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:1581
↓ 1 callersFunctionmake_algorithm_records
(records: list[Record])
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:407
↓ 1 callersFunctionmake_eval_reasoning_records
Include the exact benchmark prompt family used by ``ds4-eval``. The benchmark cases are already embedded in ``ds4_eval.c`` with source licens
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:995
↓ 1 callersFunctionmake_general_records
(records: list[Record])
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:333
↓ 1 callersFunctionmake_language_records
Add non-code prose tasks. The passages above are original public-domain-compatible calibration text written for this repository. They cover
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:812
↓ 1 callersFunctionmake_long_context_records
Add realistic long-context prompts. These records are meant to expose routed FFNs to activations produced after attention has integrated dist
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:1026
← previousnext →1,901–2,000 of 2,709, ranked by callers