Searched refs:twokm1 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/contrib/ck/src/
H A Dck_barrier_tournament.c64 unsigned int i, k, size, twok, twokm1, imod2k; local
73 for (k = 1, twok = 2, twokm1 = 1; k < size; ++k, twokm1 = twok, twok <<= 1) {
78 if ((i + twokm1 < nthr) && (twok < nthr))
80 else if (i + twokm1 >= nthr)
84 if (imod2k == twokm1)
90 rounds[i][k].opponent = &rounds[i - twokm1][k].flag;
93 rounds[i][k].opponent = &rounds[i + twokm1][k].flag;

Completed in 95 milliseconds