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
package io.quarkus.runtime.configuration; | |
import java.io.Serial; | |
import java.util.Iterator; | |
import java.util.Map; | |
import java.util.stream.Collectors; | |
import io.smallrye.config.ConfigSourceInterceptorContext; | |
import io.smallrye.config.ConfigValue; | |
import io.smallrye.config.RelocateConfigSourceInterceptor; |
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
Classfile /Users/david/tmp/bad-jar/org/eclipse/microprofile/config/inject/ConfigProperty.class | |
Last modified Dec 21, 2022; size 1290 bytes | |
SHA-256 checksum cfa585cf1e9b0107170de337edfd3e0805bac046d033693d14eecce51dea17a3 | |
Compiled from "ConfigProperty.java" | |
public interface org.eclipse.microprofile.config.inject.ConfigProperty extends java.lang.annotation.Annotation | |
minor version: 0 | |
major version: 52 | |
flags: (0x2601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT, ACC_ANNOTATION | |
this_class: #1 // org/eclipse/microprofile/config/inject/ConfigProperty | |
super_class: #2 // java/lang/Object |
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
import java.io.IOException; | |
import java.nio.charset.StandardCharsets; | |
class Scratch { | |
public static void main(String[] args) throws IOException { | |
ProcessBuilder pb = new ProcessBuilder("/usr/bin/git", "shortlog", "dhaskjfhdasjkdfhaskl"); | |
pb.redirectOutput(ProcessBuilder.Redirect.PIPE); | |
pb.redirectError(ProcessBuilder.Redirect.PIPE); | |
pb.redirectInput(ProcessBuilder.Redirect.DISCARD.file()); | |
Process process = pb.start(); |
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
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.io.OutputStreamWriter; | |
import java.nio.charset.StandardCharsets; | |
import java.util.List; | |
class Scratch { | |
// Pager example | |
public static void main(String[] args) { |
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
Live value info layout; switch on # of leading zeros | |
βββ―ββ―ββ―ββ―ββ―ββ―ββ―ββ―ββ―ββ―ββ―ββ―ββ―ββ―ββ―ββ | |
βFβEβDβCβBβAβ9β8β7β6β5β4β3β2β1β0β Bit# | |
β‘ββΏββ·ββ·ββ·ββ·ββΏββΏββ·ββ·ββ·ββ·ββ·ββ·ββ·ββ·ββ© | |
β1β BaseReg βΒ±β Signed offset β Locate in memory | |
βββ΄ββ¬ββββββββ΄ββ΄ββββββββββββββββββ€ | |
β0 1β Bits, 1 per word β References in memory | |
βββββ΄ββ¬ββ¬ββββββββββββββββββββββββ€ | |
β0 0 1βΒ±β Signed offset β Add to in-memory offset |
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
private static <K1, K2, V1, V2> Map<K2, V2> transform(Map<K1, V1> map, Function<K1, K2> keyTransform, Function<V1, V2> valueTransform) { | |
Iterator<Map.Entry<K1, V1>> iterator = map.entrySet().iterator(); | |
if (! iterator.hasNext()) { | |
return Map.of(); | |
} | |
Map.Entry<K1, V1> entry = iterator.next(); | |
K2 k1 = keyTransform.apply(entry.getKey()); | |
V2 v1 = valueTransform.apply(entry.getValue()); | |
if (! iterator.hasNext()) { | |
return Map.of(k1, v1); |
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
public <T extends java.lang.Object> T[] toArray(T[]); | |
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object; | |
flags: (0x0001) ACC_PUBLIC | |
Code: | |
stack=2, locals=4, args_size=2 | |
0: aload_0 | |
1: getfield #21 // Field mutex:Ljava/lang/Object; | |
4: dup | |
5: astore_2 | |
6: monitorenter |
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
atomicrmw [volatile] <operation> <ty>* <pointer>, <ty> <value> [syncscope("<target-scope>")] <ordering>[, align <alignment>] ; yields ty | |
<...> | |
"The instruction can take an optional align attribute. The alignment must be a power of two greater or equal to the size of the <value> type. If unspecified, the alignment is assumed to be equal to the size of the β<value>β type. Note that this default alignment assumption is different from the alignment used for the load/store instructions when align isnβt specified." |
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
[ | |
{ | |
"name": "New Atari", | |
"author": "DML", | |
"switchMount": "cherry", | |
"switchBrand": "cherry", | |
"switchType": "MX1A-G1xx", | |
"pcb": true, | |
"css": "" | |
}, |
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
./build/linux-x86_64-normal-server-release/buildtools/gensrc/java.compiler.interim/module-info.java | |
./build/linux-x86_64-normal-server-release/buildtools/gensrc/jdk.compiler.interim/module-info.java | |
./build/linux-x86_64-normal-server-release/buildtools/gensrc/jdk.javadoc.interim/module-info.java | |
./build/linux-x86_64-normal-server-release/buildtools/gensrc/jdk.rmic.interim/module-info.java | |
./build/linux-x86_64-normal-server-release/support/gensrc/java.logging/sun/util/logging/resources/logging.java | |
./build/linux-x86_64-normal-server-release/support/gensrc/java.logging/sun/util/logging/resources/logging_it.java | |
./build/linux-x86_64-normal-server-release/support/gensrc/java.logging/sun/util/logging/resources/logging_pt_BR.java | |
./build/linux-x86_64-normal-server-release/support/gensrc/java.logging/sun/util/logging/resources/logging_zh_CN.java | |
./build/linux-x86_64-normal-server-release/support/gensrc/java.logging/sun/util/logging/resources/logging_fr.java | |
./build/linux-x86_64-normal-server-release/support/gensrc/j |
NewerOlder