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

Function BM_Utf8IsValid_String_AsciiTen

internal/utf8_test.cc:344–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342BENCHMARK(BM_Utf8CodePointCount_Cord_JapaneseTen);
343
344void BM_Utf8IsValid_String_AsciiTen(benchmark::State& state) {
345 for (auto s : state) {
346 benchmark::DoNotOptimize(Utf8IsValid("0123456789"));
347 }
348}
349
350BENCHMARK(BM_Utf8IsValid_String_AsciiTen);
351

Callers

nothing calls this directly

Calls 1

Utf8IsValidFunction · 0.85

Tested by

no test coverage detected