| 1300 | } |
| 1301 | |
| 1302 | void Parse1CachedPCRE(benchmark::State& state, const char* regexp, |
| 1303 | const StringPiece& text) { |
| 1304 | PCRE& re = *GetCachedPCRE(regexp); |
| 1305 | StringPiece sp1; |
| 1306 | for (auto _ : state) { |
| 1307 | CHECK(PCRE::FullMatch(text, re, &sp1)); |
| 1308 | } |
| 1309 | } |
| 1310 | |
| 1311 | void Parse1CachedRE2(benchmark::State& state, const char* regexp, |
| 1312 | const StringPiece& text) { |
nothing calls this directly
no test coverage detected