Home
last modified time | relevance | path

Searched +full:j +full:- +full:to +full:- +full:k (Results 1 – 25 of 1056) sorted by relevance

12345678910>>...43

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_torus.c3 * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
5 * Copyright (c) 2009-2011 ZIH, TU Dresden, Federal Republic of Germany. All rights reserved.
6 * Copyright (c) 2010-2012 Mellanox Technologies LTD. All rights reserved.
8 * This software is available to you under a choice of one of two
9 * licenses. You may choose to be licensed under the terms of the GNU
18 * - Redistributions of source code must retain the above
22 * - Redistributions in binary form must reproduce the above
28 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
70 * UNKNOWN - Uninitialized endpoint.
71 * SRCSINK - generates or consumes traffic, and thus has an associated LID;
[all …]
/freebsd/contrib/libdivsufsort/lib/
H A Ddivsufsort.c3 * Copyright (c) 2003-2008 Yuta Mori All Rights Reserved.
5 * Permission is hereby granted, free of charge, to any person
7 * files (the "Software"), to deal in the Software without
8 * restriction, including without limitation the rights to use,
10 * copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following
18 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
33 /*- Private Functions -*/
46 saidx_t i, j, k, t, m, bufsize; in sort_typeBstar() local
60 for(i = n - 1, m = n, c0 = T[n - 1]; 0 <= i;) { in sort_typeBstar()
[all …]
/freebsd/contrib/gdtoa/
H A Dgdtoa.c8 Permission to use, copy, modify, and distribute this software and
14 not be used in advertising or publicity pertaining to
18 LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
29 /* Please send bug reports to David M. Gay (dmg at acm dot org,
30 * with " at " changed at "@" and " dot " changed to "."). */
41 int i, k; local
46 k = 0;
49 k++;
52 if (!k)
53 k = 1;
[all …]
H A Ddtoa.c8 Permission to use, copy, modify, and distribute this software and
14 not be used in advertising or publicity pertaining to
18 LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
29 /* Please send bug reports to David M. Gay (dmg at acm dot org,
30 * with " at " changed at "@" and " dot " changed to "."). */
34 /* dtoa for IEEE arithmetic (dmg): convert double to ASCII string.
36 * Inspired by "How to Print Floating-Point Numbers Accurately" by
37 * Guy L. Steele, Jr. and Jon L. White [Proc. ACM SIGPLAN '90, pp. 112-126].
41 * to determine k = floor(log10(d)). We scale relevant
42 * quantities using O(log2(k)) rather than O(k) multiplications.
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Ddb_iterator.c2 * Copyright 2018-2022,2023 Thomas E. Dickey *
3 * Copyright 2006-2016,2017 Free Software Foundation, Inc. *
5 * Permission is hereby granted, free of charge, to any person obtaining a *
7 * "Software"), to deal in the Software without restriction, including *
8 * without limitation the rights to use, copy, modify, merge, publish, *
10 * copies of the Software, and to permit persons to whom the Software is *
11 * furnished to do so, subject to the following conditions: *
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
25 * holders shall not be used in advertising or otherwise to promote the *
79 && (S_ISDIR(sb->st_mode) in check_existence()
[all …]
H A Dalloc_ttype.c2 * Copyright 2018-2022,2023 Thomas E. Dickey *
3 * Copyright 1999-2016,2017 Free Software Foundation, Inc. *
5 * Permission is hereby granted, free of charge, to any person obtaining a *
7 * "Software"), to deal in the Software without restriction, including *
8 * without limitation the rights to use, copy, modify, merge, publish, *
10 * copies of the Software, and to permit persons to whom the Software is *
11 * furnished to do so, subject to the following conditions: *
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
25 * holders shall not be used in advertising or otherwise to promote the *
31 * Author: Thomas E. Dickey <dickey@clark.net> 1999-on *
[all …]
/freebsd/tests/sys/aio/
H A Dlio_kqueue_test.c1 /*-
14 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * Note: it is a good idea to run this against a physical drive to
59 int i, result, run, error, j, k, max_queue_per_proc; in main() local
105 for (j = 0; j < LIO_MAX; j++) { in main()
106 lio[j] = in main()
109 k = (iocbs_per_lio * j) + i; in main()
110 lio[j][i] = iocb[k] = in main()
112 iocb[k]->aio_nbytes = sizeof(buffer); in main()
[all …]
/freebsd/tests/sys/netpfil/pf/
H A Dkillstate.sh2 # SPDX-License-Identifier: BSD-2-Clause
16 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33 jail=${1:-alcatraz}
34 ip=${2:-192.0.2.2}
36 jexec ${jail} pfctl -ss | grep icmp | grep ${ip}
41 jexec alcatraz pfctl -ss | grep icmp | grep 2001:db8::2
62 jexec alcatraz pfctl -e
69 atf_check -s exit:0 -o ignore ${common_dir}/pft_ping.py \
70 --sendif ${epair}a \
[all …]
/freebsd/contrib/bzip2/
H A Dblocksort.c2 /*-------------------------------------------------------------*/
3 /*--- Block sorting machinery ---*/
4 /*--- blocksort.c ---*/
5 /*-------------------------------------------------------------*/
7 /* ------------------------------------------------------------------
9 lossless, block-sorting data compression.
12 Copyright (C) 1996-2019 Julian Seward <jseward@acm.org>
19 ------------------------------------------------------------------ */
24 /*---------------------------------------------*/
25 /*--- Fallback O(N log(N)^2) sorting ---*/
[all …]
/freebsd/sys/net80211/
H A Dieee80211_crypto_wep.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
88 wep_attach(struct ieee80211vap *vap, struct ieee80211_key *k) in wep_attach() argument
95 vap->iv_stats.is_crypto_nomem++; in wep_attach()
99 ctx->wc_vap = vap; in wep_attach()
100 ctx->wc_ic = vap->iv_ic; in wep_attach()
101 net80211_get_random_bytes(&ctx->wc_iv, sizeof(ctx->wc_iv)); in wep_attach()
[all …]
H A Dieee80211_crypto_tkip.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
109 tkip_attach(struct ieee80211vap *vap, struct ieee80211_key *k) in tkip_attach() argument
116 vap->iv_stats.is_crypto_nomem++; in tkip_attach()
120 ctx->tc_vap = vap; in tkip_attach()
126 tkip_detach(struct ieee80211_key *k) in tkip_detach() argument
128 struct tkip_ctx *ctx = k->wk_private; in tkip_detach()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
82 end = j = k = 0;
86 tick-1ms
87 /j < i && end == 0/
89 command[i + k].str = command[j].str;
90 command[i + k].substr = command[j].substr;
91 command[i + k].haspos = 1;
92 command[i + k].position = -400;
93 k++;
[all …]
/freebsd/lib/libusbhid/
H A Dusage.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
19 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
60 int i, j; in dump_hid_table() local
64 for (j = 0; j < pages[i].pagesize; j++) { in dump_hid_table()
65 printf("\t%d\t%s\n", pages[i].page_contents[j].usage, in dump_hid_table()
66 pages[i].page_contents[j].name); in dump_hid_table()
97 no = -1; in hid_init()
112 if (curpage->pagesize >= curpage->pagesizemax) { in hid_init()
[all …]
/freebsd/contrib/byacc/
H A Doutput.c63 for (p = list; p; p = p->next) in puts_param_types()
65 size_t len_type = strlen(p->type); in puts_param_types()
66 fprintf(fp, "%s%s%s%s%s", p->type, in puts_param_types()
67 (((len_type != 0) && (p->type[len_type - 1] == '*')) in puts_param_types()
70 p->name, p->type2, in puts_param_types()
71 ((more || p->next) ? ", " : "")); in puts_param_types()
86 for (p = list; p; p = p->next) in puts_param_names()
88 fprintf(fp, "%s%s", p->name, in puts_param_names()
89 ((more || p->next) ? ", " : "")); in puts_param_names()
127 fprintf(fp, "#define %-10s %s%s\n", name, symbol_prefix, name + 2); in define_prefixed()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Donoffs_001_pos.ksh1 #!/bin/ksh -p
5 # The contents of this file are subject to the terms of the
10 # or https://opensource.org/licenses/CDDL-1.0.
25 # Use is subject to license terms.
37 # Setting a valid value to atime, readonly, setuid or zoned on file
49 log_must zfs mount -a
54 set -A props "atime" "readonly" "setuid"
60 set -A values "on" "off"
63 set -A dataset "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTCTR" "$TESTPOOL/$TESTVOL"
65 set -A dataset "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTCTR"
[all …]
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dsha1-mips.pl2 # Copyright 2009-2020 The OpenSSL Project Authors. All Rights Reserved.
20 # to deploy lwl/lwr pair to load unaligned input. One could have
21 # vectorized Xupdate on MIPSIII/IV, but the goal was to code MIPS32-
23 # little-endian platforms...
32 # one picks the latter, it's possible to arrange code in ABI neutral
33 # manner. Therefore let's stick to NUBI register layout:
43 # - never ever touch $tp, "thread pointer", former $gp;
44 # - copy return value to $t0, former $v0 [or to $a0 if you're adapting
46 # - on O32 populate $a4-$a7 with 'lw $aN,4*N($sp)' if necessary;
82 $big_endian=(`echo MIPSEB | $ENV{CC} -E -`=~/MIPSEB/)?0:1 if ($ENV{CC});
[all …]
H A Dsha1-ppc.pl2 # Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved.
22 # anybody know if pre-POWER3 can sustain unaligned load?
24 # -m64 -m32
25 # ----------------------------------
26 # PPC970,gcc-4.0.0 +76% +59%
27 # Power6,xlc-7 +68% +33%
55 ( $xlate="${dir}ppc-xlate.pl" and -f $xlate ) or
56 ( $xlate="${dir}../../perlasm/ppc-xlate.pl" and -f $xlate) or
57 die "can't locate ppc-xlate.pl";
65 $K ="r0";
[all …]
/freebsd/contrib/ntp/util/
H A Dntp-keygen.c2 * Program to generate cryptographic keys for ntp clients and servers
7 * followed by a type-specific descriptive label and PEM-encoded data
18 * MD5 (128-bit) keys used to compute message digests in symmetric
35 * RSA: RSA-MD2, RSA-MD5, RSA-SHA, RSA-SHA1, RSA-MDC
853 int i, j; gen_md5() local
1153 BIGNUM *b, *r, *k, *u, *v, *w; /* BN temp */ gen_iffkey() local
1332 BIGNUM *u, *v, *g, *k, *r, *y; /* BN temps */ gen_gqkey() local
1561 int i, j, n; gen_mvkey() local
[all...]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Davxneconvertintrin.h1 /*===-------------- avxneconvertintrin.h - AVXNECONVERT --------------------===
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *===-----------------------------------------------------------------------===
28 /// Convert scalar BF16 (16-bit) floating-point element
29 /// stored at memory locations starting at location \a __A to a
30 /// single-precision (32-bit) floating-point, broadcast it to packed
31 /// single-precision (32-bit) floating-point elements, and store the results in
40 /// This intrinsic corresponds to the \c VBCSTNEBF162PS instruction.
43 /// A pointer to a 16-bit memory location. The address of the memory
44 /// location does not have to be aligned.
[all …]
/freebsd/lib/libutil/
H A Dhexdump.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
8 * to the University of California by American Telephone and Telegraph
21 * may be used to endorse or promote products derived from this software
25 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
44 int i, j, k; in hexdump() local
68 for (j = 0; j < cols; j++) { in hexdump()
69 k = i + j; in hexdump()
70 if (k < length) in hexdump()
[all …]
/freebsd/sys/dev/rtwn/rtl8192e/
H A Dr92e_rom.c1 /*-
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
63 struct r92e_softc *rs = sc->sc_priv; in r92e_parse_rom()
66 int i, j, k; in r92e_parse_rom() local
68 sc->thermal_meter = rom->thermal_meter; in r92e_parse_rom()
69 rs->crystalcap = RTWN_GET_ROM_VAR(rom->crystalcap, in r92e_parse_rom()
72 for (i = 0; i < sc->ntxchains; i++) { in r92e_parse_rom()
73 struct r92e_tx_pwr_2g *pwr_2g = &rom->tx_pwr[i].pwr_2g; in r92e_parse_rom()
75 &rom->tx_pwr[i].pwr_diff_2g; in r92e_parse_rom()
[all …]
/freebsd/share/doc/psd/01.cacm/
H A Dref.bib5 %J Comm. Assoc. Comp. Mach.
9 %P 793-799, 803
10 %K qed
12 %K cstr
20 %J Comm. Assoc. Comp. Mach.
21 %K acm cacm
23 %P 151-157
26 %T U\s-2NIX\s0 Time-Sharing System: Document Preparation
27 %K unix bstj
30 %A J. F. Ossanna
[all …]
/freebsd/sys/dev/rtwn/rtl8812a/
H A Dr12a_rom.c1 /*-
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
63 struct r12a_softc *rs = sc->sc_priv; in r12a_parse_rom_common()
65 int i, j, k; in r12a_parse_rom_common() local
67 sc->thermal_meter = rom->thermal_meter; in r12a_parse_rom_common()
68 rs->crystalcap = RTWN_GET_ROM_VAR(rom->crystalcap, in r12a_parse_rom_common()
70 rs->tx_bbswing_2g = RTWN_GET_ROM_VAR(rom->tx_bbswing_2g, 0); in r12a_parse_rom_common()
71 rs->tx_bbswing_5g = RTWN_GET_ROM_VAR(rom->tx_bbswing_5g, 0); in r12a_parse_rom_common()
73 for (i = 0; i < sc->ntxchains; i++) { in r12a_parse_rom_common()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dinterval_map.h1 //===--------- interval_map.h - A sorted interval map -----------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
24 /// Maps intervals to keys with optional coalescing.
27 /// collection to make it easy to swap over in the future if we choose
28 /// to.
63 iterator find(KeyT K) { in find() argument
65 if (empty() || K < begin()->first.first || in find()
66 K >= std::prev(end())->first.second) in find()
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Dcrypto-des3.c2 * Copyright (c) 1997 - 2008 Kungliga Tekniska Högskolan
18 * may be used to endorse or promote products derived from this software
22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
44 DES_cblock *k = key->keyvalue.data; in DES3_random_key() local
46 krb5_generate_random_block(k, 3 * sizeof(DES_cblock)); in DES3_random_key()
47 DES_set_odd_parity(&k[0]); in DES3_random_key()
48 DES_set_odd_parity(&k[1]); in DES3_random_key()
49 DES_set_odd_parity(&k[2]); in DES3_random_key()
50 } while(DES_is_weak_key(&k[0]) || in DES3_random_key()
[all …]

12345678910>>...43