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

Method Next

util/string/split.h:908–918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906 TSplitRangeBase& operator=(TSplitRangeBase&& other) = delete;
907
908 inline TIteratorState* Next() {
909 if (State_.DelimiterIsEmpty()) {
910 return nullptr;
911 }
912
913 const auto tokenBegin = State_.DelimiterEnd_;
914 const auto tokenEnd = Delimiter_.Ptr()->Find(State_.DelimiterEnd_, State_.OriginEnd_);
915 State_.UpdateParentBuf(tokenBegin, tokenEnd);
916
917 return &State_;
918 }
919
920 private:
921 TStringType String_;

Callers

nothing calls this directly

Calls 4

DelimiterIsEmptyMethod · 0.80
UpdateParentBufMethod · 0.80
FindMethod · 0.45
PtrMethod · 0.45

Tested by

no test coverage detected