chance 453 source4/torture/gentest.c static bool gen_chance(uint_t chance) chance 455 source4/torture/gentest.c return ((random() % 100) <= chance);