MCPcopy Create free account
hub / github.com/antirez/ds4 / parse_int_arg

Function parse_int_arg

ds4_server.c:11407–11415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11405 ctx_span,
11406 req_flags[0] ? " " : "",
11407 req_flags);
11408 ds4_session_set_progress(slot->session, server_progress_cb, &progress);
11409 ds4_session_set_display_progress(slot->session, server_progress_cb, &progress);
11410
11411 int cold_store_len = 0;
11412 if (cached == 0 &&
11413 s->kv.enabled &&
11414 prompt_for_sync->len >= s->kv.opt.min_tokens &&
11415 s->kv.opt.cold_max_tokens > 0 &&
11416 prompt_for_sync->len <= s->kv.opt.cold_max_tokens)
11417 {
11418 const int anchor = kv_cache_chat_anchor_pos(&s->kv, prompt_for_sync,

Callers 1

parse_optionsFunction · 0.70

Calls 1

server_logFunction · 0.85

Tested by

no test coverage detected