#include <stdint.h>
#include <string>
#include <thread>
#include <vector>
#include "util/test.h"
#include "util/flags.h"
#include "util/logging.h"
#include "util/malloc_counter.h"
#include "util/strutil.h"
#include "re2/prog.h"
#include "re2/re2.h"
#include "re2/regexp.h"
#include "re2/testing/regexp_generator.h"
#include "re2/testing/string_generator.h"
Go to the source code of this file.
|
| | DEFINE_FLAG (int, repeat, 2, "Repetition count.") |
| |
| | DEFINE_FLAG (int, size, 8, "log2(number of DFA nodes)") |
| |
| | DEFINE_FLAG (int, threads, 4, "number of threads") |
| |
| static void | re2::DoBuild (Prog *prog) |
| |
| static void | re2::DoSearch (Prog *prog, const StringPiece &match, const StringPiece &no_match) |
| |
| | re2::TEST (DFA, Callback) |
| |
| | re2::TEST (DFA, ReverseMatch) |
| |
| | re2::TEST (Multithreaded, BuildEntireDFA) |
| |
| | re2::TEST (Multithreaded, SearchDFA) |
| |
| | re2::TEST (SingleThreaded, BuildEntireDFA) |
| |
| | re2::TEST (SingleThreaded, SearchDFA) |
| |
◆ DEFINE_FLAG() [1/3]
| DEFINE_FLAG |
( |
int |
, |
|
|
repeat |
, |
|
|
2 |
, |
|
|
"Repetition count." |
|
|
) |
| |
◆ DEFINE_FLAG() [2/3]
◆ DEFINE_FLAG() [3/3]
◆ UsingMallocCounter