MCPcopy Create free account
hub / github.com/dchapyshev/aspia / splitStringView

Function splitStringView

source/base/strings/string_split.cc:160–173  ·  view source on GitHub ↗

--------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

158
159//--------------------------------------------------------------------------------------------------
160std::vector<std::string_view> splitStringView(std::string_view input,
161 std::string_view separators,
162 WhitespaceHandling whitespace,
163 SplitResult result_type)
164{
165 if (separators.size() == 1)
166 {
167 return splitStringT<std::string_view, std::string_view, char>(
168 input, separators[0], whitespace, result_type);
169 }
170
171 return splitStringT<std::string_view, std::string_view, std::string_view>(
172 input, separators, whitespace, result_type);
173}
174
175//--------------------------------------------------------------------------------------------------
176std::vector<std::u16string_view> splitStringView(std::u16string_view input,

Callers 5

setCapabilitiesMethod · 0.85
startSessionProcessMethod · 0.85
onStartedMethod · 0.85
createMethod · 0.85
writeFileMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected