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

Function cursor_read

ds4.c:1489–1494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1487 }
1488 const uint32_t union_size = 2u * p->n_expert_used - intersection;
1489 p->adjacent_pairs[il]++;
1490 p->adjacent_overlap_sum[il] +=
1491 (double)intersection / (double)p->n_expert_used;
1492 if (union_size != 0) {
1493 p->adjacent_jaccard_sum[il] +=
1494 (double)intersection / (double)union_size;
1495 }
1496 }
1497

Callers 6

cursor_u32Function · 0.85
cursor_u64Function · 0.85
model_get_f32_compatFunction · 0.85
model_get_boolFunction · 0.85

Calls 1

cursor_hasFunction · 0.85

Tested by

no test coverage detected