Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MeigenChou/DCTimer-Android
/ raw2sym
Method
raw2sym
app/src/main/java/cs/threephase/Center1.java:170–173 ·
view source on GitHub ↗
(int n)
Source
from the content-addressed store, hash-verified
168
}
169
170
static
int
raw2sym(
int
n) {
171
int
m = Arrays.binarySearch(sym2raw, n);
172
return
(m>=0 ? m : -1);
173
}
174
175
public
void
set(Center1 c) {
176
for
(
int
i = 0; i < 24; i++) this.ct[i] = c.ct[i];
Callers
1
getsym
Method · 0.95
Calls
1
binarySearch
Method · 0.80
Tested by
no test coverage detected