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

Function is_strict_prefix

server/src/server/prefix_cache.cpp:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 // matching decides every restore, so that costs at most a snapshot
144 // taken at a less useful place.
145 while (true) {
146 const auto [idx, len] =
147 find_first_seq_any(ids, markers.next_role_starts, cursor);
148 if (idx < 0) break;
149 cursor = idx + len;
150 out.push_back(cursor);
151 }
152 return out;
153 }

Callers 1

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected