Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/golang/mobile
/ roundPow2
Method
roundPow2
bind/java/Seq.java:392–398 ·
view source on GitHub ↗
(int x)
Source
from the content-addressed store, hash-verified
390
}
391
392
private
static
int
roundPow2(
int
x) {
393
int
p = 1;
394
while
(p < x) {
395
p *= 2;
396
}
397
return
p;
398
}
399
}
400
}
Callers
1
grow
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected