| 1336 | } |
| 1337 | |
| 1338 | void SearchParse1CachedPCRE(benchmark::State& state, const char* regexp, |
| 1339 | const StringPiece& text) { |
| 1340 | PCRE& re = *GetCachedPCRE(regexp); |
| 1341 | for (auto _ : state) { |
| 1342 | StringPiece sp1; |
| 1343 | CHECK(PCRE::PartialMatch(text, re, &sp1)); |
| 1344 | } |
| 1345 | } |
| 1346 | |
| 1347 | void SearchParse1CachedRE2(benchmark::State& state, const char* regexp, |
| 1348 | const StringPiece& text) { |
nothing calls this directly
no test coverage detected