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

Method getct

app/src/main/java/cs/threephase/Center2.java:135–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 }
134
135 int getct() {
136 int idx = 0;
137 int r = 8;
138 for (int i = 14; i >= 0; i--) {
139 if (ct[i] != ct[15]) {
140 idx += Cnk[i][r--];
141 }
142 }
143 return idx;
144 }
145
146 private void setct(int idx) {
147 int r = 8;

Callers 1

initCtMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected