Searched refs:OneIn (Results 1 – 4 of 4) sorted by relevance
53 name += rnd.OneIn(4) ? '0' : 'a'; in BM_ParseTensorName()55 if (rnd.OneIn(3)) { in BM_ParseTensorName()
62 bool OneIn(uint32 n) { return Uniform(n) == 0; } in OneIn() function
33 if (rnd->OneIn(2)) bitmap->set(i); in MakeRandomBitmap()
238 if (rnd.OneIn(3)) { in TEST()239 y[rest] = rnd.OneIn(2) ? 0 : 255; in TEST()