Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
332
size_t Utf8CodePointCount(absl::string_view str) {
333
StringReader reader(str);
334
return Utf8CodePointCountImpl(&reader);
335
}
336
337
size_t Utf8CodePointCount(const absl::Cord& str) {
338
CordReader reader(str);
Callers
6
TEST
Function · 0.85
BM_Utf8CodePointCount_String_AsciiTen
Function · 0.85
BM_Utf8CodePointCount_Cord_AsciiTen
Function · 0.85
BM_Utf8CodePointCount_String_JapaneseTen
Function · 0.85
BM_Utf8CodePointCount_Cord_JapaneseTen
Function · 0.85
Size
Method · 0.85
Calls
1
Utf8CodePointCountImpl
Function · 0.85
Tested by
5
TEST
Function · 0.68
BM_Utf8CodePointCount_String_AsciiTen
Function · 0.68
BM_Utf8CodePointCount_Cord_AsciiTen
Function · 0.68
BM_Utf8CodePointCount_String_JapaneseTen
Function · 0.68
BM_Utf8CodePointCount_Cord_JapaneseTen
Function · 0.68