MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / CompileRE2

Function CompileRE2

extern/re2/re2/testing/regexp_benchmark.cc:731–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731void CompileRE2(benchmark::State& state, const std::string& regexp) {
732 for (auto _ : state) {
733 RE2 re(regexp);
734 CHECK_EQ(re.error(), "");
735 }
736}
737
738void RunBuild(benchmark::State& state, const std::string& regexp,
739 void (*run)(benchmark::State&, const std::string&)) {

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected