MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / collect_prefix_and_next

Method collect_prefix_and_next

common/peg-parser.cpp:96–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 };
95
96 std::vector<prefix_and_next> collect_prefix_and_next() {
97 std::vector<uint32_t> prefix;
98 std::vector<prefix_and_next> result;
99 collect_prefix_and_next(0, prefix, result);
100 return result;
101 }
102
103 private:
104 void collect_prefix_and_next(size_t index, std::vector<uint32_t> & prefix, std::vector<prefix_and_next> & out) {

Callers 1

gbnf_excluding_patternFunction · 0.80

Calls 3

emptyMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected