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

Function cursor_string

ds4.c:1510–1518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1508 p->total_weight += weight;
1509 for (uint32_t ci = 0; ci < p->n_caps; ci++) {
1510 ds4_expert_profile_cache_use(ci, il, expert, weight);
1511 }
1512 }
1513}
1514
1515static void ds4_expert_profile_write_cache_summary(FILE *fp) {
1516 ds4_expert_profile *p = &g_expert_profile;
1517 fputs(" \"cache_summary\": [\n", fp);
1518 for (uint32_t ci = 0; ci < p->n_caps; ci++) {
1519 uint64_t hits = 0;
1520 double weight_hits = 0.0;
1521 for (uint32_t il = 0; il < p->n_layer; il++) {

Callers 5

skip_valueFunction · 0.85
model_get_stringFunction · 0.85
parse_metadataFunction · 0.85
parse_tensorsFunction · 0.85
vocab_loadFunction · 0.85

Calls 2

cursor_u64Function · 0.85
cursor_hasFunction · 0.85

Tested by

no test coverage detected