Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,596 for iterations (0.33 sec)

  1. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/AbstractTaskOutputPackagingBenchmark.java

                FileUtils.forceDelete(tempDir.toFile());
            }
    
            @Setup(Level.Iteration)
            public void setupIteration() throws IOException {
                this.iterationDir = Files.createTempDirectory(tempDir, "iteration-");
            }
    
            @TearDown(Level.Iteration)
            public void tearDownIteration() throws IOException {
                FileUtils.forceDelete(iterationDir.toFile());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/UnsupportedWithConfigurationCache.java

        String because() default "";
    
        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 {};
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. pkg/volume/flexvolume/probe_test.go

    		basePath = subdirPath
    	}
    }
    
    // Issue multiple events and probe multiple times.
    func TestProberMultipleEvents(t *testing.T) {
    	const iterations = 5
    
    	// Arrange
    	_, fs, watcher, prober := initTestEnvironment(t)
    	for i := 0; i < iterations; i++ {
    		newDriver := fmt.Sprintf("multi-event-driver%d", 1)
    		installDriver(newDriver, fs)
    		driverPath := filepath.Join(pluginDir, newDriver)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 28 11:14:00 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/collect/TopKSelector.java

          } else if (pivotNewIndex < k) {
            left = Math.max(pivotNewIndex, left + 1);
            minThresholdPosition = pivotNewIndex;
          } else {
            break;
          }
          iterations++;
          if (iterations >= maxIterations) {
            @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts
            T[] castBuffer = (T[]) buffer;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top