Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for counter1 (0.19 sec)

  1. src/cmd/go/go_test.go

    	defer tg.cleanup()
    	tg.parallel()
    	tg.tempDir("home/go")
    	tg.setenv(homeEnvName(), tg.path("home"))
    	// Set TEST_TELEMETRY_DIR to a path that doesn't exist
    	// so that the counter uploading code doesn't write
    	// the counter token file to the temp dir after the test finishes.
    	tg.setenv("TEST_TELEMETRY_DIR", "/no-telemetry-dir")
    
    	tg.run("env", "GOPATH")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

        }
        op_name += type;
        return TF_NewOperation(
            graph_, op_name.c_str(),
            ::tensorflow::strings::StrCat("name", counter_++).c_str());
      }
    
      TF_Status* s_;
    
     private:
      TF_Graph* graph_;
      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    // TODO(ashankar): Use gmock matchers instead?
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	)
    
    	for success := range done {
    		totalResp++
    		if success {
    			validResp++
    		}
    
    		if totalResp >= minDisks && opts.FastGetObjInfo {
    			rw.Lock()
    			ok := countErrs(errs, errFileNotFound) >= minDisks || countErrs(errs, errFileVersionNotFound) >= minDisks
    			rw.Unlock()
    			if ok {
    				err = errFileNotFound
    				if opts.VersionID != "" {
    					err = errFileVersionNotFound
    				}
    				break
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  4. cmd/erasure-healing_test.go

    		_, err = objLayer.HealObject(ctx, bucket, object, "", hopts)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		fileInfos, errs = readAllFileInfo(ctx, erasureDisks, "", bucket, object, "", false, true)
    		if countErrs(errs, nil) != len(fileInfos) {
    			t.Fatal("Expected all xl.meta healed, but partial heal detected")
    		}
    
    		fileInfos, errs = readAllFileInfo(ctx, erasureDisks, "", minioMetaBucket, cfgFile, "", false, true)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    For example:
    
    ```mlir
      %cluster = "tf_device.cluster"() ( {
        %a = "tf.A"(%arg0) {_xla_outside_compilation = "cluster1"} : (tensor<i32>) -> tensor<i32>
        %b = "tf.B"(%a) : (tensor<i32>) -> tensor<i32>
        %c = "tf.C"(%b) {_xla_outside_compilation = "cluster1"} : (tensor<i32>) -> tensor<i32>
        tf_device.return %c : tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>Note that if any input set is empty, the Cartesian product will also be empty. If no sets at
       * all are provided (an empty list), the resulting Cartesian product has one element, an empty
       * list (counter-intuitive, but mathematically consistent).
       *
       * <p><i>Performance notes:</i> while the cartesian product of sets of size {@code m, n, p} is a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  7. src/internal/trace/order.go

    	s.inFlight = s.inFlight[:len(s.inFlight)-1]
    	return desc, nil
    }
    
    // seqCounter represents a global sequence counter for a resource.
    type seqCounter struct {
    	gen uint64 // The generation for the local sequence counter seq.
    	seq uint64 // The sequence number local to the generation.
    }
    
    // makeSeq creates a new seqCounter.
    func makeSeq(gen, seq uint64) seqCounter {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api_test.go

    			d++
    			return d
    		}`, []string{
    			"d = 3", "b = f()", "c = f()", "a = c + b",
    		}},
    		// test case for go.dev/issue/7131
    		{`package main
    
    		var counter int
    		func next() int { counter++; return counter }
    
    		var _ = makeOrder()
    		func makeOrder() []int { return []int{f, b, d, e, c, a} }
    
    		var a       = next()
    		var b, c    = next(), next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      // (MatMul0, MatMul1) -> MatMulCombined
      //
      // Device0: [Const0, Const0, MatMul0]
      // Device1: [Const1, Const1, MatMul1, MatMulCombined]
      //
      // Cluster0: [Const0, Const0, MatMul0]
      // Cluster1: [Const1, Const1, MatMul1]
      // Cluster2: [MatMulCombined]
      Scope root = Scope::NewRootScope().ExitOnError();
      absl::string_view xla_gpu_dev0 =
          "/job:worker/replica:0/task:0/device:XLA_GPU:0";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  10. src/go/types/api_test.go

    			d++
    			return d
    		}`, []string{
    			"d = 3", "b = f()", "c = f()", "a = c + b",
    		}},
    		// test case for go.dev/issue/7131
    		{`package main
    
    		var counter int
    		func next() int { counter++; return counter }
    
    		var _ = makeOrder()
    		func makeOrder() []int { return []int{f, b, d, e, c, a} }
    
    		var a       = next()
    		var b, c    = next(), next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top