/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/ |
H A D | mmp_exported_import.ksh | 1 #!/bin/ksh -p 27 # 3. Verify multihost=off and hostids differ (no activity check) 30 # 6. Verify multihost=on and hostids differ (no activity check) 56 for opt in "" "-f"; do 61 # 3. Verify multihost=off and hostids differ (no activity check) 62 for opt in "" "-f"; do 73 for opt in "" "-f"; do 82 for opt in "" "-f"; do 87 # 6. Verify multihost=on and hostids differ (no activity check) 88 for opt in "" "-f"; do [all …]
|
H A D | mmp_inactive_import.ksh | 1 #!/bin/ksh -p 27 # 3. Verify multihost=off and hostids differ (no activity check) 30 # 6. Verify multihost=on and hostids differ (activity check) 59 for opt in "" "-f"; do 60 log_must zpool export -F $TESTPOOL 64 # 3. Verify multihost=off and hostids differ (no activity check) 65 log_must zpool export -F $TESTPOOL 69 log_must import_no_activity_check $TESTPOOL "-f" 72 log_must zpool export -F $TESTPOOL 75 log_must import_no_activity_check $TESTPOOL "-f" [all …]
|
/freebsd-src/contrib/mtree/ |
H A D | specspec.c | 3 /*- 4 * Copyright (c) 2003 Poul-Henning Kamp 49 (((a)->flags & (c)) && ((b)->flags & (c)) && ((a)->d) != ((b)->d)) 51 (((a)->flags & (c)) && ((b)->flags & (c)) && strcmp((a)->d,(b)->d)) 53 (((a)->flags & (c)) && ((b)->flags & (c)) && memcmp(&(a)->d,&(b)->d, sizeof (a)->d)) 61 printf("%s%s %s", path, n->name, inotype(nodetoino(n->type))); in shownode() 63 printf(" cksum=%lu", n->cksum); in shownode() 65 printf(" gid=%d", n->st_gid); in shownode() 67 gr = getgrgid(n->st_gid); in shownode() 69 printf(" gid=%d", n->st_gid); in shownode() [all …]
|
/freebsd-src/contrib/ofed/opensm/opensm/ |
H A D | osm_inform.c | 2 * Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved. 3 * Copyright (c) 2002-2015 Mellanox Technologies LTD. All rights reserved. 4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 18 * - Redistributions of source code must retain the above 22 * - Redistributions in binary form must reproduce the above 91 p_list_item = cl_qlist_head(&p_subn->sa_infr_list); in dump_all_informs() 92 while (p_list_item != cl_qlist_end(&p_subn->sa_infr_list)) { in dump_all_informs() 94 &((osm_infr_t *) p_list_item)-> in dump_all_informs() 108 ib_inform_info_t *p_ii_rec = &p_infr_rec->inform_record.inform_info; in match_inf_rec() 109 ib_inform_info_t *p_ii = &p_infr->inform_record.inform_info; in match_inf_rec() [all …]
|
/freebsd-src/contrib/netbsd-tests/ipf/ |
H A D | t_filter_exec.sh | 28 # (C)opyright 1993-1996 by Darren Reed. 44 output=-x 50 atf_check -x "echo \"$rule\" | ipftest -F \ 51 $infmt $output -Rbr - -i in $args >>out" 52 echo "--------" >>out 55 diff -u exp out || atf_fail "results differ" 69 output=-x 75 atf_check -o save:out ipftest -F $infmt $output -Rbr reg -i in $args 76 echo "--------" >>out 78 diff -u exp out || atf_fail "results differ" [all …]
|
H A D | t_logging.sh | 28 # (C)opyright 1993-1996 by Darren Reed. 38 case `uname -s` in 49 atf_check -o ignore -x \ 50 "echo $rule | ipftest -br - -F $2 -i in -l logout" 52 atf_check -o save:save -x "TZ=$GMT ipmon -P /dev/null -f logout" 54 echo "--------" >>out 56 atf_check -o save:save -x "TZ=$GMT ipmon -P /dev/null -bf logout" 58 echo "--------" >>out.b 61 atf_check -o ignore ipftest -br reg -F $2 -i in -l logout 63 atf_check -o save:save -x "TZ=$GMT ipmon -P /dev/null -f logout" [all …]
|
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
H A D | DifferenceEngine.cpp | 1 //===-- DifferenceEngine.cpp - Structural function/module comparison ------===// 5 // SPDX-Licens [all...] |
/freebsd-src/crypto/openssl/test/ |
H A D | exptest.c | 2 * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. 127 * in non-constant-time only. in test_mod_exp_zero() 178 c = (c % BN_BITS) - BN_BITS2; in test_mod_exp() 185 c = (c % BN_BITS) - BN_BITS2; in test_mod_exp() 192 c = (c % BN_BITS) - BN_BITS2; in test_mod_exp() 209 TEST_info("simple and mont results differ"); in test_mod_exp() 211 TEST_info("simple and mont const time results differ"); in test_mod_exp() 213 TEST_info("simple and recp results differ"); in test_mod_exp() 256 * Currently only 1024-bit factor size is supported. in test_mod_exp_x2() 297 TEST_info("simple and mont const time x2 (#1) results differ"); in test_mod_exp_x2() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/usb/ |
H A D | gr-udc.txt | 11 - name : Should be "GAISLER_USBDC" or "01_021" 13 - reg : Address and length of the register set for the device 15 - interrupts : Interrupt numbers for this device. Either one interrupt number 21 - epobufsizes : Array of buffer sizes for OUT endpoints when they differ 27 - epibufsizes : Array of buffer sizes for IN endpoints when they differ
|
/freebsd-src/usr.bin/diff/tests/ |
H A D | diff_test.sh | 29 atf_check -o file:$(atf_get_srcdir)/simple.out -s eq:1 \ 32 atf_check -o file:$(atf_get_srcdir)/simple_e.out -s eq:1 \ 33 diff -e "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 35 atf_check -o file:$(atf_get_srcdir)/simple_u.out -s eq:1 \ 36 diff -u -L input1 -L input2 "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 38 atf_check -o file:$(atf_get_srcdir)/simple_n.out -s eq:1 \ 39 diff -n "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 41 …atf_check -o inline:"Files $(atf_get_srcdir)/input1.in and $(atf_get_srcdir)/input2.in differ\n" -… 42 diff -q "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 45 diff -q "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input1.in" [all …]
|
/freebsd-src/crypto/openssh/regress/ |
H A D | sftp-chroot.sh | 1 # $OpenBSD: sftp-chroot.sh,v 1.9 2023/05/12 06:37:42 djm Exp $ 9 trap "${SUDO} rm -f ${PRIVDATA}" 0 11 if [ -z "$SUDO" -a ! -w /var/run ]; then 15 if ! $OBJ/check-perm -m chroot "$CHROOT" ; then 19 $SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \ 22 echo "ForceCommand internal-sftp -d /" >> $OBJ/sshd_config 24 start_sshd -oChrootDirectory=$CHROOT 27 ${SFTP} -S "$SSH" -F $OBJ/ssh_config host:/${FILENAME} $COPY \ 30 cmp $PRIVDATA $COPY || fail "$PRIVDATA $COPY differ" 40 $SUDO sh -c "echo orpheanbeholder > $PRIVDATA" || \ [all …]
|
/freebsd-src/usr.bin/diff/ |
H A D | diff.1 | 43 .Op Fl A Ar algo | Fl -algorithm Ar algo 44 .Op Fl -brief 45 .Op Fl -color Ns = Ns Ar when 46 .Op Fl -changed-group-format Ar GFMT 47 .Op Fl -ed 48 .Op Fl -expand-tabs 49 .Op Fl -forwar [all...] |
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_size.ksh | 25 # 1. Perform a redacted send with -nv and without, and verify the 28 # -nv and without, and verify the size estimate is the same as 35 setup_dataset $ds_name "-o compress=lz4" 43 log_must rm -rf $clone_mnt/* 46 log_must eval "zfs send -nvP --redact book $sendfs@snap | awk '/^size/ {print \$2}' >$size" 47 log_must eval "zfs send --redact book $sendfs@snap | wc -c >$size2" 48 read -r bytes1 < $size 49 read -r bytes2 < $size2 50 [ "$bytes1" -eq "$bytes2" ] || \ 51 log_fail "Full sizes differ: estimate $bytes1 and actual $bytes2" [all …]
|
/freebsd-src/usr.bin/cmp/ |
H A D | misc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 55 (void)printf("%s %s differ: char %lld, line %lld is %3o %c %3o %c\n", in diffmsg() 59 (void)printf("%s %s differ: char %lld, line %lld\n", in diffmsg()
|
/freebsd-src/contrib/bmake/unit-tests/ |
H A D | dotwait.mk | 11 # Ignore "--- target ---" lines printed by parallel make. 14 @${.MAKE} -f ${THISMAKEFILE} -j4 $t 2>&1 | grep -v "^--- " 18 # Within each test, the names of the sub-targets follow these 21 # then the target names will differ only in an alphabetic component 24 # then the target names will differ in numeric components, such that 34 PARALLEL_TARG= ${.TARGET:C/\.[a-z]/.*/g:Q}
|
/freebsd-src/contrib/diff/doc/ |
H A D | diff.7 | 1 .Dd 2015-03-02 9 Computer users often find occasion to ask how two files differ. Perhaps one 26 normally produces no output; for binary (non-text) files, 32 command to show the byte and line numbers where two files differ. 34 can also show all the bytes that differ between the two files, side by side. 36 .Li M-x compare-windows . 80 Vol. 1 No. 2, 1986, pp. 251--266; and in \(lqA File Comparison Program\(rq, Webb Miller 82 .Em Software---Practice and Experience 83 Vol. 15 No. 11, 1985, pp. 1025--1040. The algorithm was independently discovered 86 Vol. 64, 1985, pp. 100--118. Unless the [all …]
|
/freebsd-src/sys/powerpc/fpu/ |
H A D | fpu_compare.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 70 * manual---it would be nice if the SPARC documentation were more 79 a = &fe->fe_f1; in fpu_compare() 80 b = &fe->fe_f2; in fpu_compare() 81 r = &fe->fe_f3; in fpu_compare() 93 if (fe->fe_fpscr & FPSCR_VE || ISQNAN(a) || ISQNAN(b)) in fpu_compare() 100 * Must handle both-zero early to avoid sign goofs. Otherwise, in fpu_compare() 101 * at most one is 0, and if the signs differ we are done. in fpu_compare() [all …]
|
/freebsd-src/lib/msun/man/ |
H A D | ieee.3 | 33 .Nd IEEE standard 754 for floating-point arithmetic 35 The IEEE Standard 754 for Binary Floating-Point Arithmetic 36 defines representations of floating-point numbers and abstract 39 .Ss IEEE STANDARD 754 Floating-Point Arithmetic 43 .Bd -ragged -offset indent -compact 49 Zero is represented ambiguously as +0 or \-0. 50 .Bd -ragged -offset indent -compact 53 with like signs; but x\-x yields +0 for every 57 .Fn copysign x \(+-0 . 60 finite x = y then \*(If = 1/(x\-y) \(!= \-1/(y\-x) = \-\*(If. [all …]
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_from_encrypted.ksh | 1 #!/bin/ksh -p 44 destroy_dataset $TESTPOOL/$TESTFS1 -r 47 destroy_dataset $TESTPOOL/$TESTFS2 -r 58 log_must eval "echo $passphrase | zfs create -o encryption=on" \ 59 "-o keyformat=passphrase $TESTPOOL/$TESTFS2" 74 log_fail "Checksums differ ($cksum1 != $checksum)" 81 log_fail "Checksums differ ($cksum2 != $checksum)"
|
H A D | zfs_receive_raw.ksh | 1 #!/bin/ksh -p 39 # 12. Verify 'zfs receive -n' works with the raw stream 47 destroy_dataset $TESTPOOL/$TESTFS1 -r 50 destroy_dataset $TESTPOOL/$TESTFS2 -r 60 log_must eval "echo $passphrase | zfs create -o encryption=on" \ 61 "-o keyformat=passphrase $TESTPOOL/$TESTFS1" 69 log_must eval "zfs send -w $snap | zfs receive $TESTPOOL/$TESTFS2" 75 log_must eval "echo $passphrase | zfs mount -l $TESTPOOL/$TESTFS2" 79 log_fail "Checksums differ ($cksum1 != $checksum)" 81 log_must eval "zfs send - [all...] |
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | RegionPrinter.h | 1 //===-- RegionPrinter.h - Region printer external interface -----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 52 /// The result of a new analysis may differ from the RegionInfo the pass 72 /// The result of a new analysis may differ from the RegionInfo the pass
|
/freebsd-src/contrib/tzdata/ |
H A D | ziguard.awk | 5 # This is not a general-purpose converter; it is designed for current tzdata. 15 # "Zone GMT 0 - GMT" which TZUpdater 2.3.2 mistakenly rejects. 25 # Given a FIELD like "-0:30", return a minute count like -30. 29 sign = field ~ /^-/ ? -1 : 1 39 # return a %z-style abbreviation like "+05" or "+0530". 52 # Round TIMESTAMP (a +-hh:mm:ss.dddd string) to the nearest second. 57 if (!sub(/^[+-]?[0- [all...] |
/freebsd-src/contrib/ntp/sntp/m4/ |
H A D | ntp_cacheversion.m4 | 2 # ------------------------------------ 4 # saved by the prior run in config.cache. If they differ, clear all 6 # is known to differ in a cache-invalidating manner. 12 # The top-level configure.ac in a subtree using NTP_CACHEVERSION 48 # empty as it is noisy. Differentiate a newly-created 73 c_version="${ntp_cv_[$1]_cache_version:-(no version found)}" 86 sed -n -e 's/=.*$//' \ 87 -e '/_cv_/p' 97 sed -n -e 's/=.*$//' \ 98 -e '/ntp_cv_.*_cache_version/d' \ [all …]
|
/freebsd-src/contrib/diff/src/ |
H A D | cmp.c | 1 /* cmp - compare two files byte by byte 19 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 26 #include <c-stack.h> 31 #include <file-type.h> 33 #include <hard-locale.h> 36 #include <unlocked-io.h> 37 #include <version-etc.h> 85 /* If nonzero, print values of bytes quoted like cat -t does. */ 88 /* Values for long options that do not have single-letter equivalents. */ 96 {"print-bytes", 0, 0, 'b'}, [all …]
|
/freebsd-src/contrib/googletest/googletest/test/ |
H A D | gtest_xml_test_utils.py | 54 convertible to a floating-point number and any attribute named 55 "type_param" which only has to be non-empty. 80 'attribute numbers differ in element %s:\nExpected: %r\nActual: %r' 98 ' values of attribute %s in element %s differ: %s vs %s' 112 'number of child elements differ in element ' + actual_node.tagName, 139 CDATA sections and non-whitespace text nodes are concatenated into a single 160 child_id = child.parentNode.getAttribute('name') + '-properties' 198 single asterisk (if it sn non-empty) as it is the type name returned 217 r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\d$', '*', timestamp.value
|