Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/apache/groovy
/ next
Method
next
benchmark/bench/pidigits.java:43–50 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
41
}
42
43
public
int
next(){
44
int
y = digit();
45
if
(isSafe(y)){
46
z = produce(y);
return
y;
47
}
else
{
48
z = consume( x.next() );
return
next();
49
}
50
}
51
52
public
int
digit(){
53
return
z.extract(3);
Callers
5
main
Method · 0.95
main
Method · 0.45
intersect
Method · 0.45
possibleMoves
Method · 0.45
main
Method · 0.45
Calls
4
digit
Method · 0.95
isSafe
Method · 0.95
produce
Method · 0.95
consume
Method · 0.95
Tested by
no test coverage detected