| /openbsd-src/regress/lib/libc/arch/alpha/divremtest/ |
| H A D | mktestcases.c | 47 (random() & ((random() & random()) | 0x80000000)); in main() 49 n1 |= (unsigned)(random() & random() & random()); in main() 52 (random() & ((random() & random()) | 0x80000000)); in main() 54 n2 |= (unsigned)(random() & random() & random()); in main()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/podlators/t/data/snippets/text/ |
| H A D | code | 8 This is some random text. 9 This is more random text. 11 This is some random text. 12 This is more random text. 20 This is more random text. 23 This is some random text. 24 This is more random text. 26 This is some random text. 27 This is more random text. 33 This is more random text.
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | fork.t | 63 OPTION random 82 OPTION random 104 OPTION random 132 OPTION random 141 OPTION random 159 OPTION random 195 OPTION random 213 OPTION random 223 OPTION random 250 OPTION random [all …]
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/tr1/ |
| H A D | random | 1 // random number generation -*- C++ -*- 31 * @file tr1/random 58 * A facility for generating random numbers on selected distributions. 135 * Converts a value generated by the adapted random number generator into a 136 * value in the input domain for the dependent random number distribution. 163 * Produces random numbers on a given disribution function using a un uniform 164 * random number generation engine. 187 * Constructs a variate generator with the uniform random number 188 * generator @p __eng for the random distribution @p __dist. 212 * Gets a reference to the underlying uniform random number generator [all …]
|
| /openbsd-src/usr.sbin/unbound/testcode/ |
| H A D | unitneg.c | 98 int labels = random() % 3; in get_random_zone() 104 labnum = random()%10; in get_random_zone() 126 type = random()%10; in get_random_data() 130 lab1 = random() %3 + 1; in get_random_data() 131 lab2 = lab1 + random()%3 + 1; in get_random_data() 133 labnum1[i] = random()%100; in get_random_data() 137 labnum2[i] = random()%100; in get_random_data() 142 lab1 = random()%3 + 1; in get_random_data() 144 labnum1[i] = random()%100; in get_random_data() 149 lab2 = random()%3 + 1; in get_random_data() [all …]
|
| H A D | unitslabhash.c | 111 int numtoadd = random() % HASHTESTMAX; in testadd() 123 int num = random() % HASHTESTMAX; in testremove() 134 int num = random() % HASHTESTMAX; in testlookup() 198 int numtoadd = random() % (HASHTESTMAX * 10); in testadd_unlim() 211 int num = random() % (HASHTESTMAX*10); in testremove_unlim() 223 int num = random() % (HASHTESTMAX*10); in testlookup_unlim() 259 switch(random() % 4) { in test_long_table() 280 switch(random() % 4) { in test_long_table() 317 switch(random() % 4) { in test_thr_main()
|
| H A D | unitlruhash.c | 237 int numtoadd = random() % HASHTESTMAX; in testadd() 249 int num = random() % HASHTESTMAX; in testremove() 260 int num = random() % HASHTESTMAX; in testlookup() 315 int numtoadd = random() % (HASHTESTMAX * 10); in testadd_unlim() 328 int num = random() % (HASHTESTMAX*10); in testremove_unlim() 340 int num = random() % (HASHTESTMAX*10); in testlookup_unlim() 379 switch(random() % 4) { in test_long_table() 401 switch(random() % 4) { in test_long_table() 438 switch(random() % 4) { in test_thr_main()
|
| /openbsd-src/gnu/llvm/llvm/utils/ |
| H A D | shuffle_select_fuzz_tester.py | 18 import random 244 num_elts = random.choice(range(2, 65)) 248 if random.randint(0,1): 250 width = random.choice(int_elt_widths) 253 width = random.choice(float_elt_widths) 263 if SHUF_UNDEF_POS/ty.elt_num > random.random(): 266 mask.append(random.randint(0, ty.elt_num*2 - 1)) 276 if SEL_UNDEF_POS/ty.elt_num > random.random(): 279 mask.append(random.randint(0, 1)) 292 [idx0, idx1] = sorted(random.sample(range(len(inputs)), 2)) [all …]
|
| H A D | shuffle_fuzz.py | 20 import random 43 random.seed(args.seed) 51 (width, element_type) = random.choice( 55 (width, element_type) = random.choice( 60 width = random.choice([2, 4, 8, 16, 32, 64]) 61 element_type = random.choice(element_types) 106 shuffle_tree = [[[-1 if random.random() <= undef_prob 107 else random.choice(range(shuffle_range))
|
| /openbsd-src/sys/arch/riscv64/stand/efiboot/ |
| H A D | efirng.c | 66 UINT8 *random; in fwrandom() local 74 random = alloc(buflen); in fwrandom() 76 status = rng->GetRNG(rng, NULL, buflen, random); in fwrandom() 84 buf[i] ^= random[i]; in fwrandom() 87 free(random, buflen); in fwrandom()
|
| /openbsd-src/sys/arch/arm64/stand/efiboot/ |
| H A D | efirng.c | 66 UINT8 *random; in fwrandom() local 74 random = alloc(buflen); in fwrandom() 76 status = rng->GetRNG(rng, NULL, buflen, random); in fwrandom() 84 buf[i] ^= random[i]; in fwrandom() 87 free(random, buflen); in fwrandom()
|
| /openbsd-src/sys/arch/amd64/stand/efiboot/ |
| H A D | efirng.c | 66 UINT8 *random; in fwrandom() local 74 random = alloc(buflen); in fwrandom() 76 status = rng->GetRNG(rng, NULL, buflen, random); in fwrandom() 84 buf[i] ^= random[i]; in fwrandom() 87 free(random, buflen); in fwrandom()
|
| /openbsd-src/gnu/llvm/clang/utils/VtableTest/ |
| H A D | gen.cc | 73 int i_bases = random() % (N_BASES*2); in gs() 81 if (random() % 4 == 0) in gs() 91 int base = random() % (s-1) + 1; in gs() 101 if (random()%8 == 0) { in gs() 111 base_protection = random()%8; in gs() 138 int n_fields = N_FIELDS == 0 ? 0 : random() % (N_FIELDS*4); in gs() 143 int t = random() % (sizeof(simple_types) / sizeof(simple_types[0])); in gs() 150 int n_funcs = random() % (N_FUNCS*2); in gs() 155 int fn = old_func + random() % FUNCSPACING + 1; in gs() 159 ret_type = random() % s + 1; in gs()
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | genk-timing.py | 6 import random 122 shouldCallFunc = (self.lastFuncNum > 2 and random.random() < self.callWeighting) 124 funcToCall = random.randrange(1, self.lastFuncNum - 1) 129 operation = random.choice(possibleOperations) 138 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100))) 172 arg1 = random.uniform(1, 100) 173 arg2 = random.uniform(1, 100) 214 random.seed()
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
| H A D | genk-timing.py | 6 import random 117 shouldCallFunc = (self.lastFuncNum > 2 and random.random() < self.callWeighting) 119 funcToCall = random.randrange(1, self.lastFuncNum - 1) 124 operation = random.choice(possibleOperations) 133 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100))) 167 arg1 = random.uniform(1, 100) 168 arg2 = random.uniform(1, 100) 209 random.seed()
|
| /openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | genk-timing.py | 6 import random 117 shouldCallFunc = (self.lastFuncNum > 2 and random.random() < self.callWeighting) 119 funcToCall = random.randrange(1, self.lastFuncNum - 1) 124 operation = random.choice(possibleOperations) 133 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100))) 167 arg1 = random.uniform(1, 100) 168 arg2 = random.uniform(1, 100) 209 random.seed()
|
| /openbsd-src/libexec/ld.so/ |
| H A D | SPECS.randomdata | 4 adding "random data" sections to the ELF ABI. These sections can be 21 The array element specifies the location and size of a random data 23 with random data. The memory range must be separately mapped 38 This section holds the random data section. 44 PT_LOAD segments: the kernel handles initializing random data segments
|
| /openbsd-src/regress/lib/libcrypto/ec/ |
| H A D | ec_point_conversion.c | 117 BIGNUM *random; in test_random_points_on_curve() 128 if ((random = BN_new()) == NULL) in test_random_points_on_curve() 129 errx(1, "BN_new random"); in test_random_points_on_curve() 142 if (!BN_rand_range(random, order)) in test_random_points_on_curve() 144 } while (BN_is_zero(random)); in test_random_points_on_curve() 149 if (!EC_POINT_mul(group, random_point, random, NULL, NULL, NULL)) in test_random_points_on_curve() 156 fprintf(stderr, "random = "); in test_random_points_on_curve() 157 BN_print_fp(stderr, random); in test_random_points_on_curve() 174 BN_free(random); in test_random_points_on_curve() 116 BIGNUM *random; test_random_points_on_curve() local
|
| /openbsd-src/regress/sbin/pfctl/ |
| H A D | pf54.in | 1 #scrub random-id 3 match scrub(random-id)
|
| H A D | pfail25.in | 6 match from localhost scrub(random-id random-id)
|
| /openbsd-src/games/random/ |
| H A D | Makefile | 3 PROG= random 4 MAN= random.6
|
| /openbsd-src/games/trek/ |
| H A D | ranf.c | 44 t = random(); in ranf() 53 t = random() & 077777; in franf()
|
| /openbsd-src/gnu/llvm/clang/utils/ |
| H A D | modfuzz.py | 8 import random 110 i = random.choice(list(range(len(m)))) 128 i = int(random.uniform(0, len(options) + none_opts)) 148 d = random.choice([decl for decl in decls if decl.valid(model)])
|
| /openbsd-src/regress/sys/sys/tree/rb/ |
| H A D | Makefile | 3 NAMED_TESTS = random-inserts sequential-inserts \ 4 sequential-removes random-removes remove-nfind \
|
| /openbsd-src/regress/lib/libradius/ |
| H A D | test00.c | 15 code = random(); in test00() 16 id = random(); in test00()
|