| /freebsd/contrib/lutok/ |
| H A D | state.cpp | 4 // Redistribution and use in source and binary forms, with or without 9 // notice, this list of conditions and the following disclaimer. 10 // * Redistributions in binary form must reproduce the above copyright 11 // notice, this list of conditions and the following disclaimer in the 12 // documentation and/or other materials provided with the distribution. 17 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY [all …]
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | overflow.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 12 * We need to compute the minimum and maximum values representable in a given 16 * #define type_min(T) (T)(is_signed_type(T) ? (T)1 << (8*sizeof(T)-1) : 0) 17 * #define type_max(T) (T)(is_signed_type(T) ? ((T)1 << (8*sizeof(T)-1)) - 1 : ~(T)0) 20 * undefined behaviour, and at least some versions of gcc warn about 21 * the type_max expression (but not if -fsanitize=undefined is in 22 * effect; in that case, the warning is deferred to runtime...). 24 * The slightly excessive casting in type_min is to make sure the 27 * a-feature-not-a-bug, since people shouldn't be doing arithmetic on 32 * https://mail-index.netbsd.org/tech-misc/2007/02/05/0000.html - [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
| H A D | tst.integer_overflow.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 4 # This file and its contents are supplied under the terms of the 5 # Common Development and Distribution License ("CDDL"), version 1.0. 6 # You may only use this file in accordance with the terms of version 22 # Overflowing a 64-bit integer should wrap around. 27 log_assert "overflowing a 64-bit integer should wrap around" 29 log_must_program $TESTPOOL - <<<"assert(18446744073709551615 + 1 == (-18446744073709551616))" 31 log_pass "overflowing a 64-bit integer should wrap around"
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cache/ |
| H A D | cache_012_pos.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 6 # This file and its contents are supplied under the terms of the 7 # Common Development and Distribution License ("CDDL"), version 1.0. 8 # You may only use this file in accordance with the terms of version 27 # Looping around a cache device with l2arc_write_size exceeding 33 # 3. Create a file larger than the cache device and random read 40 # 8. If (5) <= (7) then we have not looped around yet. 46 command -v fio > /dev/null || log_unsupported "fio missing" 48 log_assert "Looping around a cache device succeeds." [all …]
|
| /freebsd/contrib/bmake/unit-tests/ |
| H A D | opt-jobs-internal.mk | 1 # $NetBSD: opt-jobs-internal.mk,v 1.6 2025/05/23 21:05:56 rillig Exp $ 3 # Tests for the (intentionally undocumented) internal -J command line option. 9 @${MAKE} -f ${MAKEFILE} -j1 direct 10 @${MAKE} -f ${MAKEFILE} -j1 direct-syntax 11 @${MAKE} -f ${MAKEFILE} -j1 direct-open 12 @${MAKE} -f ${MAKEFILE} -j1 indirect-open 13 @${MAKE} -f ${MAKEFILE} -j1 indirect-expr 14 @${MAKE} -f ${MAKEFILE} -j1 indirect-comment 15 @${MAKE} -f ${MAKEFILE} -j1 indirect-silent-comment 16 @${MAKE} -f ${MAKEFILE} -j1 indirect-expr-empty [all …]
|
| H A D | cmd-interrupt.mk | 1 # $NetBSD: cmd-interrupt.mk,v 1.5 2024/07/13 15:10:06 rillig Exp $ 7 # would be newer than all of its sources and would therefore not be 8 # tried again in the next run. 20 all: clean-before 21 all: interrupt-ordinary 22 all: interrupt-phony 23 all: interrupt-precious 24 all: interrupt-compat 25 all: clean-after 27 clean-before clean-after: .PHONY [all …]
|
| H A D | var-op-sunsh.mk | 1 # $NetBSD: var-op-sunsh.mk,v 1.10 2022/02/09 21:09:24 rillig Exp $ 3 # Tests for the :sh= variable assignment operator, which runs its right-hand 4 # side through the shell. It is a seldom-used alternative to the != 7 .MAKEFLAGS: -dL # Enable sane error messages 11 VAR:sh= echo colon-sh 12 .if ${VAR} != "colon-sh" 16 # It is also possible to have whitespace around the :sh assignment 18 VAR :sh = echo colon-sh-spaced 19 .if ${VAR} != "colon-sh-spaced" 23 # Until 2020-10-04, the ':sh' could even be followed by other characters. [all …]
|
| /freebsd/share/man/man4/ |
| H A D | cgem.4 | 5 .\" Redistribution and use in source and binary forms, with or without 9 .\" notice, this list of conditions and the following disclaimer. 13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 place the following lines in your 35 .Bd -ragged -offset indent 44 The Cadence GEM is used in some SoC (System on a Chip) devices such as [all …]
|
| /freebsd/share/man/man9/ |
| H A D | alq.9 | 3 .\" Copyright (c) 2009-2010 The FreeBSD Foundation 11 .\" Redistribution and use in source and binary forms, with or without 15 .\" notice, this list of conditions, and the following disclaimer, 20 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 97 The logging facility runs in a separate kernel thread, which services 105 .Bd -literal -offset indent [all …]
|
| /freebsd/sys/contrib/alpine-hal/ |
| H A D | al_hal_udma.h | 1 /*- 9 Public License V2 as published by the Free Software Foundation and can be 10 found at http://www.gnu.org/licenses/gpl-2.0.html 12 Alternatively, redistribution and use in source and binary forms, with or 17 this list of conditions and the following disclaimer. 19 * Redistributions in binary form must reproduce the above copyright 20 notice, this list of conditions and the following disclaimer in 21 the documentation and/or other materials provided with the 24 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 26 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE [all …]
|
| /freebsd/sys/dev/drm2/ |
| H A D | drm_memory.c | 17 * copy of this software and associated documentation files (the "Software"), 18 * to deal in the Software without restriction, including without limitation 20 * and/or sell copies of the Software, and to permit persons to whom the 23 * The above copyright notice and this permission notice (including the next 24 * paragraph) shall be included in all copies or substantial portions of the 29 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 30 * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 31 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 32 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 33 * OTHER DEALINGS IN THE SOFTWARE. [all …]
|
| /freebsd/sys/amd64/amd64/ |
| H A D | initcpu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * Redistribution and use in source and binary forms, with or without 14 * notice, this list of conditions and the following disclaimer as 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 18 * documentation and/or other materials provided with the distribution. 20 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 23 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | tbl.7 | 6 .\" Permission to use, copy, modify, and distribute this software for any 8 .\" copyright notice and this permission notice appear in all copies. 10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 16 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 48 lines, and ends with a 51 All input must be 7-bit ASCII. 54 case-insensitive options separated by spaces, tabs, or commas. 60 Some of them require arguments enclosed in parentheses: [all …]
|
| /freebsd/lib/libc/gen/ |
| H A D | pause.3 | 4 .\" Redistribution and use in source and binary forms, with or without 8 .\" notice, this list of conditions and the following disclaimer. 9 .\" 2. Redistributions in binary form must reproduce the above copyright 10 .\" notice, this list of conditions and the following disclaimer in the 11 .\" documentation and/or other materials provided with the distribution. 16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY [all …]
|
| /freebsd/contrib/tcp_wrappers/ |
| H A D | workarounds.c | 3 * around library functions and system calls that are known to have problems 19 #include <netinet/in.h> 34 * Result: long hostnames would be truncated, and connections would be 43 /* In case not defined in <sys/param.h>. */ 70 * With some System-V versions, the fgets() library function does not 74 * The following code works around the problem. It does no harm on "normal" 92 len--; in fix_fgets() 113 * With early SunOS 5 versions, recvfrom() does not completely fill in the 114 * source address structure when doing a non-destructive read. The following 115 * code works around the problem. It does no harm on "normal" systems. [all …]
|
| /freebsd/contrib/kyua/utils/process/ |
| H A D | executor.hpp | 4 // Redistribution and use in source and binary forms, with or without 9 // notice, this list of conditions and the following disclaimer. 10 // * Redistributions in binary form must reproduce the above copyright 11 // notice, this list of conditions and the following disclaimer in the 12 // documentation and/or other materials provided with the distribution. 17 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY [all …]
|
| /freebsd/contrib/processor-trace/libipt/src/ |
| H A D | pt_time.c | 2 * Copyright (c) 2014-2019, Intel Corporation 4 * Redistribution and use in source and binary forms, with or without 8 * this list of conditions and the following disclaimer. 9 * * Redistributions in binary form must reproduce the above copyright notice, 10 * this list of conditions and the following disclaimer in the documentation 11 * and/or other materials provided with the distribution. 16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE [all …]
|
| /freebsd/contrib/dialog/samples/ |
| H A D | yesno3 | 4 . ./setup-vars 6 $DIALOG --timeout 20 --title "YES/NO BOX" "$@" \ 7 --yesno "Hi, this is a yes/no dialog box. You can use this to ask \ 10 wrapped around so that they can fit in the box? You can \ 12 'backslash n' at any place you like, but in this case, \ 13 auto wrap around will be disabled and you will have to \ 18 . ./report-yesno
|
| H A D | yesno-help | 2 # $Id: yesno-help,v 1.6 2020/11/26 00:05:52 tom Exp $ 4 . ./setup-vars 6 $DIALOG --title "YES/NO BOX" --clear --help-button "$@" \ 7 --yesno "Hi, this is a yes/no dialog box. You can use this to ask \ 10 wrapped around so that they can fit in the box? You can \ 12 'backslash n' at any place you like, but in this case, \ 13 auto wrap around will be disabled and you will have to \ 18 . ./report-yesno
|
| H A D | yesno2 | 4 . ./setup-vars 6 $DIALOG --title "YES/NO BOX" "$@" \ 7 --yesno "Hi, this is a yes/no dialog box. You can use this to ask \ 10 wrapped around so that they can fit in the box? You can \ 12 'backslash n' at any place you like, but in this case, \ 13 auto wrap around will be disabled and you will have to \ 18 . ./report-yesno
|
| H A D | yesno4 | 4 . ./setup-vars 6 $DIALOG --title "YES/NO BOX" "$@" \ 7 --yesno "Hi, this is a yes/no dialog box. You can use this to ask \ 10 wrapped around so that they can fit in the box? You can \ 12 'backslash n' at any place you like, but in this case, \ 13 auto wrap around will be disabled and you will have to \ 18 . ./report-yesno
|
| H A D | yesno | 4 . ./setup-vars 9 $DIALOG --title "YES/NO BOX" --clear "$@" \ 10 --yesno "Hi, this is a yes/no dialog box. You can use this to ask \ 13 wrapped around so that they can fit in the box? You can \ 15 'backslash n' at any place you like, but in this case, \ 16 auto wrap around will be disabled and you will have to \ 21 . ./report-yesno
|
| H A D | yesno-both | 2 # $Id: yesno-both,v 1.6 2020/11/26 00:05:52 tom Exp $ 4 . ./setup-vars 6 $DIALOG --title "YES/NO/MAYBE BOX" \ 7 --clear \ 8 --ok-label "Next" \ 9 --no-label "Cancel" \ 10 --extra-label "Previous" --extra-button \ 11 --help-button "$@" \ 12 --yesno "Hi, this is a yes/no dialog box with its labels changed. \ 16 wrapped around so that they can fit in the box? You can \ [all …]
|
| H A D | yesno-extra | 2 # $Id: yesno-extra,v 1.6 2020/11/26 00:05:52 tom Exp $ 4 . ./setup-vars 6 $DIALOG --title "YES/NO/MAYBE BOX" \ 7 --clear \ 8 --ok-label "Next" \ 9 --no-label "Cancel" \ 10 --extra-label "Previous" --extra-button "$@" \ 11 --yesno "Hi, this is a yes/no dialog box with its labels changed. \ 15 wrapped around so that they can fit in the box? You can \ 17 'backslash n' at any place you like, but in this case, \ [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectDisassemble.cpp | 1 //===-- CommandObjectDisassemble.cpp -------- [all...] |