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
1: * | |
2: ** | |
3: *.* | |
4: **.* | |
5: *.*.* | |
6: **...* | |
7: *.*...* | |
8: **.*...* | |
9: *.*.*...* | |
10: **...*...* |
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
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.TransferToPerformance.transferTo", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-1.fc37.aarch64/bin/java", | |
"jvmArgs" : [ | |
], |
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
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.TransferToPerformance.transferTo", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-1.fc37.aarch64/bin/java", | |
"jvmArgs" : [ | |
], |
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
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.TransferToPerformance.transferTo", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc35.x86_64/bin/java", | |
"jvmArgs" : [ | |
], |
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
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.TransferToPerformance.transferTo", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-2.fc35.x86_64/bin/java", | |
"jvmArgs" : [ | |
], |
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 concurrent; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import java.util.concurrent.locks.Condition; | |
import java.util.concurrent.locks.ReentrantLock; | |
import java.util.function.Consumer; | |
import java.util.stream.IntStream; | |
import java.util.stream.Stream; |
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 compression; | |
import java.util.Arrays; | |
import java.util.function.Supplier; | |
import java.util.stream.Collectors; | |
import java.util.stream.IntStream; | |
public class Compression { | |
public static String compress1(String input) { |
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 io; | |
import java.util.function.BiFunction; | |
import java.util.function.Function; | |
/** | |
* Instances of this class are used for handling {@link ResourceConstructor construction}, | |
* {@link Res#applyAndDispose(Function) consumption with automatic destruction} and | |
* {@link Res#apply(BiFunction)} consumption with arranged destruction} | |
* of resources. They encapsulate logic to destruct resources and wrap checked |
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
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.ReflectionSpeedBenchmark.constructorConst", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/home/peter/work/jdk/jdk-stable/bin/java", | |
"jvmArgs" : [ | |
], |
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
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.ReflectionSpeedBenchmark.constructorConst", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/home/peter/work/jdk/jdk-base/bin/java", | |
"jvmArgs" : [ | |
], |
NewerOlder