/freebsd/tests/sys/netpfil/pf/ |
H A D | sctp.sh | 2 # SPDX-License-Identifier: BSD-2-Clause-FreeBSD 32 if ! kldstat -q -m sctp; then 48 j="sctp:basic_v4" 51 vnet_mkjail ${j}a ${epair}a 52 vnet_mkjail ${j}b ${epair}b 54 jexec ${j}a ifconfig ${epair}a 192.0.2.1/24 up 55 jexec ${j}b ifconfig ${epair}b 192.0.2.2/24 up 57 atf_check -s exit:0 -o ignore \ 58 jexec ${j}a ping -c 1 192.0.2.2 60 jexec ${j}a pfctl -e [all …]
|
H A D | rdr.sh | 3 # SPDX-License-Identifier: BSD-2-Clause 41 # a <-----> b <-----> c 54 j="rdr:tcp_v6" 61 vnet_mkjail ${j}a ${epair_one}b 62 vnet_mkjail ${j}b ${epair_one}a ${epair_two}a 63 vnet_mkjail ${j}c ${epair_two}b 66 jexec ${j}b ifconfig lo0 up 67 jexec ${j}b ifconfig ${epair_one}a inet6 2001:db8:a::1/64 up no_dad 68 jexec ${j}b ifconfig ${epair_two}a inet6 2001:db8:b::1/64 up no_dad 71 jexec ${j}a ifconfig lo0 up [all …]
|
/freebsd/crypto/openssh/ |
H A D | smult_curve25519_ref.c | 6 Derived from public domain code by D. J. Bernstein. 13 unsigned int j; in add() local 16 for (j = 0;j < 31;++j) { u += a[j] + b[j]; out[j] = u & 255; u >>= 8; } in add() 22 unsigned int j; in sub() local 25 for (j = 0;j < 31;++j) { in sub() 26 u += a[j] + 65280 - b[j]; in sub() 27 out[j] = u & 255; in sub() 30 u += a[31] - b[31]; in sub() 36 unsigned int j; in squeeze() local 39 for (j = 0;j < 31;++j) { u += a[j]; a[j] = u & 255; u >>= 8; } in squeeze() [all …]
|
/freebsd/usr.sbin/jail/ |
H A D | jail.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1999 Poul-Henning Kamp. 5 * Copyright (c) 2009-2012 James Gritton 48 #define JP_RDTUN(jp) (((jp)->jp_ctltype & CTLFLAG_RDTUN) == CTLFLAG_RDTUN) 61 static void clear_persist(struct cfjail *j); 62 static int update_jail(struct cfjail *j); 63 static int rdtun_params(struct cfjail *j, int dofail); 64 static void running_jid(struct cfjail *j); 65 static void jail_quoted_warnx(const struct cfjail *j, const char *name_msg, [all …]
|
H A D | command.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 61 struct cfjail *j; member 65 int paralimit = -1; 69 static int run_command(struct cfjail *j); 70 static int add_proc(struct cfjail *j, pid_t pid); 71 static void clear_procs(struct cfjail *j); 73 static int term_procs(struct cfjail *j); 74 static int get_user_info(struct cfjail *j, const char *username, 76 static int check_path(struct cfjail *j, const char *pname, const char *path, [all …]
|
H A D | state.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 56 struct cfjail *j, *dj; in dep_setup() local 70 if ((j = TAILQ_FIRST(&cfjails)) && in dep_setup() 71 (p = j->intparams[IP_DEPEND])) { in dep_setup() 72 TAILQ_FOREACH(s, &p->val, tq) { in dep_setup() 73 if (running_jail(s->s, 0) == NULL) { in dep_setup() 75 "\"%s\"", s->s); in dep_setup() 76 j->flags |= JF_FAILED; in dep_setup() 84 TAILQ_FOREACH(j, &cfjails, tq) in dep_setup() [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_torus.c | 3 * 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. 18 * - Redistributions of source code must retain the above 22 * - Redistributions in binary form must reproduce the above 70 * UNKNOWN - Uninitialized endpoint. 71 * SRCSINK - generates or consumes traffic, and thus has an associated LID; 73 * PASSTHRU - Has no associated LID; i.e. a switch port. 75 * If it is possible to communicate in-band with a switch, it will require 92 * ==> This endpoint is the switch port used for in-band communication [all …]
|
/freebsd/contrib/bc/tests/bc/errors/ |
H A D | 26.txt | 1 j(0, 0) 2 j(0, .5) 3 j(", -.5) 4 j(0,,1) 5 j() 6 j(0, 1.#4) 7 j(0 -1.74) 8 j(0, 2) 9 j(0, -2) 10 j(0, 3.2345) [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/predicates/ |
H A D | tst.complex.d.out | 4 ------ 6 i >= 5 || j >= 5 8 j != 10 12 ------ 14 i >= 5 || j >= 5 16 i == 2 (or) j == 2 17 i == 2 (and) j == 2 18 j != 10 19 j == 5 || i == 2 23 ------ [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | avxvnniint8intrin.h | 1 /*===-------- avxvnniint8intrin.h - AVXVNNIINT8 intrinsics -----------=== 5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 *===-----------------------------------------------------------------------=== 25 /// Multiply groups of 4 adjacent pairs of signed 8-bit integers in \a __A with 26 /// corresponding signed 8-bit integers in \a __B, producing 4 intermediate 27 /// signed 16-bit results. Sum these 4 results with the corresponding 28 /// 32-bit integer in \a __W, and store the packed 32-bit results in \a dst. 39 /// A 128-bit vector of [16 x char]. 41 /// A 128-bit vector of [16 x char]. 43 /// A 128-bit vector of [4 x int]. [all …]
|
H A D | avxvnniintrin.h | 1 /*===--------------- avxvnniintrin.h - VNNI intrinsics --------------------=== 22 *===-----------------------------------------------------------------------=== 46 /// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in \a __A with 47 /// corresponding signed 8-bit integers in \a __B, producing 4 intermediate signed 48 /// 16-bit results. Sum these 4 results with the corresponding 32-bit integer 49 /// in \a __S, and store the packed 32-bit results in DST. 54 /// FOR j := 0 to 7 55 /// tmp1.word := Signed(ZeroExtend16(__A.byte[4*j]) * SignExtend16(__B.byte[4*j])) 56 /// tmp2.word := Signed(ZeroExtend16(__A.byte[4*j+1]) * SignExtend16(__B.byte[4*j+1])) 57 /// tmp3.word := Signed(ZeroExtend16(__A.byte[4*j+2]) * SignExtend16(__B.byte[4*j+2])) [all …]
|
H A D | avxvnniint16intrin.h | 1 /*===----------- avxvnniint16intrin.h - AVXVNNIINT16 intrinsics-------------=== 5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 *===-----------------------------------------------------------------------=== 26 /// Multiply groups of 2 adjacent pairs of signed 16-bit integers in \a __A with 27 /// corresponding unsigned 16-bit integers in \a __B, producing 2 intermediate 28 /// signed 16-bit results. Sum these 2 results with the corresponding 29 /// 32-bit integer in \a __W, and store the packed 32-bit results in \a dst. 40 /// A 128-bit vector of [4 x int]. 42 /// A 128-bit vector of [8 x short]. 44 /// A 128-bit vector of [8 x unsigned short]. [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.keysort.d | 34 j = 0; 36 @tour["Ghent", i++, j] = sum(5 - j); 37 j++; 39 @tour["Berlin", i++, j] = sum(5 - j); 40 j++; 42 @tour["London", i++, j] = sum(5 - j); 43 @tour["Dublin", i++, j] = sum(5 - j); 44 j++; 46 @tour["Shanghai", i++, j] = sum(5 - j); 47 j++; [all …]
|
/freebsd/contrib/bmake/mk/ |
H A D | ChangeLog | 1 2025-03-14 Simon J Gerraty <sjg@beast.crufty.net> 3 * install-mk (MK_VERSION): 20250314 5 * meta.stage.mk: StageFiles --subdir: preserve the dir part of 8 2025-03-12 Simon J Gerraty <sjg@beast.crufty.net> 14 2025-0 [all...] |
/freebsd/tools/lua/ |
H A D | template.lua | 1 -- From lua-resty-template (modified to remove external dependencies) 2 --[[ 3 Copyright (c) 2014 - 2020 Aapo Talvensaari 30 ]]-- 54 local _ENV = _ENV -- luacheck: globals _ENV 92 local MINUS = byte("-") 128 s = s - 1 137 if s > 1 and byte(view, s - 1, s - 1) == BSOL then 138 if s > 2 and byte(view, s - 2, s - 2) == BSOL then 161 if byte(root, -1) == SOL then root = sub(root, 1, -2) end [all …]
|
/freebsd/crypto/openssl/test/recipes/04-test_pem_reading_data/ |
H A D | cert-onecolumn.pem | 1 -----BEGIN CERTIFICATE----- 26 j 27 j 112 J 148 J 160 J 216 J 252 J 269 j 313 j [all …]
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | x86-mont.pl | 2 # Copyright 2005-2020 The OpenSSL Project Authors. All Rights Reserved. 20 # First of all non-SSE2 path should be implemented (yes, for now it 21 # performs Montgomery multiplication/convolution only on SSE2-capable 23 # can be unrolled and modulo-scheduled to improve ILP and possibly 24 # moved to 128-bit XMM register bank (though it would require input 28 # 110%(!), rsa1024 one - by 70% and rsa4096 - by 20%:-) 32 # Modulo-scheduling SSE2 loops results in further 15-20% improvement. 33 # Integer-only code [being equipped with dedicated squaring procedure] 45 for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } 52 $j="ecx"; [all …]
|
/freebsd/contrib/ncurses/ncurses/trace/ |
H A D | lib_tracedmp.c | 3 * Copyright 1998-2012,2016 Free Software Foundation, Inc. * 31 * Author: Thomas E. Dickey 1996-on * 32 * and: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 * 37 * lib_tracedmp.c - Tracing/Debugging routines 53 int i, j, n, width; in NCURSES_EXPORT() local 56 for (width = i = 0; i <= win->_maxy; ++i) { in NCURSES_EXPORT() 58 for (j = 0; j <= win->_maxx; ++j) { in NCURSES_EXPORT() 59 if (CharOf(win->_line[i].text[j]) != L(' ') in NCURSES_EXPORT() 60 || AttrOf(win->_line[i].text[j]) != A_NORMAL in NCURSES_EXPORT() 61 || GetPair(win->_line[i].text[j]) != 0) { in NCURSES_EXPORT() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
H A D | zfs_unmount_all_001_pos.ksh | 1 #!/bin/ksh -p 10 # or https://opensource.org/licenses/CDDL-1.0. 37 # Verify that 'zfs unmount -a[f]' succeeds as root. 43 # 4. Verify that 'zfs unmount -a[f]' command succeed, 45 # 5. Verify that 'zfs mount' is identical with 'df -F zfs' 50 set -A fs "$TESTFS" "$TESTFS1" 51 set -A ctr "" "$TESTCTR" "$TESTCTR1" "$TESTCTR/$TESTCTR1" 52 set -A vol "$TESTVOL" "$TESTVOL1" 56 typeset -i i=0 57 typeset -i j=0 [all …]
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | generichash3.c | 21 size_t j; in main() local 36 for (j = 0; j < 1 + i % crypto_generichash_blake2b_BYTES_MAX; ++j) { in main() 37 printf("%02x", (unsigned int) out[j]); in main() 48 for (j = 0; j < crypto_generichash_blake2b_BYTES_MAX; ++j) { in main() 49 printf("%02x", (unsigned int) out[j]); in main() 59 for (j = 0; j < crypto_generichash_blake2b_BYTES_MAX; ++j) { in main() 60 printf("%02x", (unsigned int) out[j]); in main() 71 for (j = 0; j < crypto_generichash_blake2b_BYTES_MAX; ++j) { in main() 72 printf("%02x", (unsigned int) out[j]); in main() 83 for (j = 0; j < crypto_generichash_blake2b_BYTES_MAX; ++j) { in main() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_all_001_pos.ksh | 1 #!/bin/ksh -p 10 # or https://opensource.org/licenses/CDDL-1.0. 36 # Verify that 'zfs mount -a' succeeds as root. 42 # 4. Verify that 'zfs mount -a' command succeed, 44 # 5. Verify that 'zfs mount' is identical with 'df -F zfs' 49 set -A fs "$TESTFS" "$TESTFS1" 50 set -A ctr "" "$TESTCTR" "$TESTCTR/$TESTCTR1" "$TESTCTR1" 51 set -A vol "$TESTVOL" "$TESTVOL1" 55 typeset -i i=0 56 typeset -i j=0 [all …]
|
/freebsd/tools/tools/netrate/juggle/ |
H A D | juggle.c | 1 /*- 75 * Number of message cycles -- into fd1, out of fd2, into fd2, and out of 88 * Number of in-flight messages per cycle. I adjusting this value, be 101 if (sock1 == -1) in udp_create() 102 return (-1); in udp_create() 105 if (sock2 == -1) { in udp_create() 107 return (-1); in udp_create() 125 return (-1); in udp_create() 131 return (-1); in udp_create() 137 return (-1); in udp_create() [all …]
|
/freebsd/contrib/bzip2/ |
H A D | blocksort.c | 2 /*-------------------------------------------------------------*/ 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/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
H A D | zfs_mount_all_001_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 35 # Verify that 'zfs mount -a' succeeds as root. 41 # 4. Verify that 'zfs mount -a' command succeed, 43 # 5. Verify that 'zfs mount' is identical with 'df -F zfs' 49 # CODING_STATUS: COMPLETED (2005-07-07) 57 set -A fs "$TESTFS" "$TESTFS1" 58 set -A ctr "" "$TESTCTR" "$TESTCTR/$TESTCTR1" "$TESTCTR1" 59 set -A vol "$TESTVOL" "$TESTVOL1" 63 typeset -i i=0 64 typeset -i j=0 [all …]
|
/freebsd/contrib/bmake/ |
H A D | ChangeLog | 1 2025-03-08 Simon J Gerraty <sjg@beast.crufty.net> 3 * bsd.after-import.mk: by default generate makefiles 11 2025-02-27 Simon J Gerraty <sjg@beast.crufty.net> 18 2025-01-25 Simon J Gerrat [all...] |