Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/re2j
/ index
Method
index
java/com/google/re2j/MachineInput.java:134–139 ·
view source on GitHub ↗
(RE2 re2, int pos)
Source
from the content-addressed store, hash-verified
132
}
133
134
@Override
135
int
index(RE2 re2,
int
pos) {
136
pos += start;
137
int
i = Utils.indexOf(b, re2.prefixUTF8, pos);
138
return
i < 0 ? i : i - pos;
139
}
140
141
@Override
142
int
context(
int
pos) {
Callers
nothing calls this directly
Calls
1
indexOf
Method · 0.95
Tested by
no test coverage detected