MCPcopy Create free account
hub / github.com/catboost/catboost / DoSplit1

Function DoSplit1

util/string/vector.cpp:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12template <class TConsumer, class TDelim, typename TChr>
13static inline void DoSplit1(TConsumer& cc, TDelim& d, const TBasicStringBuf<TChr> str, int opts) {
14 if (opts & KEEP_EMPTY_TOKENS) {
15 DoSplit2(cc, d, str, opts);
16 } else {
17 TSkipEmptyTokens<TConsumer> sc(&cc);
18
19 DoSplit2(sc, d, str, opts);
20 }
21}
22
23template <class C, class TDelim, typename TChr>
24static inline void DoSplit0(C* res, const TBasicStringBuf<TChr> str, TDelim& d, size_t maxFields, int options) {

Callers 1

DoSplit0Function · 0.85

Calls 1

DoSplit2Function · 0.85

Tested by

no test coverage detected