Searched refs:ran (Results 1 - 25 of 42) sorted by relevance

12

/netbsd-current/external/lgpl3/mpfr/dist/tests/
H A Drandom2.c46 mp_limb_t elimb, ran, acc; local
75 ran = elimb;
79 ran >>= MPFR_LOG2_GMP_NUMB_BITS; /* Ideally log2(GMP_NUMB_BITS) */
82 /* Bit 0 of ran chooses string of ones/string of zeroes.
84 ran |= 1;
93 ran = elimb;
97 nb = (ran >> 1) % (1 << LOGBITS_PER_BLOCK) + 1;
98 if ((ran & 1) != 0)
127 ran >>= LOGBITS_PER_BLOCK + 1;
/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/
H A Drandom2.c51 mp_limb_t ran, ranm; /* buffer for random bits */ local
57 ran = ranm;
60 bit_pos = ran % GMP_NUMB_BITS;
/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/
H A Dselftest.cc73 int ran = 0, failed = 0; local
98 ++ran;
111 ran, failed);
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dselftest.cc75 int ran = 0, failed = 0; local
99 ++ran;
112 ran, failed);
/netbsd-current/external/mit/isl/dist/
H A Disl_morph.c32 __isl_take isl_basic_set *dom, __isl_take isl_basic_set *ran,
37 if (!dom || !ran || !map || !inv)
46 morph->ran = ran;
53 isl_basic_set_free(ran);
74 isl_basic_set_copy(morph->ran),
98 isl_basic_set_free(morph->ran);
138 isl_space *dom, *ran, *space; local
157 ran = isl_morph_get_ran_space(morph);
158 space = isl_space_map_from_domain_and_range(dom, ran);
31 isl_morph_alloc( __isl_take isl_basic_set *dom, __isl_take isl_basic_set *ran, __isl_take isl_mat *map, __isl_take isl_mat *inv) argument
487 isl_basic_set *dom, *ran; local
577 isl_basic_set *dom, *ran; local
688 isl_basic_set *ran; local
719 isl_basic_set *dom, *ran; local
[all...]
H A Disl_morph.h25 * "map" is an affine mapping from "dom" to "ran"
32 isl_basic_set *ran; member in struct:isl_morph
42 __isl_take isl_basic_set *dom, __isl_take isl_basic_set *ran,
H A Disl_pw_morph_templ.c29 isl_space_copy(morph->ran->dim), space);
H A Disl_transitive_closure.c853 * element from ran R \times Z, such that the first n coordinates of the
865 * x in dom R and x + d in ran R and
971 * with domain and/or range outside of dom and ran.
974 __isl_keep isl_set *dom, __isl_keep isl_set *ran)
981 if (d < 0 || !dom || !ran)
1000 subset = isl_set_is_subset(s, ran);
1022 * ran map_i \cap dom map_j = \emptyset
1029 * ran map_j \subseteq C
1033 * dom map_i \cap ran map_j = \emptyset
1042 isl_set **dom, isl_set **ran, in
973 has_spurious_elements(__isl_keep isl_map *qc, __isl_keep isl_set *dom, __isl_keep isl_set *ran) argument
1041 composability(__isl_keep isl_set *C, int i, isl_set **dom, isl_set **ran, int *left, int *right, __isl_keep isl_map *map) argument
1220 incremental_on_entire_domain(__isl_keep isl_space *space, __isl_keep isl_map *map, isl_set **dom, isl_set **ran, int *left, int *right, __isl_give isl_map **res) argument
1312 isl_set **ran = NULL; local
2164 box_closure_on_domain(__isl_take isl_map *map, __isl_take isl_set *dom, __isl_take isl_set *ran, int with_id) argument
[all...]
H A Disl_factorization.c103 isl_basic_set *ran; local
121 ran = isl_basic_set_universe(space);
122 morph = isl_morph_alloc(dom, ran, Q, U);
H A Disl_space.c1609 isl_space *ran, *dom1, *dom2, *nest; local
1618 ran = isl_space_range(isl_space_copy(left));
1624 return isl_space_join(isl_space_reverse(nest), ran);
3168 isl_space *dom, *ran; local
3178 ran = isl_space_unwrap(isl_space_range(space));
3181 ran_dom = isl_space_domain(isl_space_copy(ran));
3182 ran_ran = isl_space_range(ran);
3185 ran = isl_space_join(isl_space_from_domain(dom_ran),
3188 isl_space_from_range(isl_space_wrap(ran)));
3207 isl_space *dom, *ran; local
3281 isl_space *dom, *ran; local
[all...]
/netbsd-current/external/bsd/jemalloc/dist/test/unit/
H A Dbackground_thread.c90 bool ran = false; local
94 ran = true;
97 if (ran) {
/netbsd-current/external/lgpl3/gmp/dist/tests/mpn/
H A Dt-div.c137 mp_limb_t ran; local
255 ran = urandom ();
296 scratch[itch] = ran;
301 ASSERT_ALWAYS (ran == scratch[itch]);
311 scratch[itch] = ran;
314 ASSERT_ALWAYS (ran == scratch[itch]);
321 scratch[itch] = ran;
327 ASSERT_ALWAYS (ran == scratch[itch]);
332 scratch[itch] = ran;
335 ASSERT_ALWAYS (ran
[all...]
H A Dt-minvert.c66 mp_limb_t ran; local
133 scratch[itch] = ran = urandom ();
141 if (rres != tres || (rres == 1 && !mpz_eq_mpn (tp, n, r)) || ran != scratch[itch])
152 if (ran != scratch[itch])
H A Dt-bdiv.c141 mp_limb_t ran; local
235 ran = random_word (rands);
297 scratch[itch] = ran;
302 ASSERT_ALWAYS (ran == scratch[itch]);
319 scratch[itch] = ran;
324 ASSERT_ALWAYS (ran == scratch[itch]);
336 scratch[itch] = ran;
339 ASSERT_ALWAYS (ran == scratch[itch]);
/netbsd-current/games/sail/
H A Ddr_2.c180 int row, col, dir, total, ran; local
192 ran = range(ship, to);
193 total = -50 * ran;
194 if (ran < 4 && gunsbear(ship, to))
196 if ((ran = portside(ship, to, 1) - fp->dir) == 4 || ran == -4)
/netbsd-current/external/mpl/bind/dist/bin/tests/system/
H A DMakefile.am204 echo pytest is not available, no tests were ran
209 echo Python is not available, no tests were ran
214 echo Perl is not available, no tests were ran
/netbsd-current/games/adventure/
H A Dextern.h112 int ran(int);
H A Dwizard.c156 ran(int range) function
H A Dsubr.c145 if (ran(100) < n)
179 j = 1 + ran(5);
210 j = 1 + ran(j);
264 if (ran(1000) < 95 * (dflag - 2))
884 if (ran(3) == 0 || saved != -1)
/netbsd-current/usr.bin/make/unit-tests/
H A Drecursive.mk21 # 2020-08-06, when make ran in -dL mode, it reported: "Variable am__v_lt_ is
/netbsd-current/external/mit/lua/dist/src/
H A Dlmathlib.c525 ** Project the random integer 'ran' into the interval [0, n].
526 ** Because 'ran' has 2^B possible values, the projection can only be
530 ** 'n'. We then project 'ran' into the interval [0, lim]. If the result
531 ** is inside [0, n], we are done. Otherwise, we try with another 'ran',
534 static lua_Unsigned project (lua_Unsigned ran, lua_Unsigned n, argument
537 return ran & n; /* no bias */
552 while ((ran &= lim) > n) /* project 'ran' into [0..lim] */
553 ran = I2UInt(nextrand(state->s)); /* not inside [0..n]? try again */
554 return ran;
[all...]
/netbsd-current/external/mit/libuv/dist/src/win/
H A Dthread.c55 guard->ran = 1;
69 if (guard->ran) {
/netbsd-current/sys/arch/m68k/m68k/
H A Dcopy.s252 moveq #ENAMETOOLONG,%d0 | ran out of space
291 moveq #ENAMETOOLONG,%d0 | ran out of space
/netbsd-current/external/mit/isl/dist/doc/
H A Dmanual.tex66 \def\range{\mathop{\rm ran}\nolimits}
/netbsd-current/external/gpl2/gmake/dist/
H A Dremake.c803 int ran = file->command_state == cs_running;
815 or won when they ran (i.e. status is 0). */
838 /* Pretend we ran a real touch command, to suppress the
843 to the double-colon entries). Simply setting ran=1 would
854 if ((ran && !file->phony) || touched)
858 /* If -n, -t, or -q and all the commands are recursive, we ran them so
905 if (ran && file->update_status != -1)
916 if (ran && !d->file->phony)
799 int ran = file->command_state == cs_running; local

Completed in 199 milliseconds

12