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