Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/async-profiler/async-profiler
/ method3
Method
method3
test/test/api/BusyLoops.java:30–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28
}
29
30
static
long method3() {
31
long iterations = 0;
32
SecureRandom r =
new
SecureRandom();
33
while
((r.nextInt() % 1_000_000) != 0) {
34
iterations++;
35
}
36
return
iterations;
37
}
38
}
Callers
4
main
Method · 0.95
main
Method · 0.45
main
Method · 0.45
main
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected