Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 301 for iterations (0.34 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/prepare-storage.go

    	}
    
    	tries++ // tried already once
    
    	// Wait on each try for an update.
    	ticker := time.NewTicker(1 * time.Second)
    	defer ticker.Stop()
    
    	for {
    		// Only log once every 10 iterations, then reset the tries count.
    		verbose = tries >= 10
    		if verbose {
    			tries = 1
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_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 $immutable_size elements are invariants between iterations.
        results: a list of futures.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir

    // RUN: tf-tfrt-opt -tf-to-tfrt="enable-while-parallel-iterations=true" %s | FileCheck %s --dump-input=fail
    
    // CHECK-LABEL: func @cond_false(%arg0: !tfrt.chain, %arg1: !tfrt_fallback.tf_tensor) -> (!tfrt.chain, !tfrt_fallback.tf_tensor)
    func.func @cond_false(%arg0: tensor<i32>) -> tensor<i32> {
      %0 = "tf.Const"() {device = "/device:CPU:0", value = dense<-1> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/go/ast/filter.go

    func MergePackageFiles(pkg *Package, mode MergeMode) *File {
    	// Count the number of package docs, comments and declarations across
    	// all package files. Also, compute sorted list of filenames, so that
    	// subsequent iterations can always iterate in the same order.
    	ndocs := 0
    	ncomments := 0
    	ndecls := 0
    	filenames := make([]string, len(pkg.Files))
    	var minPos, maxPos token.Pos
    	i := 0
    	for filename, f := range pkg.Files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top