| 9 | namespace WasmEdge::Host::WASINN::MLX { |
| 10 | |
| 11 | std::vector<std::string> splitString(const std::string &S, char Delim) { |
| 12 | std::vector<std::string> Result; |
| 13 | std::stringstream SS(S); |
| 14 | std::string Item; |
| 15 | while (std::getline(SS, Item, Delim)) { |
| 16 | Result.emplace_back(Item); |
| 17 | } |
| 18 | return Result; |
| 19 | } |
| 20 | |
| 21 | std::string joinString(std::vector<std::string> &S, char Delim) { |
| 22 | std::string Result; |
no outgoing calls
no test coverage detected