MCPcopy Create free account
hub / github.com/LBANN/lbann / split

Function split

src/utils/profiling.cpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83MPI_Comm adiak_comm; // Dedicated Adiak communicator.
84
85std::vector<std::string> split(std::string const str,
86 std::string const regex_str)
87{
88 std::regex regexz(regex_str);
89 std::vector<std::string> list(
90 std::sregex_token_iterator(str.begin(), str.end(), regexz, -1),
91 std::sregex_token_iterator());
92 return list;
93}
94
95std::string as_lowercase(std::string str)
96{

Callers 2

do_adiak_initFunction · 0.70
test_helpers.cppFile · 0.50

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected