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

Function split_string

examples/parallel/parallel.cpp:146–154  ·  view source on GitHub ↗

Define a split string function to ...

Source from the content-addressed store, hash-verified

144
145// Define a split string function to ...
146static std::vector<std::string> split_string(const std::string& input, char delimiter) {
147 std::vector<std::string> tokens;
148 std::istringstream stream(input);
149 std::string token;
150 while (std::getline(stream, token, delimiter)) {
151 tokens.push_back(token);
152 }
153 return tokens;
154}
155
156int main(int argc, char ** argv) {
157 std::setlocale(LC_NUMERIC, "C");

Callers 1

mainFunction · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected