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

Method cbrk

util/string/util.h:89–94  ·  view source on GitHub ↗

Return first character not in table, like strpbrk() for inverted table. That is, skip all characters in table

Source from the content-addressed store, hash-verified

87 /// Return first character not in table, like strpbrk() for inverted table.
88 /// That is, skip all characters in table
89 const char* cbrk(const char* s) const {
90 while (chars_table[(ui8)*s]) {
91 ++s;
92 }
93 return s;
94 }
95
96 const char* cbrk(const char* s, const char* e) const {
97 while (s < e && chars_table[(ui8)*s]) {

Callers 2

MayUnquoteNewMethod · 0.80
MayUnquoteOldMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected