Hello. I encountered to the same problem while analyzing Nomad application via Callgrind tool.
Valgrind versions tested:
- valgrind-3.24.0 (Arch Linux, pacman)
commit
2d09ef48e
from the master branch.
Reproduction command and the resulting log:
I have bought laptop Huawei Matebook D16 RLEF-X. Tried to use Arch Linux and encountered with the problem:
sudo systemctl suspend
)mount
to see that the disk is read-only.
Moreover, it determines like read-only, however, it is just broken.
No zsh history, no executables, no way to poweroff without power button long-press.import functools | |
import struct | |
import types | |
import dis | |
def _patch_code(code: types.CodeType): | |
# Call function with 0 arguments | |
function_call_bytearray = bytearray(dis.opmap['CALL_FUNCTION'].to_bytes(1, byteorder='little') + b'\x00') |
SERVER_SIDE = guiGetScreenSize == nil | |
CLIENT_SIDE = guiGetScreenSize ~= nil | |
--------------- | |
-- LIFECYCLE -- | |
--------------- | |
if SERVER_SIDE then | |
addEventHandler('onResourceStart', resourceRoot, function() |
cmake_minimum_required(VERSION 3.4) # Минимальная версия CMake
set(CMAKE_CXX_STANDARD 17) # Стандарт C++
set(CMAKE_CXX_STANDARD_REQUIRED ON) # Обязательность установки указанного стандарта (если OFF (по умолчанию), то воспринимается как совет)
alias ll="ls -la" | |
alias pac="sudo pacman --noconfirm" | |
alias yao="yaourt --noconfirm" | |
alias give-me-upgrade="sudo pacman --noconfirm -Syyuu && yaourt --noconfirm -Syyuua" | |
alias give-me-ssh="ssh-add $(ls ~/.ssh | egrep "^([^\.]+)$" | grep -v known_hosts)" |
local KEY = "sampletext" | |
addEventHandler("onResourceStart", resourceRoot, function() | |
-- ENCODE | |
local file = File.open("test.txt") | |
local raw = file:read(file.size) | |
file:close() | |
local len = #raw | |
local lent = {} |
function vk_read(token, id) { | |
if (!typeof(token) === "string") throw "TypeError: Expected string at 1 argument"; | |
if (!typeof(id) === "number") throw "TypeError: Expected number at 2 argument"; | |
// Упрощение AJAX запроса | |
let ajax = function(method, url, data) { | |
let xhr = new XMLHttpRequest(); | |
// формируем запрос | |
let send = ""; |