- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,572 for iterations (0.23 sec)
-
src/runtime/race/output_test.go
"fmt" ) func main() { c := make(chan bool, 1) threads := 1 iterations := 20000 data := 0 var wg sync.WaitGroup for i := 0; i < threads; i++ { wg.Add(1) go func() { defer wg.Done() for i := 0; i < iterations; i++ { c <- true data += 1 <- c } }() } for i := 0; i < iterations; i++ { c <- true data += 1 <- c } wg.Wait()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 25 20:44:25 UTC 2023 - 9.3K bytes - Viewed (0) -
maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
/** * <p>Xpp3DomPerfTest class.</p> */ @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.MILLISECONDS) @Warmup(iterations = 3) @Measurement(time = 10) public class Xpp3DomPerfTest { @State(Scope.Benchmark) public static class AdditionState { List<Path> poms; @Setup(Level.Iteration) public void setUp() throws IOException { Path userHome = Paths.get(System.getProperty("user.home"));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Oct 20 07:14:01 UTC 2023 - 2.9K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/AbstractIncrementalExecutionPerformanceTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc
constexpr char kBadDecompositionMessage[] = "Resource ops decomposition did not converge"; // Decomposing resource ops should not take more than a few iterations (2-3) to // converge as only a few patterns create new resource ops that can be further // decomposed. The rest of the iterations are enough to clean up any dead ops // created by decomposition. constexpr int kMaxIterations = 20;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:01:13 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/jmh/java/org/gradle/internal/reflect/CachedConstructorsBenchmark.java
import org.openjdk.jmh.infra.Blackhole; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.Random; @Fork(4) @Threads(2) @Warmup(iterations = 10) @State(Scope.Benchmark) public class CachedConstructorsBenchmark { private final static Class<?>[] CLAZZ_ARRAY = new Class<?>[]{ArrayList.class, LinkedList.class, String.class, HashMap.class};
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
return mapMaker.weakKeys(); } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) { return e.getDeclaringClass(); } static int reduceIterationsIfGwt(int iterations) { return iterations; } static int reduceExponentIfGwt(int exponent) { return exponent; } private Platform() {}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
return mapMaker.weakKeys(); } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) { return e.getDeclaringClass(); } static int reduceIterationsIfGwt(int iterations) { return iterations; } static int reduceExponentIfGwt(int exponent) { return exponent; } private Platform() {}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 4.9K bytes - Viewed (0) -
test/chanlinear.go
// take linear time. package main import ( "fmt" "runtime" "time" ) // checkLinear asserts that the running time of f(n) is in O(n). // tries is the initial number of iterations. func checkLinear(typ string, tries int, f func(n int)) { // Depending on the machine and OS, this test might be too fast // to measure with accurate enough granularity. On failure,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/cel/config.go
// current RuntimeCELCostBudgetMatchConditions gives roughly 1/4 seconds for the validation RuntimeCELCostBudgetMatchConditions = 2500000 // CheckFrequency configures the number of iterations within a comprehension to evaluate // before checking whether the function evaluation has been interrupted CheckFrequency = 100 // MaxRequestSizeBytes is the maximum size of a request to the API server
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 15 03:28:26 UTC 2023 - 2.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typeparams/termlist.go
// one iteration. for _, x := range xl { if x != nil { return false } } return true } // isAll reports whether the termlist xl represents the set of all types. func (xl termlist) isAll() bool { // If there's a 𝓤 term, the entire list is 𝓤. // If the termlist is in normal form, this requires at most // one iteration. for _, x := range xl {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 21:08:44 UTC 2023 - 3.8K bytes - Viewed (0)