This file contains 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
Handle 0x0012, DMI type 17, 92 bytes | |
Memory Device | |
Array Handle: 0x000B | |
Error Information Handle: 0x0011 | |
Total Width: 64 bits | |
Data Width: 64 bits | |
Size: 32 GB | |
Form Factor: DIMM | |
Set: None | |
Locator: DIMM 0 |
This file contains 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 rust-script | |
//! ```cargo | |
//! [dependencies] | |
//! clap = { version = "4.4.9", features = ["std", "derive", "help"] } | |
//! memmap = "0.7.0" | |
//! procfs = { version = "0.16.0", default-features = false } | |
//! thousands = "0.2.0" | |
//! ``` | |
/// | |
/// This app can be executed with `rust-script` tool like this: |
This file contains 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
Compiling rustix v0.37.3 | |
Compiling esp-idf-hal v0.40.1 | |
Compiling esp-idf-sys v0.32.1 | |
Compiling esp-idf-svc v0.45.0 | |
Compiling rust-esp32-std-demo v0.29.0 (/home/user/dev/rust_esp/demo2) | |
error[E0432]: unresolved import `super::super::offset::libc_posix_fadvise` | |
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:19:5 | |
| | |
19 | use super::super::offset::libc_posix_fadvise; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `libc_posix_fadvise` in `backend::offset` |
This file contains 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
[package] | |
name = "wobli" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] |
This file contains 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
cmake_minimum_required (VERSION 3.8) | |
set(CMAKE_VERBOSE_MAKEFILE on) | |
project(plugin CXX) | |
add_executable(test test.cc) | |
em_link_js_library(test "lib.js") |
This file contains 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
set bell-style visible | |
set completion-ignore-case on | |
set completion-map-case on | |
set completion-display-width 106 | |
set output-meta on | |
set skip-completed-text on | |
set convert-meta on | |
"\e`s": backward-word # ctrl-left | |
"\e`t": forward-word # ctrl-right |
This file contains 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
2021-12-28 10:23:49 | |
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode): | |
"pool-25-thread-2" #269 prio=5 os_prio=0 tid=0x0000000039a54000 nid=0x30d0 waiting on condition [0x000000009f33d000] | |
java.lang.Thread.State: WAITING (parking) | |
at sun.misc.Unsafe.park(Native Method) | |
- parking to wait for <0x000000063c6010a0> (a java.util.concurrent.CompletableFuture$Signaller) | |
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) | |
at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1685) | |
at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3320) |
This file contains 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
import itertools | |
import subprocess as sp | |
import json | |
import pprint | |
from collections import namedtuple | |
JQ_PATH = "/usr/local/bin/jq" | |
FIO_PATH = "/usr/local/bin/fio" | |
JQ_QUERY = namedtuple("JQ_QUERY", ["query", "name", "parse_fn"]) |
This file contains 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/server/src/main/java/org/elasticsearch/tasks/TaskManager.java b/server/src/main/java/org/elasticsearch/tasks/TaskManager.java | |
index 10fb4eced77..4be7707d886 100644 | |
--- a/server/src/main/java/org/elasticsearch/tasks/TaskManager.java | |
+++ b/server/src/main/java/org/elasticsearch/tasks/TaskManager.java | |
@@ -81,6 +81,8 @@ public class TaskManager implements ClusterStateApplier { | |
private final ConcurrentMapLong<CancellableTaskHolder> cancellableTasks = ConcurrentCollections | |
.newConcurrentMapLongWithAggressiveConcurrency(); | |
+ private final ConcurrentMapLong<Set<CancellableTaskHolder>> cancellableChildTasks = ConcurrentCollections | |
+ .newConcurrentMapLongWithAggressiveConcurrency(); |
This file contains 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
version: '2.2' | |
services: | |
es01: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2 | |
container_name: es01 | |
environment: | |
- node.name=es01 | |
- cluster.name=es-docker-cluster | |
- discovery.seed_hosts=es02,es03 | |
# - discovery.zen.ping.unicast.hosts=es02,es03 |
NewerOlder