MCPcopy Create free account
hub / github.com/MeigenChou/DCTimer-Android / getsym

Method getsym

app/src/main/java/cs/threephase/Center1.java:156–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 }
155
156 int getsym() {
157 for (int j = 0; j < 48; j++) {
158 int cord = raw2sym(get());
159 if (cord != -1)
160 return cord * 64 + j;
161 rot(0);
162 if ((j & 1) == 1) rot(1);
163 if ((j & 7) == 7) rot(2);
164 if ((j & 15) == 15) rot(3);
165 }
166 System.out.print('e');
167 return -1;
168 }
169
170 static int raw2sym(int n) {
171 int m = Arrays.binarySearch(sym2raw, n);

Callers

nothing calls this directly

Calls 4

raw2symMethod · 0.95
getMethod · 0.95
rotMethod · 0.95
printMethod · 0.80

Tested by

no test coverage detected