MCPcopy Create free account
hub / github.com/google/re2j / index

Method index

java/com/google/re2j/MachineInput.java:201–206  ·  view source on GitHub ↗
(RE2 re2, int pos)

Source from the content-addressed store, hash-verified

199 }
200
201 @Override
202 int index(RE2 re2, int pos) {
203 pos += start;
204 int i = indexOf(str, re2.prefix, pos);
205 return i < 0 ? i : i - pos;
206 }
207
208 @Override
209 int context(int pos) {

Callers

nothing calls this directly

Calls 1

indexOfMethod · 0.95

Tested by

no test coverage detected