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

Function IndexToNode

extern/re2/re2/onepass.cc:209–212  ·  view source on GitHub ↗

Computes the OneState* for the given nodeindex.

Source from the content-addressed store, hash-verified

207
208// Computes the OneState* for the given nodeindex.
209static inline OneState* IndexToNode(uint8_t* nodes, int statesize,
210 int nodeindex) {
211 return reinterpret_cast<OneState*>(nodes + statesize*nodeindex);
212}
213
214bool Prog::SearchOnePass(const StringPiece& text,
215 const StringPiece& const_context,

Callers 2

SearchOnePassMethod · 0.85
IsOnePassMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected