- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for blackholed (0.17 sec)
-
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java
} @Benchmark public void createFileJava6(Blackhole blackhole) throws IOException { File file = new File(tempDirFile, "file-" + counter.incrementAndGet()); boolean created = file.createNewFile(); blackhole.consume(created); } @Benchmark public void createFileJava7(Blackhole blackhole) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 12:13:32 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/jmh/java/org/gradle/internal/reflect/HashingAlgorithmsBenchmark.java
processorFactory = HASHERS.get(type); } @Benchmark public void measure(Blackhole blackhole) { HashProcessor processor = processorFactory.create(); processor.process(input, blackhole); } interface HashProcessor { void process(byte[] input, Blackhole blackhole); } interface HashProcessorFactory { HashProcessor create(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/FileWalkingBenchmark.java
path = path.getParent(); blackhole.consume(Files.exists(path)); } blackhole.consume(path); } @Benchmark public void java6exists(Blackhole blackhole) { File file = missing ? missingFile : existingFile; blackhole.consume(file.exists()); } @Benchmark public void java7exists(Blackhole blackhole) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/jmh/java/org/gradle/internal/reflect/CachedConstructorsBenchmark.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/logging/src/jmh/java/org/gradle/internal/deprecation/DeprecationIdCreationBenchmark.java
import org.openjdk.jmh.infra.Blackhole; import static org.gradle.internal.deprecation.DeprecationMessageBuilder.createDefaultDeprecationId; @SuppressWarnings("Since15") @Threads(2) @Warmup(iterations = 5) @Measurement(iterations = 5) @State(Scope.Benchmark) public class DeprecationIdCreationBenchmark { @Benchmark public void idCreation(Blackhole bh) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 06:13:13 UTC 2024 - 1.4K bytes - Viewed (0) -
pilot/pkg/model/listener.go
// VirtualOutboundBlackholeFilterChainName is the name of the filter chain to blackhole undesired traffic VirtualOutboundBlackholeFilterChainName = "virtualOutbound-blackhole" // VirtualInboundBlackholeFilterChainName is the name of the filter chain to blackhole undesired traffic VirtualInboundBlackholeFilterChainName = "virtualInbound-blackhole" // VirtualInboundListenerName is the name for traffic capture listener
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 10 17:24:55 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/jmh/java/org/gradle/api/internal/provider/EvaluationContextPerfTest.java
import org.openjdk.jmh.annotations.OutputTimeUnit; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.Setup; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.infra.Blackhole; import java.util.concurrent.TimeUnit; @State(Scope.Thread) @OutputTimeUnit(TimeUnit.MILLISECONDS) @Fork(2) public class EvaluationContextPerfTest { private final PropertyHost host = producer -> null;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:31 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/OptionalBenchmark.java
import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; import org.openjdk.jmh.infra.Blackhole; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Optional; import static java.util.concurrent.TimeUnit.SECONDS; /*
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java
} @Benchmark public void stat_missing_file(Blackhole bh) { bh.consume(getAccessor(accessorClassName).stat(missing)); } @Benchmark public void stat_directory(Blackhole bh) { bh.consume(getAccessor(accessorClassName).stat(directory)); } @Benchmark public void stat_existing(Blackhole bh) { bh.consume(getAccessor(accessorClassName).stat(realFile));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 5.2K bytes - Viewed (0)