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

/barrelfish-master/lib/libc/gen/
H A Darc4random.c260 * Calculate a uniformly distributed random number less than upper_bound
264 * returned is outside the range [0, 2**32 % upper_bound). This
266 * [2**32 % upper_bound, 2**32) which maps back to [0, upper_bound)
267 * after reduction modulo upper_bound.
270 arc4random_uniform(u_int32_t upper_bound) argument
274 if (upper_bound < 2)
278 min = -upper_bound % upper_bound;
291 return r % upper_bound;
[all...]
/barrelfish-master/tools/harness/tests/
H A Dblk_tests.py269 upper_bound = bandwidth[self.machine][operation][bs] * (1 + 0.25)
278 elif bw >= upper_bound:
279 error = "Achieved {} bandwidth for {} bytes blocks was better ({}) than expected ({}).".format(operation, bs, bw, upper_bound)
/barrelfish-master/lib/blk/blk_ahci/
H A Ddevice_impl.c72 bool upper_bound = (mem->bytes >= length); local
76 return upper_bound2 && upper_bound;

Completed in 103 milliseconds