Home
last modified time | relevance | path

Searched refs:nth (Results 1 – 25 of 59) sorted by relevance

123

/netbsd-src/external/lgpl3/gmp/dist/tests/mpz/
H A Dt-root.c30 check_one (mpz_t root1, mpz_t x2, unsigned long nth, int res, int i) in check_one() argument
42 mpz_rootrem (root2, rem2, x2, nth); in check_one()
46 mpz_pow_ui (temp, root1, nth); in check_one()
58 fprintf (stderr, "nth: %lu ,res: %i\n", nth, res); in check_one()
62 if (nth > 1 && mpz_cmp_ui (temp, 1L) > 0 && ! mpz_perfect_power_p (temp)) in check_one()
67 fprintf (stderr, "nth: %lu\n", nth); in check_one()
71 if (nth <= 10000 && mpz_sgn(x2) > 0) /* skip too expensive test */ in check_one()
74 mpz_pow_ui (temp2, temp2, nth); in check_one()
83 fprintf (stderr, "nth: %lu\n", nth); in check_one()
102 unsigned long nth; in main() local
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mpz/
H A Droot.c36 mpz_root (mpz_ptr root, mpz_srcptr u, unsigned long int nth) in mpz_root() argument
45 if (UNLIKELY (us < 0 && (nth & 1) == 0)) in mpz_root()
50 if (UNLIKELY (nth == 0)) in mpz_root()
61 rootn = (un - 1) / nth + 1; in mpz_root()
73 if (nth == 1) in mpz_root()
80 remn = mpn_rootrem (rootp, NULL, up, un, (mp_limb_t) nth); in mpz_root()
H A Drootrem.c36 mpz_rootrem (mpz_ptr root, mpz_ptr rem, mpz_srcptr u, unsigned long int nth) in mpz_rootrem() argument
45 if (UNLIKELY (us < 0 && (nth & 1) == 0)) in mpz_rootrem()
50 if (UNLIKELY (nth == 0)) in mpz_rootrem()
62 rootn = (un - 1) / nth + 1; in mpz_rootrem()
79 if (nth == 1) in mpz_rootrem()
86 remn = mpn_rootrem (rootp, remp, up, un, (mp_limb_t) nth); in mpz_rootrem()
/netbsd-src/sys/kern/
H A Dsubr_fault.c52 volatile unsigned long nth; member
60 .nth = FAULT_NTH_MIN,
95 if (__predict_false(cnt % atomic_load_relaxed(&f->nth) == 0)) { in fault_inject()
124 if (args->nth < FAULT_NTH_MIN) in fault_ioc_enable()
135 atomic_store_relaxed(&fault_global.nth, args->nth); in fault_ioc_enable()
151 atomic_store_relaxed(&f->nth, args->nth); in fault_ioc_enable()
/netbsd-src/sys/dev/pci/cxgb/
H A Dcxgb_lro.c250 struct tcphdr *th, *nth = (struct tcphdr *)(nih + 1); in lro_update_session() local
251 uint32_t seq = ntohl(nth->th_seq); in lro_update_session()
252 int plen, tcpiphlen, olen = (nth->th_off << 2) - sizeof (*nth); in lro_update_session()
269 uint32_t *nptr = (uint32_t *)(nth + 1); in lro_update_session()
278 th->th_ack = nth->th_ack; in lro_update_session()
279 th->th_win = nth->th_win; in lro_update_session()
281 tcpiphlen = (nth->th_off << 2) + sizeof (*nih); in lro_update_session()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/
H A Dnds32-utils.c67 parallel_element (rtx parallel_rtx, int nth) in parallel_element() argument
74 if (nth >= 0) in parallel_element()
76 if (nth >= len) in parallel_element()
79 return XVECEXP (parallel_rtx, 0, nth); in parallel_element()
83 if (len + nth < 0) in parallel_element()
86 return XVECEXP (parallel_rtx, 0, len + nth); in parallel_element()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nds32/
H A Dnds32-utils.cc67 parallel_element (rtx parallel_rtx, int nth) in parallel_element() argument
74 if (nth >= 0) in parallel_element()
76 if (nth >= len) in parallel_element()
79 return XVECEXP (parallel_rtx, 0, nth); in parallel_element()
83 if (len + nth < 0) in parallel_element()
86 return XVECEXP (parallel_rtx, 0, len + nth); in parallel_element()
/netbsd-src/external/gpl2/texinfo/dist/util/
H A Dtexi-docstring-magic.el175 (let ((regexp (nth 0 test))
176 (predicate (nth 1 test))
177 (replace (nth 2 test))
260 (nth 1 def))))
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/misc/
H A Dpo-mode.el1994 (if (buffer-name (nth 1 slot))
1996 (let ((overlay (nth 2 slot)))
2005 (goto-char (nth 0 slot))
2006 (pop-to-buffer (nth 1 slot))
2007 (let ((overlay (nth 2 slot)))
2021 (pop-to-buffer (nth 1 slot))
2022 (let ((overlay (nth 2 slot)))
2082 (entry-marker (nth 0 back-pointer))
2126 (entry-marker (nth 0 back-pointer))
2127 (overlay-info (nth 2 back-pointer))
[all …]
H A Dpo-compat.el169 (setq short-read (< (nth 1 pair) 4096)))))
/netbsd-src/sys/sys/
H A Dfault.h52 unsigned long nth; member
/netbsd-src/external/bsd/libc++/dist/libcxxrt/src/
H A Dlibelftc_dem_gnu3.c2489 long nth; in cpp_demangle_read_subst() local
2595 if ((nth = strtol(ddata->cur, (char **) NULL, 36)) == 0 && in cpp_demangle_read_subst()
2600 ++nth; in cpp_demangle_read_subst()
2605 assert(nth > 0); in cpp_demangle_read_subst()
2607 return (cpp_demangle_get_subst(ddata, nth)); in cpp_demangle_read_subst()
2807 long nth; in cpp_demangle_read_tmpl_param() local
2819 if ((nth = strtol(ddata->cur, (char **) NULL, 36)) == 0 && in cpp_demangle_read_tmpl_param()
2824 ++nth; in cpp_demangle_read_tmpl_param()
2829 assert(nth > 0); in cpp_demangle_read_tmpl_param()
2831 return (cpp_demangle_get_tmpl_param(ddata, nth)); in cpp_demangle_read_tmpl_param()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/res/
H A Ddefault_ddoc_theme.ddoc478 .ddoc .code_sample div .code_lines li:nth-child(n+10)::before {
483 .ddoc .code_sample div .code_lines li:nth-child(n+100)::before {
530 .ddoc .code_lines li:nth-child(n+10) {
534 .ddoc .code_lines li:nth-child(n+10)::before {
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddsymbol.c1449 size_t nth; member
1456 if (n == p->nth) in getNthSymbolDg()
1463 Dsymbol *ScopeDsymbol::getNth(Dsymbols *members, size_t nth, size_t *) in getNth() argument
1465 GetNthSymbolCtx ctx = { nth, NULL }; in getNth()
H A Ddsymbol.h321 static Dsymbol *getNth(Dsymbols *members, size_t nth, size_t *pn = NULL);
H A Dmtype.h947 static Parameter *getNth(Parameters *parameters, d_size_t nth, d_size_t *pn = NULL);
/netbsd-src/external/bsd/unbound/dist/iterator/
H A Diter_utils.c400 int got_num = 0, low_rtt = 0, swap_to_front, rtt_band = RTT_BAND, nth; in iter_filter_order() local
426 nth = nth_rtt(dp->result_list, num_results, in iter_filter_order()
428 if(nth > 0) { in iter_filter_order()
429 rtt_band = nth - low_rtt; in iter_filter_order()
/netbsd-src/external/lgpl3/gmp/dist/demos/
H A Dpexpr.c1116 unsigned long int nth = mpz_get_ui (rhs); in mpz_eval_expr() local
1122 nth = ~(unsigned long int) 0; in mpz_eval_expr()
1124 mpz_root (r, lhs, nth); in mpz_eval_expr()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dmtype.h577 static Parameter *getNth(Parameters *parameters, d_size_t nth);
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
H A Dsorting.d3110 Range)(Range r, size_t nth)
3115 if (nth >= r.length) return r[0 .. r.length];
3116 auto ret = r[0 .. nth];
3129 topNImpl!(binaryFun!less)(r, nth, useSampling);
/netbsd-src/sys/dev/scsipi/
H A Dses.c1210 ses_getthdr(uint8_t *buffer, int amt, int nth, SesThdr *thp) in ses_getthdr() argument
1225 off += buffer[off+3] + 4 + (nth * 4); in ses_getthdr()
/netbsd-src/external/gpl2/send-pr/dist/send-pr/
H A Dsend-pr-el.in444 (gnats::nth-word
708 (defun gnats::nth-word (string &optional elem)
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Dsorting.d3424 Range)(Range r, size_t nth)
3430 if (nth >= r.length) return r[0 .. r.length];
3431 auto ret = r[0 .. nth];
3445 topNImpl!(binaryFun!less)(r, nth, useSampling);
/netbsd-src/games/fortune/datfiles/
H A Dfortunes.sp.ok1704 nth
/netbsd-src/external/lgpl3/gmp/dist/
H A DNEWS701 * Improved nth root computations.
888 * Optimization for nth root functions (mpz_root, mpz_perfect_power_p).

123