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

Function string_join

common/common.cpp:467–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467std::string string_join(const std::vector<std::string> & values, const std::string & separator) {
468 std::ostringstream result;
469 for (size_t i = 0; i < values.size(); ++i) {
470 if (i > 0) {
471 result << separator;
472 }
473 result << values[i];
474 }
475 return result.str();
476}
477
478std::vector<std::string> string_split(const std::string & str, const std::string & delimiter) {
479 std::vector<std::string> parts;

Callers 9

full_nameMethod · 0.85
test_regexFunction · 0.85
_generate_union_ruleMethod · 0.85
_visit_patternMethod · 0.85
visitMethod · 0.85
check_errorsMethod · 0.85
dump_implMethod · 0.85
build_grammarMethod · 0.85

Calls 2

sizeMethod · 0.45
strMethod · 0.45

Tested by 2

full_nameMethod · 0.68
test_regexFunction · 0.68