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

Function join

tools/llama-bench/llama-bench.cpp:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83template <class T> static std::string join(const std::vector<T> & values, const std::string & delim) {
84 std::ostringstream str;
85 for (size_t i = 0; i < values.size(); i++) {
86 str << values[i];
87 if (i < values.size() - 1) {
88 str << delim;
89 }
90 }
91 return str.str();
92}
93
94template <typename T, typename F> static std::vector<std::string> transform_to_str(const std::vector<T> & values, F f) {
95 std::vector<std::string> str_values;

Callers 10

get_cpu_infoFunction · 0.70
get_gpu_infoFunction · 0.70
devices_to_stringFunction · 0.70
print_usageFunction · 0.70
get_backendMethod · 0.70
print_headerMethod · 0.70
print_testMethod · 0.70
print_testMethod · 0.70
print_testMethod · 0.70
print_testMethod · 0.70

Calls 2

sizeMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected