Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/re2j
/ contains
Method
contains
java/com/google/re2j/Machine.java:45–48 ·
view source on GitHub ↗
(int pc)
Source
from the content-addressed store, hash-verified
43
}
44
45
boolean contains(
int
pc) {
46
int
j = sparse[pc];
47
return
j < size && densePcs[j] == pc;
48
}
49
50
boolean isEmpty() {
51
return
size == 0;
Callers
2
testRE2
Method · 0.80
add
Method · 0.80
Calls
no outgoing calls
Tested by
1
testRE2
Method · 0.64