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

Function Strip

util/string/strip.h:128–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127template <class It, class TStripCriterion>
128inline bool Strip(It& b, size_t& len, TStripCriterion&& criterion) noexcept {
129 It e = b + len;
130
131 if (StripRange(b, e, criterion)) {
132 len = e - b;
133
134 return true;
135 }
136
137 return false;
138}
139
140template <class It>
141inline bool Strip(It& b, size_t& len) noexcept {

Callers 3

strip.hFile · 0.70
Y_UNIT_TESTFunction · 0.70
CreateFromListImplFunction · 0.50

Calls 3

StripRangeFunction · 0.85
IsAsciiSpaceAdapterFunction · 0.85
StripStringFunction · 0.85

Tested by

no test coverage detected