- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for blackholed (0.28 sec)
-
src/net/dial_test.go
c.Close() }() } wg.Wait() dss.teardown() after := sw.Sockets() if len(after) != len(before) { t.Errorf("got %d; want %d", len(after), len(before)) } } // Define a pair of blackholed (IPv4, IPv6) addresses, for which dialTCP is // expected to hang until the timeout elapses. These addresses are reserved // for benchmarking by RFC 6890. const ( slowDst4 = "198.18.0.254" slowDst6 = "2001:2::254"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 30.3K bytes - Viewed (0) -
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) -
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) -
pilot/pkg/networking/core/listener_waypoint.go
port = service.Ports[0].Port // Do not return blackhole cluster for service==nil case as there is a legitimate use case for // calling this function with nil service: to route to a pre-defined statically configured cluster // declared as part of the bootstrap. // If blackhole cluster is needed, do the check on the caller side. See gateway and tls.go for examples. }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 27.6K bytes - Viewed (0)