| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
| H A D | redacted_mixed_recsize.ksh | 2 # SPDX-License-Identifier: CDDL-1.0 26 # 1. Create two dataset one with recsize 512, and one 1m and create a 2m file. 27 # 2. For each dataset, create clones of both 512 and 1m recsize and modify 30 # into both a dataset inheriting a 512 recsize and a 1m one. 38 log_onexit redacted_cleanup $POOL/512 $POOL/1m $POOL2/512 $POOL2/1m 41 log_must zfs create -o recsize=512 $POOL/512 42 mntpnt=$(get_prop mountpoint $POOL/512) 44 log_must zfs snapshot $POOL/512@snap 45 log_must zfs clone -o recsize=1m $POOL/512@snap $POOL/1mclone 46 mntpnt=$(get_prop mountpoint $POOL/1mclone) [all …]
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
| H A D | tst.quantmany.d.out | 2 1 3 value ------------- Distribution ------------- count 5 1 |@@@@@@@@@@@@@ 1 10 value ------------- Distribution ------------- count 11 -4 | 0 12 -2 @@@@| -2 13 -1 | 0 15 1 |@@ 1 21 value ------------- Distribution ------------- count 22 -8 | 0 [all …]
|
| /freebsd/sbin/bsdlabel/ |
| H A D | disktab | 10 # fdformat [-f <size>] fd<drive>[.<size>] 11 # disklabel -B -w fd<drive>[.<size>] fd<size> 15 # -t 2 - two heads 16 # -u 9|15|18 - sectors per track 17 # (using the default value of 1/4096 is not much useful for floppies) 18 # -l 1 - interleave 1 (for most floppies) 19 # -i 65536 - bytes of data per i-node 20 # (the default -i value will render you with a floppy wasting way 21 # too much space in i-node areas) 25 :ty=floppy:se#512:nt#2:rm#300:ns#9:nc#40:\ [all …]
|
| /freebsd/crypto/openssl/test/recipes/30-test_evp_data/ |
| H A D | evppkey_ml_kem_512_decap.txt | 1 # Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 8 # Decapsulation KATs for ML-KEM-512 from Michael Baentsch 10 Title = ML-KEM-512 Decapsulation KATs 14 Kem = ML-KEM-512 19 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8… 21 Kem = ML-KEM-512 28 Kem = ML-KEM-512 35 Kem = ML-KEM-512 42 Kem = ML-KEM-512 49 Kem = ML-KEM-512 [all …]
|
| H A D | evppkey_ml_kem_512_encap.txt | 1 # Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 8 # Encapsulation KATs for ML-KEM-512 from Michael Baentsch 10 Title = ML-KEM-512 Encapsulation KATs 14 Kem = ML-KEM-512 20 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8… 22 Kem = ML-KEM-512 30 Kem = ML-KEM-512 38 Kem = ML-KEM-512 46 Kem = ML-KEM-512 54 Kem = ML-KEM-512 [all …]
|
| H A D | evppkey_ml_kem_512_keygen.txt | 1 # Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 8 # Key generation KATs for ML-KEM-512 from Michael Baentsch 10 Title = ML-KEM-512 Key Generation KATs 14 KeyGen = ML-KEM-512 19 # Official test vector 1, seed: "d81c4d8d734fcbfbeade3d3f8a039faa2a2c9957e835ad55b22e75bf57bb556ac8… 21 KeyGen = ML-KEM-512 28 KeyGen = ML-KEM-512 35 KeyGen = ML-KEM-512 42 KeyGen = ML-KEM-512 49 KeyGen = ML-KEM-512 [all …]
|
| H A D | evppkey_ml_kem_encap_decap.txt | 8 # ACVP test data for ML-KEM encapDecap generated from 9 # https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/ML-KEM-encapDecap-FIPS203… 12 Title = ML-KEM encapDecap ACVP Tests 14 # tcId = 1 16 Kem = ML-KEM-512 24 Kem = ML-KEM-512 32 Kem = ML-KEM-512 40 Kem = ML-KEM-512 44 Output = 1AC7A89480CBE48315AEF33174F370DC25C495D8A029A74ADB31A595693CD980 48 Kem = ML-KEM-512 [all …]
|
| H A D | evppkey_ml_kem_keygen.txt | 8 # ACVP test data for ML-KEM keyGen generated from 9 # https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/ML-KEM-keyGen-FIPS203/int… 12 Title = ML-KEM keyGen ACVP Tests 15 KeyGen = ML-KEM-512 17 Ctrl = hexseed:1EB4400A01629D517974E2CD85B9DEF59082DE508E6F9C2B0E341E12965955CA1A394111163803FE2E85… 22 KeyGen = ML-KEM-512 29 KeyGen = ML-KEM-512 36 KeyGen = ML-KEM-512 43 KeyGen = ML-KEM-512 50 KeyGen = ML-KEM-512 [all …]
|
| /freebsd/contrib/libcbor/test/ |
| H A D | float_ctrl_encoders_test.c | 2 * Copyright (c) 2014-2020 Pavel Kalvoda <me@pavelkalvoda.com> 12 unsigned char buffer[512]; 15 assert_size_equal(1, cbor_encode_bool(false, buffer, 512)); in test_bools() 16 assert_memory_equal(buffer, ((unsigned char[]){0xF4}), 1); in test_bools() 17 assert_size_equal(1, cbor_encode_bool(true, buffer, 512)); in test_bools() 18 assert_memory_equal(buffer, ((unsigned char[]){0xF5}), 1); in test_bools() 22 assert_size_equal(1, cbor_encode_null(buffer, 512)); in test_null() 23 assert_memory_equal(buffer, ((unsigned char[]){0xF6}), 1); in test_null() 27 assert_size_equal(1, cbor_encode_undef(buffer, 512)); in test_undef() 28 assert_memory_equal(buffer, ((unsigned char[]){0xF7}), 1); in test_undef() [all …]
|
| /freebsd/tests/sys/geom/class/eli/ |
| H A D | setkey_test.sh | 16 attach_md md -t malloc -s `expr $sectors + 1` 18 atf_check dd if=/dev/random of=rnd bs=512 count=${sectors} status=none 19 hash1=`dd if=rnd bs=512 count=${sectors} status=none | md5` 21 atf_check dd if=/dev/random of=keyfile1 bs=512 count=16 status=none 22 atf_check dd if=/dev/random of=keyfile2 bs=512 count=16 status=none 23 atf_check dd if=/dev/random of=keyfile3 bs=512 count=16 status=none 24 atf_check dd if=/dev/random of=keyfile4 bs=512 count=16 status=none 25 atf_check dd if=/dev/random of=keyfile5 bs=512 count=16 status=none 27 atf_check geli init -B none -P -K keyfile1 ${md} 28 atf_check geli attach -p -k keyfile1 ${md} [all …]
|
| H A D | integrity_test.sh | 5 cipher=$1 11 atf_check -s exit:0 -e ignore \ 12 geli init -B none -a $aalgo -e $ealgo -l $keylen -P \ 13 -K keyfile -s $secsize ${md} 14 atf_check geli attach -p -k keyfile ${md} 16 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=1 status=none 20 atf_check dd if=backing_file of=sector bs=512 count=1 \ 22 atf_check dd if=sector of=backing_file bs=512 count=1 seek=1 \ 25 atf_check -s not-exit:0 -e ignore \ 26 dd if=/dev/${md}.eli of=/dev/null bs=${secsize} count=1 [all …]
|
| /freebsd/libexec/tftpd/tests/ |
| H A D | functional.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * 1. Redistributions of source code must retain the above copyright 43 #include <atf-c.h> 49 static int s = -1; /* tftp client socket */ 51 static bool s_flag = false; /* Pass -s to tftpd */ 52 static bool w_flag = false; /* Pass -w to tftpd */ 74 &buffer[sizeof(hdr)], r - sizeof(hdr)); \ 76 ((struct sockaddr_in *)&addr)->sin_port = \ 77 ((struct sockaddr_in *)&from)->sin_port; \ [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev_draid.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 76 * Given D+P drives in a group (including parity drives) and C-S physical 79 * of D+P and C-S as the number of groups; i.e. ngroups = LCM(D+P, C-S). 83 * which includes D=8 data and P=1 parity drive. There are 4 groups and 88 * data disks (8 data + 1 parity) spares (2) 90 * ^ | 2 | 6 | 1 | 11| 4 | 0 | 7 | 10| 8 | 9 | 13| 5 | 12| 3 | device map 0 92 * | | group 0 | group 1..| | 93 * | +-----------------------------------+-----------+-------| 94 * | | 0 1 2 3 4 5 6 7 8 | 36 37 38| | r [all …]
|
| /freebsd/crypto/openssl/test/recipes/ |
| H A D | 20-test_dhparam.t | 2 # Copyright 2020-2025 The OpenSSL Project Authors. All Rights Reserved. 26 my $fipsconf = srctop_file("test", "fips-and-base.cnf"); 40 if (-T $file) { 45 if ($firstline eq "-----BEGIN DH PARAMETERS-----") { 47 } elsif ($firstline eq "-----BEGIN X9.42 DH PARAMETERS-----") { 63 my @textdata = run(app(['openssl', 'dhparam', '-in', $file, '-noout', 64 '-text', '-inform', $format]), capture => 1); 77 $readbits = $1; 92 my $keybits_line = "recommended-private-length: $keybits bits"; 102 checkdhparams(data_file("pkcs3-2-1024.pem"), "PKCS3", 2, "PEM", 1024); [all …]
|
| /freebsd/usr.sbin/fdcontrol/ |
| H A D | fdcontrol.8 | 7 .\" 1. Redistributions of source code must retain the above copyright 43 utility allows the modification of the run-time behavior of the 108 .Bl -item 111 .Bd -ragged -offset indent -compact 116 1721 21 2 (512) 82 500 2 MFM 117 1476 18 2 (512) 82 500 2 MFM 118 1440 18 2 (512) 80 500 2 MFM 119 1200 15 2 (512) 80 500 2 MFM 120 820 10 2 (512) 82 250 2 MFM 121 800 10 2 (512) 80 250 2 MFM [all …]
|
| /freebsd/tools/tools/nanobsd/ |
| H A D | FlashDevice.sub | 3 # Copyright (c) 2005 Poul-Henning Kamp. 9 # 1. Redistributions of source code must retain the above copyright 40 a1=`echo $1 | tr '[:upper:]' '[:lower:]'` 46 NANO_MEDIASIZE=`expr 256204800 / 512` 60 NANO_MEDIASIZE=`expr 259596288 / 512` 65 echo "Unknown Integral i-Pro Flash capacity" 74 NANO_MEDIASIZE=`expr 64487424 / 512` 87 512|512mb) 89 NANO_MEDIASIZE=`expr 519192576 / 512` 104 # Document No. 20-10-00038 [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/vdev_disk/ |
| H A D | page_alignment.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 65 * The cardinal rule: a single on-disk block must never cross an in vdev_disk_check_alignment_cb() 66 * physical (order-0) page boundary, as the kernel expects to be able in vdev_disk_check_alignment_cb() 77 if (s->seen_last) in vdev_disk_check_alignment_cb() 78 return (1); in vdev_disk_check_alignment_cb() 80 /* This page must contain only whole LBS-sized blocks. */ in vdev_disk_check_alignment_cb() 81 if (!IS_P2ALIGNED(len, s->blocksize)) in vdev_disk_check_alignment_cb() 82 return (1); in vdev_disk_check_alignment_cb() 86 * on a page-aligned boundary (so the kernel can split on page in vdev_disk_check_alignment_cb() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | BuiltinsX86.def | 1 //===--- BuiltinsX86.def - X86 Builtin function database --------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines the X86-specific builtin function database. Users of 12 //===----------------------------------------------------------------------===// 33 TARGET_BUILTIN(__builtin_ia32_undef512, "V8d", "ncV:512:", "") 43 // types (<1 x i64>, <2 x i32>, etc.) that aren't used by these builtins will be 44 // expanded by the back-end. 45 // FIXME: _mm_prefetch must be a built-in because it takes a compile-time constant 46 // argument and our prior approach of using a #define to the current built-in [all …]
|
| /freebsd/contrib/netbsd-tests/sbin/resize_ffs/ |
| H A D | t_grow_swapped.sh | 12 # 1. Redistributions of source code must retain the above copyright 34 # where 'numdata' is the number of data directories to copy - this is 36 # created fs. 'level' is the fs-level (-O 0,1,2) passed to newfs. 39 # v0 == newfs -O0 (4.3BSD layout, ffsv1 superblock) 40 test_case grow_16M_v0_4096 resize_ffs 4096 512 32768 131072 0 28 swap 46 test_case grow_24M_v0_4096 resize_ffs 4096 512 49152 65536 0 41 swap 51 test_case grow_32M_v0_4096 resize_ffs 4096 512 65536 131072 0 55 swap 56 test_case grow_48M_v0_4096 resize_ffs 4096 512 98304 131072 0 82 swap 61 test_case grow_64M_v0_4096 resize_ffs 4096 512 131072 262144 0 109 swap 67 # v1 == newfs -O1 (FFSv1, v2 superblock layout) [all …]
|
| H A D | t_grow.sh | 12 # 1. Redistributions of source code must retain the above copyright 34 # where 'numdata' is the number of data directories to copy - this is 36 # created fs. 'level' is the fs-level (-O 0,1,2) passed to newfs. 39 # v0 == newfs -O0 (4.3BSD layout, ffsv1 superblock) 40 test_case grow_16M_v0_4096 resize_ffs 4096 512 32768 131072 0 28 46 test_case grow_24M_v0_4096 resize_ffs 4096 512 49152 65536 0 41 51 test_case grow_32M_v0_4096 resize_ffs 4096 512 65536 131072 0 55 56 test_case grow_48M_v0_4096 resize_ffs 4096 512 98304 131072 0 82 61 test_case grow_64M_v0_4096 resize_ffs 4096 512 131072 262144 0 109 67 # v1 == newfs -O1 (FFSv1, v2 superblock layout) [all …]
|
| H A D | t_shrink.sh | 12 # 1. Redistributions of source code must retain the above copyright 34 # where 'numdata' is the number of data directories to copy - this is 36 # created fs. 'level' is the fs-level (-O 0,1,2) passed to newfs. 38 test_case shrink_24M_16M_v0_4096 resize_ffs 4096 512 49152 32768 0 41 43 test_case shrink_32M_24M_v0_4096 resize_ffs 4096 512 65536 49152 0 55 48 test_case shrink_48M_16M_v0_4096 resize_ffs 4096 512 98304 32768 0 82 53 test_case shrink_64M_48M_v0_4096 resize_ffs 4096 512 131072 98304 0 109 59 test_case shrink_24M_16M_v1_4096 resize_ffs 4096 512 49152 32768 1 41 60 test_case shrink_24M_16M_v1_8192 resize_ffs 8192 1024 49152 32768 1 42 61 test_case shrink_24M_16M_v1_16384 resize_ffs 16384 2048 49152 32768 1 43 [all …]
|
| H A D | t_shrink_swapped.sh | 12 # 1. Redistributions of source code must retain the above copyright 34 # where 'numdata' is the number of data directories to copy - this is 36 # created fs. 'level' is the fs-level (-O 0,1,2) passed to newfs. 38 test_case shrink_24M_16M_v0_4096 resize_ffs 4096 512 49152 32768 0 41 swap 43 test_case shrink_32M_24M_v0_4096 resize_ffs 4096 512 65536 49152 0 55 swap 48 test_case shrink_48M_16M_v0_4096 resize_ffs 4096 512 98304 32768 0 82 swap 53 test_case shrink_64M_48M_v0_4096 resize_ffs 4096 512 131072 98304 0 109 swap 59 test_case shrink_24M_16M_v1_4096 resize_ffs 4096 512 49152 32768 1 41 swap 60 test_case shrink_24M_16M_v1_8192 resize_ffs 8192 1024 49152 32768 1 42 swap 61 test_case shrink_24M_16M_v1_16384 resize_ffs 16384 2048 49152 32768 1 43 swap [all …]
|
| /freebsd/sys/cam/ctl/ |
| H A D | README.ctl.txt | 2 CTL - CAM Target Layer Description 13 Revision 1.N Changes 27 available under a BSD-style license. The intent behind the agreement was 33 - Disk, processor and cdrom device emulation. 34 - Tagged queueing 35 - SCSI task attribute support (ordered, head of queue, simple tags) 36 - SCSI implicit command ordering support. (e.g. if a read follows a mode 38 - Full task management support (abort, LUN reset, target reset, etc.) 39 - Support for multiple ports 40 - Support for multiple simultaneous initiators [all …]
|
| /freebsd/lib/libpmc/pmu-events/arch/x86/cascadelakex/ |
| H A D | floating-point.json | 3 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational double precision float… 4 "Counter": "0,1,2,3", 5 "CounterHTOff": "0,1,2,3,4,5,6,7", 8 …-bit packed computational double precision floating-point instructions retired; some instructions … 13 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational single precision float… 14 "Counter": "0,1,2,3", 15 "CounterHTOff": "0,1,2,3,4,5,6,7", 18 …-bit packed computational single precision floating-point instructions retired; some instructions … 23 …"BriefDescription": "Counts once for most SIMD 256-bit packed double computational precision float… 24 "Counter": "0,1,2,3", [all …]
|
| /freebsd/contrib/libarchive/libarchive/test/ |
| H A D | test_read_truncated.c | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 8 * 1. Redistributions of source code must retain the above copyright 61 for (i = 1; i < used + 100; i += 100) { in DEFINE_TEST() 65 if (i < 512) { in DEFINE_TEST() 73 if (i < 512 + sizeof(buff2)) { in DEFINE_TEST() 81 /* Archive must be long enough to capture a 512-byte in DEFINE_TEST() 86 if (i < 512 + 512*((sizeo in DEFINE_TEST() [all...] |