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

Method set

app/src/main/java/cs/threephase/Center1.java:132–142  ·  view source on GitHub ↗
(int idx)

Source from the content-addressed store, hash-verified

130 }
131
132 public void set(int idx) {
133 Utils.idxToComb(ct, idx, 8, 24);
134// int r = 8;
135// for (int i=23; i>=0; i--) {
136// ct[i] = 0;
137// if (idx >= Cnk[i][r]) {
138// idx -= Cnk[i][r--];
139// ct[i] = 1;
140// }
141// }
142 }
143
144 private int get() {
145 return Utils.combToIdx(ct, 8, 24);

Callers 11

initMethod · 0.95
initSymMethod · 0.95
onDateSetMethod · 0.45
setDateEndMethod · 0.45
setDateStartMethod · 0.45
calcResultMethod · 0.45
onClickMethod · 0.45
searchMethod · 0.45
init2Method · 0.45
init3Method · 0.45
search3Method · 0.45

Calls 1

idxToCombMethod · 0.95

Tested by

no test coverage detected