MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / Utf8CodePointCount

Function Utf8CodePointCount

internal/utf8.cc:332–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332size_t Utf8CodePointCount(absl::string_view str) {
333 StringReader reader(str);
334 return Utf8CodePointCountImpl(&reader);
335}
336
337size_t Utf8CodePointCount(const absl::Cord& str) {
338 CordReader reader(str);

Calls 1

Utf8CodePointCountImplFunction · 0.85