Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,295 for iterations (0.27 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/AbstractIncrementalExecutionPerformanceTest.groovy

        def setup() {
            runner.useToolingApi = true
            if (OperatingSystem.current().linux) {
                runner.warmUpRuns = 10
                runner.runs = 40
            } else {
                // Reduce the number of iterations on Windows and macOS, since the performance tests are slower there
                runner.warmUpRuns = 5
                runner.runs = 20
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/slices/sort_benchmark_test.go

    				}
    			}
    			cmpFunc := func(a, b *myStruct) int {
    				if n := strings.Compare(a.a, b.a); n != 0 {
    					return n
    				}
    				return cmp.Compare(a.n, b.n)
    			}
    			// Presort the slice so all benchmark iterations are identical.
    			slices.SortFunc(structs, cmpFunc)
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				// Sort the slice twice because slices.SortFunc modifies the slice in place.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedForConfigurationCache.java

         */
        String[] bottomSpecs() default {};
    
        /**
         * Declare regular expressions matching the iteration name.
         * Defaults to an empty array, meaning this annotation applies to all iterations of the annotated feature.
         */
        String[] iterationMatchers() default {};
    
        String because() default "";
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/annotations/RunFor.groovy

        ScenarioType type()
    
        OperatingSystem[] operatingSystems()
    
        String[] testProjects() default []
    
        /**
         * Declare regular expressions matching the iteration name.
         * Defaults to an empty string, meaning this annotation applies to all iterations of the annotated feature.
         */
        String iterationMatcher() default "";
    
        String comment() default "";
    }
    
    enum ScenarioType {
        PER_COMMIT,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top