Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,164 for iterations (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertEquals(ITERATIONS / 2, map.size());
        assertEquals(nonZeroKeys, map.asMap().keySet());
      }
    
      public void testClear() {
        AtomicLongMap<Object> map = AtomicLongMap.create();
        for (int i = 0; i < ITERATIONS; i++) {
          map.put(new Object(), i);
        }
        assertEquals(ITERATIONS, map.size());
    
        map.clear();
        assertEquals(0, map.size());
        assertTrue(map.isEmpty());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertEquals(ITERATIONS / 2, map.size());
        assertEquals(nonZeroKeys, map.asMap().keySet());
      }
    
      public void testClear() {
        AtomicLongMap<Object> map = AtomicLongMap.create();
        for (int i = 0; i < ITERATIONS; i++) {
          map.put(new Object(), i);
        }
        assertEquals(ITERATIONS, map.size());
    
        map.clear();
        assertEquals(0, map.size());
        assertTrue(map.isEmpty());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractPluginValidatingSmokeTest.groovy

                $buildScriptConfigurationForValidation
            """
            configureValidation(id, version)
    
            expect:
            performValidation(version)
    
            where:
            iterations << iterations()
            (id, version) = iterations
        }
    
        void configureValidation(String testedPluginId, String version) {
            allPlugins.alwaysPasses = true
        }
    
        void performValidation(String version) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/NativeCleanBuildPerformanceTest.groovy

                ])
        ])
        def "clean assemble (native)"() {
            given:
            def iterations = runner.testProject in ['smallNative', 'smallCppApp', 'smallCppMulti'] ? 40 : null
            runner.tasksToRun = ["assemble"]
            runner.cleanTasks = ["clean"]
            runner.runs = iterations
            runner.warmUpRuns = iterations
    
            when:
            def result = runner.run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/testing/benchmark.go

    type PB struct {
    	globalN *atomic.Uint64 // shared between all worker goroutines iteration counter
    	grain   uint64         // acquire that many iterations from globalN at once
    	cache   uint64         // local cache of acquired iterations
    	bN      uint64         // total number of iterations to execute (b.N)
    }
    
    // Next reports whether there are more iterations to execute.
    func (pb *PB) Next() bool {
    	if pb.cache == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDETaskExecutionPerformanceTest.groovy

            then:
            result.assertCurrentVersionHasNotRegressedWithHighRelativeMedianDifference()
        }
    
        private setupRunner() {
            def iterations = determineIterations()
            runner.warmUpRuns = iterations
            runner.runs = iterations
        }
    
        private determineIterations() {
            return runner.testProject == LARGE_MONOLITHIC_JAVA_PROJECT.projectName ? 200 : 40
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentDependencyResolutionIntegrationTest.groovy

                        }
                    }
                }
    
            '''
            int groups = 20
            int iterations = 100
            groups.times { group ->
                def pfile = file("project$group/build.gradle")
                pfile << """
    
                    dependencies {
                """
                iterations.times { i ->
                    file("project_${i}/build.gradle") << ''
                    pfile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. 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)
  9. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDEModelPerformanceTest.groovy

            then:
            result.assertCurrentVersionHasNotRegressedWithHighRelativeMedianDifference()
        }
    
        private setupRunner() {
            def iterations = determineIterations()
            runner.warmUpRuns = iterations
            runner.runs = iterations
        }
    
        private determineIterations() {
            return runner.testProject == LARGE_MONOLITHIC_JAVA_PROJECT.projectName ? 200 : 40
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/JavaClassNameFormatter.java

            int endIdx = qualifiedClassName.lastIndexOf(PACKAGE_SEPARATOR);
            int iterations = 0;
    
            while(beginIdx + (qualifiedClassName.length() - endIdx) <= maxLengthWithoutEllipsis) {
                // Alternate appending packages at beginning and end until we reach max length
                if (iterations % 2 == 0) {
                    int tmp = qualifiedClassName.indexOf(PACKAGE_SEPARATOR, beginIdx + 1);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top