Home
last modified time | relevance | path

Searched refs:UV (Results 1 – 25 of 2322) sorted by relevance

12345678910>>...93

/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/
H A Dutil.h24 extern UV rootof(UV n, UV k);
26 extern UV valuation(UV n, UV k);
27 extern UV logint(UV n, UV b);
49 extern UV binomial(UV n, UV k);
63 extern UV znorder(UV a, UV n);
65 extern UV factorialmod(UV n, UV m);
77 extern UV stirling3(UV n, UV m);
105 extern UV gcdz(UV x, UV y);
146 static UV ipow(UV n, UV k) { in ipow()
162 static UV gcd_ui(UV x, UV y) { in gcd_ui()
[all …]
H A Dfactor.h9 extern int factor_exp(UV n, UV *factors, UV* exponents);
11 extern UV divisor_sum(UV n, UV k);
13 extern int trial_factor(UV n, UV *factors, UV first, UV last);
14 extern int fermat_factor(UV n, UV *factors, UV rounds);
15 extern int holf_factor(UV n, UV *factors, UV rounds);
16 extern int pbrent_factor(UV n, UV *factors, UV maxrounds, UV a);
17 extern int prho_factor(UV n, UV *factors, UV maxrounds);
18 extern int pminus1_factor(UV n, UV *factors, UV B1, UV B2);
19 extern int pplus1_factor(UV n, UV *factors, UV B);
23 extern UV* _divisor_list(UV n, UV *num_divisors);
[all …]
H A Dprime_nth_count.h6 extern UV prime_count(UV low, UV high);
7 extern UV segment_prime_count(UV low, UV high);
8 extern UV nth_prime(UV x);
9 extern UV nth_prime_upper(UV x);
10 extern UV nth_prime_lower(UV x);
11 extern UV nth_prime_approx(UV x);
12 extern UV prime_count_upper(UV x);
16 extern UV twin_prime_count(UV low, UV high);
18 extern UV nth_twin_prime(UV n);
21 extern int sum_primes(UV low, UV high, UV *sum);
[all …]
H A Dramanujan_primes.h6 extern UV* n_ramanujan_primes(UV n);
7 extern UV* n_range_ramanujan_primes(UV nlo, UV nhi);
8 extern UV* ramanujan_primes(UV* first, UV* last, UV low, UV high);
10 extern UV ramanujan_prime_count(UV lo, UV hi);
11 extern UV ramanujan_prime_count_upper(UV n);
12 extern UV ramanujan_prime_count_lower(UV n);
13 extern UV ramanujan_prime_count_approx(UV n);
14 extern UV nth_ramanujan_prime(UV n);
15 extern UV nth_ramanujan_prime_upper(UV n);
16 extern UV nth_ramanujan_prime_lower(UV n);
[all …]
H A Dsieve.h9 extern int sieve_segment_partial(unsigned char* mem, UV startd, UV endd, UV depth);
10 extern int sieve_segment(unsigned char* mem, UV startd, UV endd);
12 extern int next_segment_primes(void* vctx, UV* base, UV* low, UV* high);
15 extern void* array_of_primes_in_range(UV* count, UV beg, UV end);
61 UV d = p/30; in is_prime_in_sieve()
70 static UV next_prime_in_sieve(const unsigned char* sieve, UV p, UV lastp) { in next_prime_in_sieve()
71 UV d, m; in next_prime_in_sieve()
90 UV d, m; in prev_prime_in_sieve()
110 UV l_ = b; \
140 const UV nperw_ = 30*sizeof(UV); /* nums per word */ \
[all …]
H A Dprimality.h6 extern int is_pseudoprime(UV const n, UV a);
7 extern int is_euler_pseudoprime(UV const n, UV a);
9 extern int miller_rabin(UV const n, const UV *bases, int nbases);
10 extern void lucas_seq(UV* U, UV* V, UV* Qk, UV n, IV P, IV Q, UV k);
12 extern int is_almost_extra_strong_lucas_pseudoprime(UV n, UV increment);
17 extern int is_mersenne_prime(UV p);
18 extern int lucas_lehmer(UV p);
19 extern int lucasu(IV* U, IV P, IV Q, UV k);
23 static int is_strong_pseudoprime(UV n, UV base) { in is_strong_pseudoprime()
28 extern int BPSW(UV const n);
[all …]
H A Daks.c89 static double log_binomial(UV n, UV k) in log_binomial()
93 static double log_bern41_binomial(UV r, UV d, UV i, UV j, UV s) in log_bern41_binomial()
100 static int bern41_acceptable(UV n, UV r, UV s) in bern41_acceptable()
103 UV d = (UV) (0.5 * (r-1)); in bern41_acceptable()
104 UV i = (UV) (0.475 * (r-1)); in bern41_acceptable()
115 static UV order(UV r, UV n, UV limit) {
125 static void poly_print(UV* poly, UV r)
137 static void poly_mod_mul(UV* px, UV* py, UV* res, UV r, UV mod) in poly_mod_mul()
182 static void poly_mod_sqr(UV* px, UV* res, UV r, UV mod) in poly_mod_sqr()
258 static UV* poly_mod_pow(UV* pn, UV power, UV r, UV mod) in poly_mod_pow()
[all …]
H A Dmulmod.h24 static INLINE UV _mulmod(UV a, UV b, UV n) { in _mulmod()
43 static INLINE UV _addmod(UV a, UV b, UV n) { in _addmod()
44 UV t = a-n; in _addmod()
71 static INLINE UV _mulmod(UV a, UV b, UV n) { in _mulmod()
72 UV r = 0; in _mulmod()
99 static INLINE UV addmod(UV a, UV b, UV n) { in addmod()
104 static INLINE UV submod(UV a, UV b, UV n) { in submod()
118 static INLINE UV powmod(UV a, UV k, UV n) { in powmod()
119 UV t = 1; in powmod()
129 static INLINE UV powmod(UV a, UV k, UV n) { in powmod()
[all …]
H A Dprime_nth_count.c90 UV* wordptr = (UV*)m; in count_zero_bits()
113 static UV count_segment_maxcount(const unsigned char* sieve, UV base, UV nbytes, UV maxcount, UV* p… in count_segment_maxcount()
262 UV segment_prime_count(UV low, UV high) in segment_prime_count()
332 UV prime_count(UV lo, UV hi) in prime_count()
501 UV nth_prime_upper(UV n) in nth_prime_upper()
542 UV nth_prime_lower(UV n) in nth_prime_lower()
579 UV nth_prime(UV n) in nth_prime()
694 UV twin_prime_count(UV beg, UV end) in twin_prime_count()
752 UV nth_twin_prime(UV n) in nth_twin_prime()
906 int sum_primes128(UV n, UV *hi_sum, UV *lo_sum) { in sum_primes128()
[all …]
H A Dfactor.c295 int trial_factor(UV n, UV *factors, UV f, UV last) in trial_factor()
403 UV divisor_sum(UV n, UV k) in divisor_sum()
587 int pbrent_factor(UV n, UV *factors, UV rounds, UV a) in pbrent_factor()
781 int pminus1_factor(UV n, UV *factors, UV B1, UV B2) in pminus1_factor()
1384 static UV dlp_trial(UV a, UV g, UV p, UV maxrounds) { in dlp_trial()
1443 static UV dlp_prho_uvw(UV a, UV g, UV p, UV n, UV rounds, prho_state_t *s) { in dlp_prho_uvw()
1500 static UV dlp_prho(UV a, UV g, UV p, UV n, UV maxrounds) {
1603 static UV dlp_bsgs(UV a, UV g, UV p, UV n, UV maxent, int race_rho) { in dlp_bsgs()
1711 static UV znlog_solve(UV a, UV g, UV p, UV n) { in znlog_solve()
1756 static UV znlog_ph(UV a, UV g, UV p, UV p1) { in znlog_ph()
[all …]
H A Dsemi_primes.c29 static UV _bs_count(UV n, UV const* const primes, UV lastidx) in _bs_count()
41 static UV _semiprime_count(UV n) in _semiprime_count()
48 UV nprecalc = (UV) pow(n, .75); in _semiprime_count()
101 UV range_semiprime_sieve(UV** semis, UV lo, UV hi) in range_semiprime_sieve()
161 static UV _range_semiprime_count_iterate(UV lo, UV hi) in _range_semiprime_count_iterate()
173 static UV _range_semiprime_selection(UV** semis, UV lo, UV hi)
217 UV semiprime_count(UV lo, UV hi) in semiprime_count()
242 UV semiprime_count_approx(UV n) { in semiprime_count_approx()
267 UV nth_semiprime_approx(UV n) { in nth_semiprime_approx()
303 static UV _next_semiprime(UV n) { in _next_semiprime()
[all …]
H A Dramanujan_primes.c82 UV nth_ramanujan_prime_upper(UV n) { in nth_ramanujan_prime_upper()
119 UV ps = nth_prime_upper( (UV) s ); in nth_ramanujan_prime_upper()
169 UV nth_ramanujan_prime_lower(UV n) { in nth_ramanujan_prime_lower()
202 UV ramanujan_prime_count_lower(UV n) { in ramanujan_prime_count_lower()
233 UV* n_ramanujan_primes(UV n) { in n_ramanujan_primes()
251 UV* n_range_ramanujan_primes(UV nlo, UV nhi) { in n_range_ramanujan_primes()
301 UV nth_ramanujan_prime(UV n) { in nth_ramanujan_prime()
311 UV* ramanujan_primes(UV* first, UV* last, UV low, UV high) in ramanujan_primes()
351 UV ramanujan_prime_count_approx(UV n) in ramanujan_prime_count_approx()
366 UV nth_ramanujan_prime_approx(UV n) in nth_ramanujan_prime_approx()
[all …]
H A Dsieve.c17 static int do_partial_sieve(UV startp, UV endp) { in do_partial_sieve()
134 static UV sieve_prefill(unsigned char* mem, UV startd, UV endd) in sieve_prefill()
249 max_buf = ((max_buf + sizeof(UV) - 1) / sizeof(UV)) * sizeof(UV); in sieve_erat30()
278 int sieve_segment_partial(unsigned char* mem, UV startd, UV endd, UV depth) in sieve_segment_partial()
369 static UV simple_prime_count_upper(UV n) { in simple_prime_count_upper()
379 UV lod;
380 UV hid;
381 UV low;
382 UV high;
477 int next_segment_primes(void* vctx, UV* base, UV* low, UV* high) in next_segment_primes()
[all …]
H A Dutil.c331 UV* range_totient(UV lo, UV hi) { in range_totient()
560 UV rootof(UV n, UV k) { in rootof()
625 UV valuation(UV n, UV k) in valuation()
638 UV logint(UV n, UV b) in logint()
864 UV jordan_totient(UV k, UV n) { in jordan_totient()
1248 UV znorder(UV a, UV n) { in znorder()
1416 UV modinverse(UV a, UV n) { in modinverse()
1435 static UV _powfactor(UV p, UV d, UV m) { in _powfactor()
1804 UV chinese(UV* a, UV* n, UV num, int* status) { in chinese()
2863 static UV _catalan_mult(UV m, UV p, UV n, UV a) { in _catalan_mult()
[all …]
/dports/devel/pecl-uv/uv-0.2.4/tests/
H A D001-constants.phpt6 if (!defined("UV::CHANGE")) {
9 if (!defined("UV::RENAME")) {
12 if (!defined("UV::O_RDONLY")) {
15 if (!defined("UV::O_WRONLY")) {
18 if (!defined("UV::O_RDWR")) {
21 if (!defined("UV::O_CREAT")) {
24 if (!defined("UV::O_EXCL")) {
27 if (!defined("UV::O_TRUNC")) {
30 if (!defined("UV::O_APPEND")) {
36 if (!defined("UV::S_IRWXU")) {
[all …]
/dports/math/p5-Math-Prime-Util-GMP/Math-Prime-Util-GMP-0.52/
H A Dgmp_main.h15 extern void surround_primes(mpz_t n, UV* prev, UV* next, UV skip_width);
21 extern void binomial(mpz_t r, UV n, UV k);
24 extern void multifactorial(mpz_t r, UV n, UV k);
25 extern void factorial_sum(mpz_t r, UV n);
26 extern void subfactorial(mpz_t r, UV n);
27 extern void rising_factorial(mpz_t r, UV x, UV n);
28 extern void falling_factorial(mpz_t r, UV x, UV n);
37 extern uint32_t* partial_sieve(mpz_t start, UV length, UV maxprime);
42 extern UV* sieve_primes(mpz_t low, mpz_t high, UV k, UV *rn);
43 extern UV* sieve_twin_primes(mpz_t low, mpz_t high, UV twin, UV *rn);
[all …]
H A Dpbrent63.c12 static INLINE UV mpz_getuv(mpz_t n) { in mpz_getuv()
13 UV v = mpz_getlimbn(n,0); in mpz_getuv()
15 v |= ((UV)mpz_getlimbn(n,1)) << 32; in mpz_getuv()
19 int pbrent63(mpz_t n, mpz_t f, UV rounds) { in pbrent63()
20 UV facs[2]; in pbrent63()
70 static INLINE UV mulmod(UV a, UV b, UV n) { in mulmod()
80 static INLINE UV addmod(UV a, UV b, UV n) { in addmod()
81 UV t = a-n; in addmod()
94 int uvpbrent63(UV n, UV *factors, UV rounds, UV a) in uvpbrent63()
98 UV f, m, r, rleft, Xi, Xm, Xs; in uvpbrent63()
[all …]
H A Dprime_iterator.c28 static INLINE UV next_prime_in_segment( const unsigned char* sieve, UV segment_start, UV segment_by… in next_prime_in_segment()
30 UV d, m; in next_prime_in_segment()
45 …LINE int is_prime_in_segment( const unsigned char* sieve, UV segment_start, UV segment_bytes, UV p) in is_prime_in_segment()
47 UV d, m, mtab; in is_prime_in_segment()
199 static void mark_primes(unsigned char* s, const unsigned char* send, UV startp, UV endp, UV prime) in mark_primes()
237 max_buf = ((max_buf + sizeof(UV) - 1) / sizeof(UV)) * sizeof(UV); in sieve_erat30()
308 UV p; in prime_iterator_global_startup()
353 static UV pcount(UV n) in pcount()
469 UV i = 7; in _is_trial_prime()
470 UV limit = (UV)sqrt(n); in _is_trial_prime()
[all …]
/dports/cad/opencascade/opencascade-7.6.0/src/NLPlate/
H A DNLPlate_NLPlate.cxx192 const gp_XY &UV = HGPP->UV(); in Iterate() local
215 Plate_D2 D2S(EvaluateDerivative(UV,2,0),EvaluateDerivative(UV,1,1),EvaluateDerivative(UV,0,2)); in Iterate()
223 Plate_D2 D2S(EvaluateDerivative(UV,2,0),EvaluateDerivative(UV,1,1),EvaluateDerivative(UV,0,2)); in Iterate()
225 EvaluateDerivative(UV,1,2),EvaluateDerivative(UV,0,3)); in Iterate()
247 Plate_D2 D2S(EvaluateDerivative(UV,2,0),EvaluateDerivative(UV,1,1),EvaluateDerivative(UV,0,2)); in Iterate()
254 Plate_D2 D2S(EvaluateDerivative(UV,2,0),EvaluateDerivative(UV,1,1),EvaluateDerivative(UV,0,2)); in Iterate()
256 EvaluateDerivative(UV,1,2),EvaluateDerivative(UV,0,3)); in Iterate()
284 gp_XY UV = HGPP->UV(); in ConstraintsSliding() local
306 UV.SetX(UV.X()+sol(0)); in ConstraintsSliding()
307 UV.SetY(UV.Y()+sol(1)); in ConstraintsSliding()
[all …]
/dports/mail/thunderbird-dictionaries/dictionaries/spell-pl.xpi/
H A Dpl.dic15 abecad�o/UV
504 akonto/UV
2242 auto/UV
2422 bagno/UV
3084 ber�o/UV
6760 c�o/UV
6854 cudo/UV
8301 demo/UV
8865 dno/UV
34618 oko/UV
[all …]
/dports/devel/p5-AnyEvent/AnyEvent-7.17/lib/AnyEvent/Impl/
H A DUV.pm20 package AnyEvent::Impl::UV;
23 use UV 0.24;
99 $slave->{mode} = $arg{poll} eq "r" ? UV::READABLE : UV::WRITABLE;
129 UV::close $h->{w};
136 UV::timer_init,
137 \&UV::idle_start,
138 \&UV::idle_stop,
147 UV::timer_init,
154 sub now { UV::now }
157 UV::run UV::RUN_ONCE;
[all …]
/dports/games/stuntrally/stuntrally-2.6.1/data/compositor/dof/
H A Ddof_blurV.glsl9 varying vec2 UV;
14 UV = uv0;
19 varying vec2 UV;
29 colour += texture2D(scene, vec2(UV.x, UV.y - 4.0*blurSize)) * 1.0/25.0;
30 colour += texture2D(scene, vec2(UV.x, UV.y - 3.0*blurSize)) * 2.0/25.0;
31 colour += texture2D(scene, vec2(UV.x, UV.y - 2.0*blurSize)) * 3.0/25.0;
32 colour += texture2D(scene, vec2(UV.x, UV.y - blurSize)) * 4.0/25.0;
33 colour += texture2D(scene, vec2(UV.x, UV.y)) * 5.0/25.0;
34 colour += texture2D(scene, vec2(UV.x, UV.y + blurSize)) * 4.0/25.0;
35 colour += texture2D(scene, vec2(UV.x, UV.y + 2.0*blurSize)) * 3.0/25.0;
[all …]
/dports/devel/libsimdpp/libsimdpp-2.1-400-g9dac213d/test/insn/
H A Dmath_shift.cc47 using UV = uint8<B>; in test_math_shift_int8_n() typedef
55 TestData<UV> shift; in test_math_shift_int8_n()
60 TestData<UV> data; in test_math_shift_int8_n()
73 TEST_PUSH_ALL_COMB_OP2_SEPARATE_T(tc, UV, UV, UV, shift_l, data, shift); in test_math_shift_int8_n()
76 TEST_PUSH_ALL_COMB_OP2_SEPARATE_T(tc, UV, UV, UV, shift_r, data, shift); in test_math_shift_int8_n()
106 TestData<UV> data; in test_math_shift_int16_n()
122 TEST_PUSH_ALL_COMB_OP2_SEPARATE_T(tc, UV, UV, UV, shift_l, data, shift); in test_math_shift_int16_n()
125 TEST_PUSH_ALL_COMB_OP2_SEPARATE_T(tc, UV, UV, UV, shift_r, data, shift); in test_math_shift_int16_n()
155 TestData<UV> data; in test_math_shift_int32_n()
171 TEST_PUSH_ALL_COMB_OP2_SEPARATE_T(tc, UV, UV, UV, shift_l, data, shift); in test_math_shift_int32_n()
[all …]
/dports/converters/p5-Sereal-Decoder/Sereal-Decoder-4.018/
H A Dsrl_reader_varint.h25 SRL_STATIC_INLINE UV
28 UV length = 0; in srl_varint_length()
37 SRL_STATIC_INLINE UV
40 UV uv= 0; in srl_read_varint_uv_safe()
102 SRL_STATIC_INLINE UV
105 UV uv= 0; in srl_read_varint_uv_nocheck()
119 SRL_STATIC_INLINE UV
144 SRL_STATIC_INLINE UV
147 UV uv; in srl_read_varint_u64_nocheck()
157 SRL_STATIC_INLINE UV
[all …]
/dports/converters/p5-Sereal-Encoder/Sereal-Encoder-4.018/
H A Dsrl_reader_varint.h25 SRL_STATIC_INLINE UV
28 UV length = 0; in srl_varint_length()
37 SRL_STATIC_INLINE UV
40 UV uv= 0; in srl_read_varint_uv_safe()
102 SRL_STATIC_INLINE UV
105 UV uv= 0; in srl_read_varint_uv_nocheck()
119 SRL_STATIC_INLINE UV
144 SRL_STATIC_INLINE UV
147 UV uv; in srl_read_varint_u64_nocheck()
157 SRL_STATIC_INLINE UV
[all …]

12345678910>>...93