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 java.util.concurrent.CompletableFuture; | |
import java.util.function.BiConsumer; | |
import java.util.function.Consumer; | |
public abstract class Errors implements Consumer<Throwable> { | |
public static <T, V> Completing<T, V> whenComplete(CompletableFuture<T> completableFuture) { | |
return new Completing(completableFuture); | |
} | |
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 org.bouncycastle.asn1.x509.AlgorithmIdentifier; | |
import org.bouncycastle.crypto.Digest; | |
import org.bouncycastle.operator.DigestCalculator; | |
import org.bouncycastle.operator.DigestCalculatorProvider; | |
import org.bouncycastle.operator.OperatorCreationException; | |
import org.bouncycastle.operator.bc.BcDefaultDigestProvider; | |
import org.bouncycastle.operator.bc.BcDigestProvider; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; |
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 jdk.incubator.vector.IntVector; | |
import jdk.incubator.vector.VectorOperators; | |
import jdk.incubator.vector.VectorShuffle; | |
import jdk.incubator.vector.VectorSpecies; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Arrays; | |
/** | |
* https://github.com/bitcoin/bitcoin/blob/7fcf53f7b4524572d1d0c9a5fdc388e87eb02416/src/crypto/sha256.h |
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
vim.g.mapleader = ' ' | |
vim.g.maplocalleader = ' ' | |
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | |
if not vim.loop.fs_stat(lazypath) then | |
vim.fn.system({ | |
"git", | |
"clone", | |
"--filter=blob:none", | |
"https://github.com/folke/lazy.nvim.git", |
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 java.lang.foreign.AddressLayout; | |
import java.lang.foreign.Arena; | |
import java.lang.foreign.FunctionDescriptor; | |
import java.lang.foreign.GroupLayout; | |
import java.lang.foreign.Linker; | |
import java.lang.foreign.MemoryLayout; | |
import java.lang.foreign.MemorySegment; | |
import java.lang.foreign.SymbolLookup; | |
import java.lang.foreign.ValueLayout; | |
import java.lang.invoke.MethodHandle; |
OlderNewer