MCPcopy Create free account
hub / github.com/apache/brpc / c16len

Function c16len

src/butil/strings/string16.cc:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35size_t c16len(const char16* s) {
36 const char16 *s_orig = s;
37 while (*s) {
38 ++s;
39 }
40 return s - s_orig;
41}
42
43const char16* c16memchr(const char16* s, char16 c, size_t n) {
44 while (n-- > 0) {

Callers 1

lengthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected