Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 475 for iterations (0.15 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/deadstore.go

    		}
    		if addr[v] != node {
    			// This doesn't happen in practice, but catch it just in case.
    			used.Add(node)
    			changed = true
    		}
    		return
    	}
    
    	iterations := 0
    	for {
    		if iterations == 4 {
    			// give up
    			return
    		}
    		iterations++
    		changed := false
    		for _, b := range f.Blocks {
    			for _, v := range b.Values {
    				changed = visit(v) || changed
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/controller/statefulset/stateful_set_test.go

    	ssc.enqueueStatefulSet(set)
    	fakeWorker(ssc)
    	selector, err := metav1.LabelSelectorAsSelector(set.Spec.Selector)
    	if err != nil {
    		return err
    	}
    	iterations := 0
    	for (maxIterations < 0 || iterations < maxIterations) && set.Status.ReadyReplicas < *set.Spec.Replicas {
    		iterations++
    		pods, err := om.podsLister.Pods(set.Namespace).List(selector)
    		if err != nil {
    			return err
    		}
    		ord := len(pods) - 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

          // trait, then we don't need to chain resource ops accessing this resource
          // between iterations: Every iteration will create a new independent
          // resource. This enables more parallelism across iterations.
          if (!side_effect_analysis.IsUniqueResourceAllocationId(
                  resource_and_device.first)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

            # args, so each arg winds up back in the position where it started, but
            # possibly modified.
            #
            # NB: a `for` loop captures its iteration list before it begins, so
            # changing the positional parameters here affects neither the number of
            # iterations, nor the values presented in `arg`.
            shift                   # remove old arg
            set -- "\$@" "\$arg"      # push replacement arg
        done
    fi
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

    ) -> rd.RepresentativeDataset:
      """Logs the sample number for calibration.
    
      If in debug logging level, the "sample number / total num samples" is logged
      for every 5 iterations.
    
      This is often useful when tracking the progress of the calibration step which
      is often slow and may look stale if there's no logs being printed.
    
      Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. src/iter/pull_test.go

    			c = 0
    			ng = nng
    		}
    		if c >= 100 {
    			// The same value 100 times in a row is good enough.
    			return ng
    		}
    		runtime.Gosched()
    	}
    	panic("failed to stabilize NumGoroutine after 1000 iterations")
    }
    
    func TestPullDoubleNext(t *testing.T) {
    	next, _ := Pull(doDoubleNext())
    	nextSlot = next
    	next()
    	if nextSlot != nil {
    		t.Fatal("double next did not fail")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/math/big/arith_ppc64x.s

    	MOVD y+48(FP), R4	// R4 = y = c
    	MOVD z_len+8(FP), R11	// R11 = z_len
    
    	CMP   R11, $0		// If z_len is zero, return
    	BEQ   done
    
    	// We will process the first iteration out of the loop so we capture
    	// the value of c. In the subsequent iterations, we will rely on the
    	// value of CA set here.
    	MOVD  0(R8), R20	// R20 = x[i]
    	ADD   $-1, R11		// R11 = z_len - 1
    	ADDC  R20, R4, R6	// R6 = x[i] + c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top