Skip to content

Instantly share code, notes, and snippets.

---
Checks: "*
,-llvmlibc*
,-*readability-braces-around-statements
,-hicpp-braces-around-statements
,-readability-identifier-length
,-fuchsia-default-arguments*
,-*-non-private-member-variables-in-classes
,-fuchsia-trailing-return
,-altera-unroll-loops"
extends PianoParasite
# Called when the node enters the scene tree for the first time.
func _ready():
setKeyMap({ "#INT0001_A1": "A0", "#INT0001_A2": "A1", "#INT0001_A3": "A2", "#INT0001_A4": "A3", "#INT0001_A5": "A4", "#INT0001_A6": "A5", "#INT0001_A7": "A6", "#INT0001_A8": "A7", "#INT0001_B1": "H0", "#INT0001_B2": "H1", "#INT0001_B3": "H2", "#INT0001_B4": "H3", "#INT0001_B5": "H4", "#INT0001_B6": "H5", "#INT0001_B7": "H6", "#INT0001_B8": "H7", "#INT0001_C1": "C1", "#INT0001_C2": "C2", "#INT0001_C3": "C3", "#INT0001_C4": "C4", "#INT0001_C5": "C5", "#INT0001_C6": "C6", "#INT0001_C7": "C7", "#INT0001_C8": "C8", "#INT0001_D1": "D1", "#INT0001_D2": "D2", "#INT0001_D3": "D3", "#INT0001_D4": "D4", "#INT0001_D5": "D5", "#INT0001_D6": "D6", "#INT0001_D7": "D7", "#INT0001_E1": "E1", "#INT0001_E2": "E2", "#INT0001_E3": "E3", "#INT0001_E4": "E4", "#INT0001_E5": "E5", "#INT0001_E6": "E6", "#INT0001_E7": "E7", "#INT0001_Ebony_01": "B0", "#INT0001_Ebony_02": "Cis1", "#INT0001_Ebony_03": "Es1", "#INT0001_Ebony_04": "Fis1
;; why would you not run this perfectly innocent file to reproduce a bug D8
(defvar my-debug-dir (getenv "MYDEBUGDIR"))
(defvar problematic-file "drm_formats.cpp.gz")
;(make-directory my-debug-dir)
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See
;; and . Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
(gdb) bt full
#0  0x0000000000569eb0 in re_match_2_internal (bufp=bufp@entry=0xbbbc48 <searchbufs+6152>, string1=string1@entry=0x1580e690 "/*\n  Simple DirectMedia Layer\n  Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org>\n\n  This software is provided 'as-is', without any express or implied\n  warranty.  In no event will the authors"..., size1=size1@entry=0, string2=string2@entry=0x1580e690 "/*\n  Simple DirectMedia Layer\n  Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org>\n\n  This software is provided 'as-is', without any express or implied\n  warranty.  In no event will the authors"..., size2=size2@entry=59722, pos=pos@entry=5277, regs=0xb2c1f8 <main_thread+152>, stop=5405) at regex-emacs.c:5069
        str = <optimized out>
        pat = 0x1 <error: Cannot access memory at address 0x1>
        mcnt = <optimized out>
        end1 = 0x1580e690 "/*\n  Simple DirectMedia Layer\n  Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org>\n\n  This software is provided 'as-is', without
In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.18.0, Xaw3d scroll bars)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101012
System Description: NixOS 24.05 (Uakari)

Configured using:
 'configure
 --prefix=/nix/store/p3lxifgandfpa174hfspm90wy5jqp05j-emacs-29.3
 --disable-build-details --with-modules --with-x-toolkit=lucid
(gdb) bt full
#0  re_match_2_internal (bufp=bufp@entry=0xbbab68 <searchbufs+1832>,  
   string1=string1@entry=0xe479dd0 "/*\n * Copyright © Canonical Ltd.\n *\n * This program is free software: you can redistribute it and/or modify it\n * under the terms of the GNU Lesser
General Public License version 2 or 3,\n * as publis"..., size1=size1@entry=12659,  
   string2=string2@entry=0xe47d713 "\n        return mir_pixel_format_rgb_565;\n    case DRM_FORMAT_RGB888:\n        return mir_pixel_format_rgb_888;\n    case DRM_FORMAT_BGR888:\n        
return mir_pixel_format_bgr_888;\n    case DRM_FORMAT_"..., size2=size2@entry=6251, pos=pos@entry=14819, regs=0xb2c1f8 <main_thread+152>, stop=14855) at regex-emacs.c:4674
       mcnt = <optimized out>
       end1 = 0xe47cf43 ""
       end2 = 0xe47ef7e ""
---
BasedOnStyle: LLVM
AlignAfterOpenBracket: BlockIndent
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: true
AcrossComments: true
AlignCompound: true
PadOperators: false
AlignEscapedNewlines: Left
---
BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: true
AcrossComments: true
AlignCompound: true
global theStats[64]
global theShorts[100]
global theErrors[64]
global timestamps[64]
global aggTotalNFSRead
global aggTotalXFSRead
global aggGenericFileRead
global aggNFSConcurrency
global currentConcurrency[10]