This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From: Coiby Xu <coxu@redhat.com> | |
| Subject: [PATCH 08018/58437] crash: add KUnit tests for | |
| Assisted-by: Google Gemini | |
| --- | |
| kernel/Kconfig.kexec | 11 ++ | |
| kernel/Makefile | 1 + | |
| kernel/crash_core.c | 15 ++ | |
| kernel/crash_core_test.c | 343 +++++++++++++++++++++++++++++++++++++++ | |
| 4 files changed, 370 insertions(+) | |
| create mode 100644 kernel/crash_core_test.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // "License": Public Domain | |
| // I, Mathias Panzenböck, place this file hereby into the public domain. Use it at your own risk for whatever you like. | |
| // In case there are jurisdictions that don't support putting things in the public domain you can also consider it to | |
| // be "dual licensed" under the BSD, MIT and Apache licenses, if you want to. This code is trivial anyway. Consider it | |
| // an example on how to get the endian conversion functions on different platforms. | |
| #ifndef PORTABLE_ENDIAN_H__ | |
| #define PORTABLE_ENDIAN_H__ | |
| #if (defined(_WIN16) || defined(_WIN32) || defined(_WIN64)) && !defined(__WINDOWS__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import threading | |
| import functools | |
| import logging | |
| import asyncio | |
| import time | |
| import sys | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app/lib/request.rb b/app/lib/request.rb | |
| index 4858aa4bc..de67d1659 100644 | |
| --- a/app/lib/request.rb | |
| +++ b/app/lib/request.rb | |
| @@ -65,6 +65,7 @@ class Request | |
| # and 5s timeout on the TLS handshake, meaning the worst case should take | |
| # about 15s in total | |
| TIMEOUT = { connect_timeout: 5, read_timeout: 10, write_timeout: 10, read_deadline: 30 }.freeze | |
| + SAFE_PRESERVED_CHARS = '+,' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| &uart0 { | |
| compatible = "nordic,nrf-uarte"; | |
| status = "okay"; | |
| current-speed = <115200>; | |
| pinctrl-0 = <&uart0_default>; | |
| pinctrl-1 = <&uart0_sleep>; | |
| pinctrl-names = "default", "sleep"; | |
| /* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Controlling the 24V power MOSFETs in the TS-7670 | |
| # for 240V solid-state relay control. | |
| # | |
| # © 2025 Stuart Longland VK4MSL | |
| # GPIOs for the various control lines. | |
| # References: | |
| # - https://cdn.embeddedts.com/resource-attachments/ts-7670-schematic.pdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CALLSIGNS ?= vk4msl ax4msl | |
| VARIANTS ?= empty cq-sstv morning-all afternoon-all evening-all 73-all 73-gotta-fly | |
| CALLSIGN ?= | |
| VARIANT ?= | |
| ifeq ($(VARIANT),) | |
| # VARIANT not set, iterate over VARIANTS | |
| .PHONY: all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| INTERFACE=pppoe0 | |
| CACHEDIR=/var/cache/inetstatus | |
| LASTSTATE=${CACHEDIR}/last | |
| date=$( TZ=UTC date "+%Y-%m-%dT%H:%M:%SZ" ) | |
| eval $( | |
| ifconfig ${INTERFACE} \ | |
| | sed -ne '/sid:/ { s/^.*PADI retries: \([0-9]*\) PADR retries: \([0-9]*\) *.*$/padi=\1 padr=\2/; p; }; /status:/ { s/^.*: \(.*\) *$/status="\1"/; p; }' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # vim: ai ts=4 sw=4 sts=4 expandtab fileencoding=utf-8 | |
| from mpd import MPDClient | |
| ## SETTINGS | |
| ## | |
| HOST = 'localhost' | |
| PORT = '6600' | |
| PASSWORD = False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Copyright (c) 2003-2022 The DragonFly Project. | |
| Copyright (c) 1992-2003 The FreeBSD Project. | |
| Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 | |
| The Regents of the University of California. All rights reserved. | |
| MPTABLE: warning duplicated PCI int entry for bus 0, dev 29, pin 0 | |
| MPTABLE: warning duplicated PCI int entry for bus 0, dev 31, pin 1 | |
| DragonFly v6.4.0-RELEASE #54: Fri Dec 30 09:06:50 PST 2022 | |
| root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC | |
| acpi_hpet: frequency 14318180 | |
| Using cputimer HPET for TSC calibration |
NewerOlder