MCPcopy Create free account

hub / github.com/antirez/ds4 / functions

Functions2,709 in github.com/antirez/ds4

↓ 2 callersFunctioneval_system_prompt
ds4_eval.c:2358
↓ 2 callersFunctionf32_to_type
gguf-tools/deepseek4-quantize.c:1090
↓ 2 callersFunctionfind_any_tool_end
ds4_server.c:4242
↓ 2 callersFunctionfind_integer_answer
ds4_eval.c:2829
↓ 2 callersFunctionfind_next_dsml_tool_block
ds4_server.c:8357
↓ 2 callersFunctionfnv1a64_bytes
gguf-tools/deepseek4-quantize.c:1568
↓ 2 callersFunctionfnv1a_str
gguf-tools/deepseek4-quantize.c:336
↓ 2 callersFunctionfoldCountLines
Return the number of logical lines in the range. */
linenoise.c:999
↓ 2 callersFunctionfoldSetRenderedText
Fill f->display with the text shown instead of the folded range. */
linenoise.c:1024
↓ 2 callersFunctionformat_run_elapsed
ds4_eval.c:1308
↓ 2 callersFunctionforward_first_token_cpu
ds4.c:10132
↓ 2 callersFunctionfrange
(start, stop, step)
speed-bench/plot_speed.py:200
↓ 2 callersFunctionfreeCompletions
Free a list of completion option populated by linenoiseAddCompletion(). */
linenoise.c:734
↓ 2 callersFunctiongenerate_tensor
gguf-tools/deepseek4-quantize.c:1298
↓ 2 callersFunctiongeneration_done
ds4_cli.c:384
↓ 2 callersFunctiongetCursorPosition
Use the ESC [6n escape sequence to query the horizontal cursor position * and return it. On error -1 is returned, on success the position of the * c
linenoise.c:656
↓ 2 callersFunctiongguf_scalar_size
gguf-tools/deepseek4-quantize.c:1344
↓ 2 callersFunctiongraph_power_sleep
ds4.c:10507
↓ 2 callersFunctiongraph_power_update_avg
ds4.c:10501
↓ 2 callersFunctionhas_provider_reference
Keep the imatrix corpus independent from one branded client.
gguf-tools/imatrix/dataset/build_ds4_imatrix_dataset.py:257
↓ 2 callersFunctionhash_bytes
ds4.c:660
↓ 2 callersFunctionhc_post_sum_batch
ds4.c:6615
↓ 2 callersFunctionhc_pre_norm_batch
Batched HC pre plus RMSNorm. Prefill uses this to keep the layer-major * token batch in contiguous arrays. */
ds4.c:6690
↓ 2 callersFunctionhex_bytes
(values: list[int])
tests/test-vectors/fetch_official_vectors.py:185
↓ 2 callersFunctionimatrix_collect_layer_batch
ds4.c:20131
↓ 2 callersFunctionimatrix_find
gguf-tools/deepseek4-quantize.c:819
↓ 2 callersFunctionimatrix_free
gguf-tools/deepseek4-quantize.c:857
↓ 2 callersFunctionindexer_allowed_decode_one
Ratio-4 layers use an auxiliary indexer to select which compressed rows are * visible to attention. This is the CPU allocation-owning helper. */
ds4.c:9094
↓ 2 callersFunctionisCombiningMark
Check if codepoint is a combining mark or other zero-width character. */
linenoise.c:221
↓ 2 callersFunctionisGraphemeExtend
Check if codepoint extends the previous character (doesn't start a new grapheme). */
linenoise.c:230
↓ 2 callersFunctionisSkinToneModifier
Check if codepoint is a skin tone modifier. */
linenoise.c:206
↓ 2 callersFunctionisVariationSelector
Check if codepoint is a variation selector (emoji style modifiers). */
linenoise.c:201
↓ 2 callersFunctionjoyai_cjk_at
ds4.c:22126
↓ 2 callersFunctionjoyai_consume_letters
ds4.c:22119
↓ 2 callersFunctionjson_args_parse
ds4_server.c:2089
↓ 2 callersFunctionjson_escape_fragment_n
ds4_server.c:4194
↓ 2 callersFunctionjson_free
gguf-tools/deepseek4-quantize.c:272
↓ 2 callersFunctionjson_i64
gguf-tools/deepseek4-quantize.c:313
↓ 2 callersFunctionjson_minify_raw_value
ds4_server.c:392
↓ 2 callersFunctionjson_parse_text
gguf-tools/deepseek4-quantize.c:227
↓ 2 callersFunctionjson_tok_eq
gguf-tools/deepseek4-quantize.c:277
↓ 2 callersFunctionjson_u16
ds4_server.c:208
↓ 2 callersFunctionjson_write_string
ds4_cli.c:570
↓ 2 callersFunctionkv_buf_puts
ds4_kvstore.c:109
↓ 2 callersFunctionkv_buf_reserve
ds4_kvstore.c:88
↓ 2 callersFunctionkv_cache_discard_failed_disk_entry
ds4_server.c:8782
↓ 2 callersFunctionkv_cache_find_text_prefix
ds4_server.c:8809
↓ 2 callersFunctionkv_cache_refresh
ds4_kvstore.c:468
↓ 2 callersFunctionkv_cache_store_current
ds4_server.c:8727
↓ 2 callersFunctionkv_cache_store_live_prefix_text
ds4_server.c:8706
↓ 2 callersFunctionkv_cache_suppress_continued_store
ds4_server.c:8772
↓ 2 callersFunctionkv_cache_tool_map_hooks
ds4_server.c:8694
↓ 2 callersFunctionkv_cache_try_load_text
ds4_server.c:8815
↓ 2 callersFunctionkv_entry_eviction_score
ds4_server.c:8584
↓ 2 callersFunctionkv_tool_map_measure_locked
ds4_server.c:8385
↓ 2 callersFunctionkv_tool_map_serialized_size
ds4_server.c:8421
↓ 2 callersFunctionkv_trailer_serialized_size
ds4_kvstore.c:867
↓ 2 callersFunctionkv_trailer_write
ds4_kvstore.c:875
↓ 2 callersFunctionkv_xrealloc
ds4_kvstore.c:75
↓ 2 callersFunctionlayer_attention_mixed_one
Attention over raw SWA rows plus optional compressed rows. Ratio-4 layers * pass an indexer mask to hide compressed rows not selected for this token
ds4.c:8851
↓ 2 callersFunctionlayer_ffn_batch
ds4.c:7984
↓ 2 callersFunctionlayer_forward_raw_swa_one
Full transformer layer for one decode token: attention sublayer followed by * FFN sublayer, both operating on the HC state. */
ds4.c:9679
↓ 2 callersFunctionlayer_forward_self_one
Diagnostic first-token layer without cache history: the token attends only * to itself, useful for checking a minimal end-to-end slice. */
ds4.c:10077
↓ 2 callersFunctionlayer_hash_router_weights_from_probs
ds4.c:7341
↓ 2 callersFunctionlayer_q_projection_normed_one
Q projection is low-rank: Q8_0 into the model-specific LoRA-Q rank, * RMSNorm, then Q8_0 back to all attention heads. */
ds4.c:6742
↓ 2 callersFunctionlayer_router_probs_one
Router scores use sqrt(softplus(logit)); normalization happens only after * the six selected experts are known. */
ds4.c:7328
↓ 2 callersFunctionlayer_shared_ffn_batch
ds4.c:7262
↓ 2 callersFunctionlayer_shared_ffn_one
The shared expert is a normal Q8_0 SwiGLU MLP that runs for every token. */
ds4.c:7184
↓ 2 callersFunctionlayer_topk_selected_experts_from_probs
ds4.c:7405
↓ 2 callersFunctionlinenoiseEditClear
Clear the live nonblocking edit buffer and redraw the prompt/status. This is * used by clients that want Ctrl+C to cancel the current edit without t
linenoise.c:1620
↓ 2 callersFunctionlinenoiseEditDelete
Delete the character at the right of the cursor without altering the cursor * position. Basically this is what happens with the "Delete" keyboard key
linenoise.c:1882
↓ 2 callersFunctionlinenoiseEditMoveLeft
Move cursor on the left. Moves by one UTF-8 character, not byte. */
linenoise.c:1804
↓ 2 callersFunctionlinenoiseEditMoveRight
Move cursor on the right. Moves by one UTF-8 character, not byte. */
linenoise.c:1812
↓ 2 callersFunctionlinenoiseEditQueuedInput
linenoise.c:1719
↓ 2 callersFunctionlinenoiseEditSetStatus
Set the optional status footer rendered by the multiplexed editor. The * footer is owned by linenoise and redrawn as one or more terminal rows below
linenoise.c:1753
↓ 2 callersFunctionlinenoiseEditStart
This function is part of the multiplexed API of Linenoise, that is used * in order to implement the blocking variant of the API but can also be * ca
linenoise.c:1949
↓ 2 callersFunctionlinenoiseEditStop
This is part of the multiplexed linenoise API. See linenoiseEditStart() * for more information. This function is called when linenoiseEditFeed() * r
linenoise.c:2369
↓ 2 callersFunctionlinenoiseFoldAdd
Add a fold range, keeping the array sorted by start offset. */
linenoise.c:1209
↓ 2 callersFunctionlinenoiseFoldRemove
Remove one remembered fold range. */
linenoise.c:1230
↓ 2 callersFunctionlinenoiseHide
Hide the current line, when using the multiplexing API. */
linenoise.c:1604
↓ 2 callersFunctionlinenoiseHistoryLoad
Load the history from the specified file. If the file does not exist * zero is returned and no operation is performed. * * If the file exists and t
linenoise.c:2667
↓ 2 callersFunctionlinenoiseHistorySetMaxLen
Set the maximum length for the history. This function can be called even * if there is already some history, the function will make sure to retain *
linenoise.c:2609
↓ 2 callersFunctionlinenoiseMakeRawMode
linenoise.c:568
↓ 2 callersFunctionlinenoiseReadLine
Read a newline-terminated record from fp with no fixed-size stack buffer. * Used for non-tty input, unsupported terminals, and history loading. */
linenoise.c:2460
↓ 2 callersFunctionlinenoiseRenderBuffer
Return the freshly allocated string content that is actually displayed in * the user prompt. It can be the actual edited line, or a special version
linenoise.c:1112
↓ 2 callersFunctionlinenoiseSetCompletionCallback
Register a callback function to be called for tab-completion. */
linenoise.c:842
↓ 2 callersFunctionlinenoiseSetMultiLine
Set if to use or not the multi line mode. */
linenoise.c:552
↓ 2 callersFunctionload
(path: Path)
gguf-tools/quality-testing/compare_scores.py:11
↓ 2 callersFunctionload_gguf_metadata
gguf-tools/deepseek4-quantize.c:1458
↓ 2 callersFunctionload_u16_le
gguf-tools/deepseek4-quantize.c:174
↓ 2 callersFunctionlog_context_memory
ds4_cli.c:192
↓ 2 callersFunctionlog_decode_progress
ds4_server.c:9360
↓ 2 callersFunctionlogits_top2
ds4.c:22570
↓ 2 callersFunctionmatvec_experts_down_accum_prequant
Dispatch: call the right down-projection accumulator based on tensor type. */
ds4.c:6227
↓ 2 callersFunctionmatvec_experts_mid_prequant
Dispatch: call the right gate/up mid builder based on tensor type. */
ds4.c:6205
↓ 2 callersFunctionmatvec_q8_0_pair_decode_scratch
ds4.c:5318
↓ 2 callersFunctionmatvec_q8_0_rows_prequant
Multiply selected Q8_0 rows by an activation that has already been quantized * once. This avoids repeated activation quantization for paired project
ds4.c:5101
↓ 2 callersFunctionmetal_graph_alloc
ds4.c:11291
↓ 2 callersFunctionmetal_graph_apply_directional_steering
ds4.c:10732
↓ 2 callersFunctionmetal_graph_apply_directional_steering_attn
ds4.c:10747
← previousnext →1,101–1,200 of 2,709, ranked by callers