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

Method brk

util/string/util.h:73–78  ·  view source on GitHub ↗

Return first character in table, like strpbrk() That is, skip all characters not in table [DIFFERENCE FOR NOT_FOUND CASE: Returns end of string, not NULL]

Source from the content-addressed store, hash-verified

71 /// That is, skip all characters not in table
72 /// [DIFFERENCE FOR NOT_FOUND CASE: Returns end of string, not NULL]
73 const char* brk(const char* s) const {
74 while (c_chars_table[(ui8)*s]) {
75 ++s;
76 }
77 return s;
78 }
79
80 const char* brk(const char* s, const char* e) const {
81 while (s < e && c_chars_table[(ui8)*s]) {

Callers 3

GetSchemePrefixSizeFunction · 0.80
GetHostAndPortImplFunction · 0.80
TestSpnMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestSpnMethod · 0.64