MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / write_u64

Function write_u64

server/src/server/disk_prefix_cache.cpp:178–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 int window,
177 const std::vector<int> & safe_boundaries,
178 int min_tokens) {
179 if (prompt_ids.empty() || recent_prompts.empty() || window <= 0) return 0;
180
181 const int n_recent = std::min(window, (int)recent_prompts.size());

Callers 2

write_fileMethod · 0.85
write_headerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected