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

Method BuildEntireDFA

extern/re2/re2/dfa.cc:1965–1967  ·  view source on GitHub ↗

Build out all states in DFA for kind. Returns number of states.

Source from the content-addressed store, hash-verified

1963
1964// Build out all states in DFA for kind. Returns number of states.
1965int Prog::BuildEntireDFA(MatchKind kind, const DFAStateCallback& cb) {
1966 return GetDFA(kind)->BuildAllStates(cb);
1967}
1968
1969void Prog::TEST_dfa_should_bail_when_slow(bool b) {
1970 dfa_should_bail_when_slow = b;

Callers 1

DEFINE_FLAGFunction · 0.80

Calls 1

BuildAllStatesMethod · 0.80

Tested by 1

DEFINE_FLAGFunction · 0.64