/freebsd/sys/contrib/openzfs/.github/workflows/ |
H A D | labels.yml | 3 on: 8 pull-requests: write 12 runs-on: ubuntu-latest 15 - env: 19 gh pr edit $ISSUE --add-label "Status: Work in Progress" 22 runs-on: ubuntu-latest 25 - env: 29 …gh pr edit $ISSUE --remove-label "Status: Accepted,Status: Inactive,Status: Revision Needed,Status… 32 runs-on: ubuntu-latest 35 - env: [all …]
|
/freebsd/contrib/googletest/.github/workflows/ |
H A D | gtest-ci.yml | 3 on: 8 BAZEL_CXXOPTS: -std=c++14 12 runs-on: ubuntu-latest 15 - uses: actions/checkout@v3 17 fetch-depth: 0 19 - name: Tests 20 run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ... 23 runs-on: macos-latest 26 - uses: actions/checkout@v3 28 fetch-depth: 0 [all …]
|
/freebsd/contrib/unbound/doc/ |
H A D | README.tests | 3 For a quick test that runs unit tests and state machine tests, use 11 * dig - from the bind-tools package. Used to send DNS queries. 12 * splint (optional) - for lint test 13 * doxygen (optional) - for doc completeness test 14 * ldns-testns - from ldns examples. Used as DNS auth server. 15 * xxd and nc (optional) - for (malformed) packet transmission. 18 You can also use prepared Dockerfile to run tests inside docker based on latest gcc image: 19 * build container: docker build -t unbound-tester -f contrib/Dockerfile.tests . 20 * run container: docker run -it --mount type=bind,source="$(pwd)",target=/usr/src/unbound --rm unbo… 29 do-tests.sh : runs all the tests in the testdata directory. [all …]
|
/freebsd/sys/kern/ |
H A D | kern_clocksource.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2010-2013 Alexander Motin <mav@FreeBSD.org> 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 75 if (timer->et_flags & ET_FLAGS_PERCPU) \ 76 mtx_lock_spin(&(state)->et_hw_mtx); \ 83 if (timer->et_flags & ET_FLAGS_PERCPU) \ 84 mtx_unlock_spin(&(state)->et_hw_mtx); \ 108 static int periodic; /* Periodic or one-shot mode. */ 113 struct mtx et_hw_mtx; /* Per-CPU timer mutex. */ [all …]
|
/freebsd/tools/tools/sortbench/ |
H A D | sort_bench.c | 1 /*- 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 50 return -1; in sorthelp() 149 array[i] = elts - i; in reverse_bench() 156 run_bench(enum sort s, enum test t, int runs, int elts) in run_bench() argument 158 for (int i = 0; i < runs; i++) { in run_bench() 215 printf("\t%s: [alg] [test] [runs] [elt_power]\n", progname); in usage() 229 printf("Run the algorithm [runs] times with 2^[elt_power] elements\n"); in usage() 234 * Runs a sorting algorithm with a provided data configuration according to 241 int runs, elts; in main() local [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/ |
H A D | LTOBackend.h | 1 //===-LTOBackend.h - LLVM Link Time Optimizer Backend ---------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // optimization and code generation on a loaded module. It is generally used 14 //===----------------------------------------------------------------------===// 36 /// Runs middle-end LTO optimizations on \p Mod. 42 /// Runs a regular LTO backend. The regular LTO backend can also act as the 48 /// Runs a ThinLTO backend. 52 /// be mapped to memory on demand and at any given time during importing, only 70 /// Distributed ThinLTO: collect the referenced modules based on
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-throw-on-failure-test.py | 27 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 32 """Tests Google Test's throw-on-failure mode with exceptions disabled. 34 This script invokes googletest-throw-on-failure-test_ (a program written with 44 # The command line flag for enabling/disabling the throw-on-failure mode. 47 # Path to the googletest-throw-on-failure-test_ program, compiled with 50 'googletest-throw-on-failure-test_' 76 """Runs a command; returns True/False if its exit code is/isn't 0.""" 85 """Tests the throw-on-failure mode.""" 88 """Runs googletest-throw-on-failure-test_ and verifies its behavior. 90 Runs googletest-throw-on-failure-test_ and verifies that it does [all …]
|
H A D | googletest-filter-unittest.py | 26 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 34 the GTEST_FILTER environment variable or the --gtest_filter flag. 36 googletest-filter-unittest_ (a program written with Google Test) with different 64 [sys.executable, '-c', "import os; print('EMPTY_VAR' in os.environ)"] 70 # We set an env variable to a non-empty string, unset it, and invoke 80 [sys.executable, '-c', "import os; print('UNSET_VAR' not in os.environ)"] 86 # make sense on platforms that cannot pass empty env variables (Win32) 87 # and on platforms that cannot unset variables (since we cannot tell 88 # the difference between "" and NULL -- Borland and Solaris < 5.10) 106 # Command to run the googletest-filter-unittest_ program. [all …]
|
H A D | googletest-break-on-failure-unittest.py | 27 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 32 """Unit test for Google Test's break-on-failure mode. 34 A user can ask Google Test to seg-fault when an assertion fails, using 36 --gtest_break_on_failure flag. This script tests such functionality 37 by invoking googletest-break-on-failure-unittest_ (a program written with 48 # The environment variable for enabling/disabling the break-on-failure mode. 51 # The command line flag for enabling/disabling the break-on-failure mode. 54 # The environment variable for enabling/disabling the throw-on-failure mode. 57 # The environment variable for enabling/disabling the catch-exceptions mode. 60 # Path to the googletest-break-on-failure-unittest_ program. [all …]
|
H A D | gtest_environment_test.cc | 25 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 37 #include "src/gtest-internal-inl.h" 53 // Depending on the value of failure_in_set_up_, SetUp() will 54 // generate a non-fatal failure, generate a fatal failure, or 61 ADD_FAILURE() << "Expected non-fatal failure in global set-up."; in SetUp() 64 FAIL() << "Expected fatal failure in global set-up."; in SetUp() 71 // Generates a non-fatal failure. 74 ADD_FAILURE() << "Expected non-fatal failure in global tear-down."; in TearDown() 97 // Runs the tests. Return true if and only if successful. 100 // be generated by the global set-up. [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/perf/regression/ |
H A D | sequential_reads_arc_cached_clone.ksh | 20 # Trigger fio runs using the sequential_reads job file. The number of runs and 25 # for all fio runs. This test will exercise cached read performance from 27 # a snapshot and clone are created. All the performance runs are then 31 # reference on that buffer is released. 37 command -v fio > /dev/null || log_unsupported "fio missing" 57 export PERF_NTHREADS=${PERF_NTHREADS:-'64 128'} 58 export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} 59 export PERF_IOSIZES=${PERF_IOSIZES:-'128k'} 60 export PERF_SYNC_TYPES=${PERF_SYNC_TYPES:-'1'} 76 log_must test $(get_nfilesystems) -eq 1 [all …]
|
/freebsd/.github/workflows/ |
H A D | style.yml | 3 # Runs my simple style(9) checker on pull requests. 5 on: 17 runs-on: ubuntu-latest 21 - name: Get depth 24 - name: checkout 27 fetch-depth: ${{ env.DEPTH }} 29 - name: Install packages 31 sudo apt-get update --quiet || true 32 sudo apt-get -yq --no-install-suggests --no-install-recommends install perl 33 - name: Run checker [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerFlags.def | 1 //===- FuzzerFlags.def - Run-time flags ------- [all...] |
/freebsd/usr.sbin/lpr/pac/ |
H A D | pac.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 #include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ 37 * pac [-Pprinter] [-pprice] [-s] [-r] [-c] [-m] [user ...] 53 static int allflag = 1; /* Get stats on everybody */ 57 static int pflag = 0; /* 1 if -p on cmd line */ 78 int h_count; /* Number of runs */ 104 while (--argc) { in main() 106 if (*cp++ == '-') { in main() [all …]
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | _libelf_config.h | 1 /*- 2 * Copyright (c) 2008-2011 Joseph Koshy 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * $Id: _libelf_config.h 3764 2019-06-28 21:44:46Z emaste $ 32 * Define LIBELF_{ARCH,BYTEORDER,CLASS} based on the machine architecture. 33 * See also: <machine/elf.h> on FreeBSD. 51 #if defined(__ARMEB__) /* Big-endian ARM. */ 165 * `__linux__' is defined in an environment runs the Linux kernel and glibc. 166 * `__GNU__' is defined in an environment runs a GNU kernel (Hurd) and glibc. 167 * `__GLIBC__' is defined for an environment that runs glibc over a non-GNU [all …]
|
/freebsd/contrib/bearssl/ |
H A D | README.txt | 3 The most up-to-date documentation is supposed to be available on the 8 BearSSL is considered beta-level software. Most planned functionalities 13 utterly crazy move. BearSSL is free, open-source software, provided 22 - You can use and reuse the library as you wish, and modify it, and 24 modified form, and so on. 26 - The only obligation that the license terms put upon you is that you 37 command-line tools. There is no installer yet. The library _can_ be 38 compiled as a shared library on some systems, but since the binary API 43 "default" values. On a Windows system with Visual Studio, run a console 50 configuration file (that targets cross-compilation for an Atmel board [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
H A D | error_test.cpp | 1 //===-- error_test.cpp --sssssssss-----------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===// 94 EXPECT_EQ(CE->getV1(), 42) << "Unexpected wrapped value"; in TEST() 103 EXPECT_EQ(CE->getV1(), 42) << "Unexpected wrapped value"; in TEST() 112 EXPECT_EQ(CSE->getV1(), 42) << "Unexpected wrapped value"; in TEST() 113 EXPECT_EQ(CSE->getV2(), "foo") << "Unexpected wrapped value"; in TEST() 122 // Verify that checked flag is raised - assignment should not crash. in errAsOutParamHelper() 124 // Raise the checked bit manually - caller should still have to test the in errAsOutParamHelper() [all …]
|
/freebsd/contrib/googletest/ |
H A D | README.md | 8 [Abseil Live at Head philosophy](https://abseil.io/about/philosophy#upgrade-support). 10 … as possible](https://github.com/abseil/abseil-cpp/blob/master/FAQ.md#what-is-live-at-head-and-how… 16 Our documentation is now live on GitHub Pages at 17 https://google.github.io/googletest/. We recommend browsing the documentation on 33 * We are planning to take a dependency on 34 [Abseil](https://github.com/abseil/abseil-cpp). 54 Googletest is based on the [xUnit](https://en.wikipedia.org/wiki/XUnit) 57 Googletest automatically discovers and runs your tests, eliminating the need 62 * User-defined assertions: \ 67 certain way, making it useful for testing error-handling code [all …]
|
/freebsd/contrib/ntp/util/ |
H A D | README | 5 on how to make and install these programs. 17 interrupt, usually in the range 10 us-1 ms. For those systems with 31 "I could not get a tickadj of less than 40 us to work on a RS6000. 40 that emulate WWV or IRIG (-B and -E). tg runs on Solaris. 41 tg2 is a clone that runs on Linux, FreeBSD, and NetBSD. 43 available via -h.
|
/freebsd/crypto/openssl/test/ |
H A D | README-dev.md | 5 ------------------ 8 `test/recipes/`, named `{nn}-test_{name}.t`, 14 ["Changes to test/build.info"](README.md#changes-to-testbuildinfo) below. 17 ------------------ 21 A test recipe is named `test/recipes/{nn}-test_{name}.t`, where `{nn}` is a two 26 00-04 sanity, internal and essential API tests 27 05-09 individual symmetric cipher algorithms 28 10-14 math (bignum) 29 15-19 individual asymmetric cipher algorithms 30 20-24 openssl commands (some otherwise not tested) [all …]
|
H A D | README-external.md | 5 This capability is considered a developer option and does not work on all 11 This python test suite runs cryptographic tests with a local OpenSSL build as 14 First checkout the `PYCA/Cryptography` module into `./pyca-cryptography` using: 16 $ git submodule update --init 20 $ ./config shared enable-external-tests 29 ------------------------------ 37 Much like the PYCA/Cryptography test suite, this builds and runs the krb5 44 krb5's master has to pass this same CI, but a known-good version is 45 krb5-1.15.1-final if you want to be sure. 48 $ git checkout krb5-1.15.1-final [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/display/ |
H A D | brcm,bcm-vc4.txt | 3 The VC4 device present on the Raspberry Pi includes a display system 8 - compatible: Should be "brcm,bcm2835-vc4" or "brcm,cygnus-vc4" 11 - compatible: Should be one of "brcm,bcm2835-pixelvalve0", 12 "brcm,bcm2835-pixelvalve1", or "brcm,bcm2835-pixelvalve2" 13 - reg: Physical base address and length of the PV's registers 14 - interrupts: The interrupt number 15 See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt 18 - compatible: Should be "brcm,bcm2835-hvs" 19 - reg: Physical base address and length of the HVS's registers 20 - interrupts: The interrupt number [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/hotspare/ |
H A D | hotspare_scrub_001_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 43 # - the hotspare is only in available list 44 # - the hotspare is activated 45 # 4. Verify the scrub runs successfully. 51 # CODING STATUS: COMPLETED (2006-06-07) 61 # Record status so we can see the current state on failure. 94 log_must $RM -f $mtpt/$TESTFILE0 \ 98 log_assert "'zpool scrub <pool>' should runs successfully regardless " \ 114 log_pass "'zpool scrub <pool>' runs successfully regardless " \
|
/freebsd/sys/net/ |
H A D | paravirt.h | 20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 Support for virtio-like communication between host (H) and guest (G) NICs. 37 csb->csb_on enables the mode. If disabled, the device acts a regular one. 44 changed. The condition typically depends on a variable set by the 66 On the kick (TDT write) H sets host_need_txkick == 0 (if not 72 TX: G runs out of buffers 77 the double check. If H finds guest_need_txkick== 1 on a write 83 TDT writes on the transmit side when the host is too slow. 95 When G runs out of packets it sets guest_need_rxkick=1 and does the 98 RX: H runs out of buffers [all …]
|
/freebsd/contrib/ntp/sntp/libevent/cmake/ |
H A D | CodeCoverage.cmake | 2 # Boost Software License - Version 1.0 - August 17th, 2003 8 # Software, and to permit third-parties to whom the Software is furnished to 15 # works are solely in the form of machine-executable object code generated by 20 # FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT 26 # 2012-01-31, Lars Bilke 27 # - Enable Code Coverage 29 # 2013-09-17, Joakim Söderberg 30 # - Added support for Clang. 31 # - Some additional usage instructions. 33 # 2016-11-02, Azat Khuzhin [all …]
|