Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,596 for iterations (0.23 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

            root {
                'common.gradle'('println "poke"')
            }
    
            when:
            def allCompileOperations = 0
            def iterations = 3
            def builder = root
            iterations.times { n ->
                createJarWithProperties("foo${n}.jar", [value: n])
                new File(root.baseDir, 'build.gradle').delete()
                builder {
                    'build.gradle'("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. android/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)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/spock/Spock2FilteringIntegrationTest.groovy

                .assertTestPassed("$testMethod param=value2")
    
            where:
            testMethod << ["sub unrolled test", "super unrolled test", "super super unrolled test"]
        }
    
        def "can not filter specific iterations of unrolled tests"() {
            when:
            fails("test", "--tests", "SubClass.$testMethod")
    
            then:
            failureCauseContains("No tests found for given includes: [SubClass.$testMethod](--tests filter)")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. 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)
  5. pkg/kubelet/config/config_test.go

    	seenSources := sets.New[string](TestSource)
    	var wg sync.WaitGroup
    	const iterations = 100
    	wg.Add(2)
    
    	go func() {
    		ctx, cancel := context.WithCancel(tCtx)
    		defer cancel()
    		defer wg.Done()
    		for i := 0; i < iterations; i++ {
    			config.Channel(ctx, strconv.Itoa(i))
    		}
    	}()
    	go func() {
    		defer wg.Done()
    		for i := 0; i < iterations; i++ {
    			config.SeenAllSources(seenSources)
    		}
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/cpu-profile.go

    	}
    }
    
    func cpuHogger(f func(x int) int, y *int, dur time.Duration) {
    	// We only need to get one 100 Hz clock tick, so we've got
    	// a large safety buffer.
    	// But do at least 500 iterations (which should take about 100ms),
    	// otherwise TestCPUProfileMultithreaded can fail if only one
    	// thread is scheduled during the testing period.
    	t0 := time.Now()
    	accum := *y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_test.go

    		}
    	}
    }
    
    func TestBitwiseContended8(t *testing.T) {
    	// Start with every bit in array set to 0.
    	a := make([]uint8, 16)
    
    	// Iterations to try.
    	N := 1 << 16
    	if testing.Short() {
    		N = 1 << 10
    	}
    
    	// Set and then clear every bit in the array bit-by-bit in different goroutines.
    	done := make(chan bool)
    	for i := 0; i < 8; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. cmd/erasure-decode_test.go

    		if disk == nil {
    			continue
    		}
    		writers[i] = newBitrotWriter(disk, "", "testbucket", "object", erasure.ShardFileSize(length), DefaultBitrotAlgorithm, erasure.ShardSize())
    	}
    
    	// 10000 iterations with random offsets and lengths.
    	iterations := 10000
    
    	// Create a test file to read from.
    	buffer := make([]byte, blockSize, 2*blockSize)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/go/types/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: Wed Apr 03 18:48:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

      let summary = "Asynchronously execution of while op for tf_mlrt";
      let description = [{
        cond: The boolean to control whether the first iteration should be executed.
        arguments: The last $invariant_size elements are invariants between iterations.
        results: a list of futures.
        body_fn: input is [predicate_promise, arg0_future, arg0_promise, arg1_future, arg1_promise, ..., invariant_args] and has no returned results.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top