Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for checkDone (0.23 sec)

  1. src/internal/trace/traceviewer/static/webcomponents.min.js

    ion(e,t){this.cache={},this.onload=e,this.oncomplete=t,this.inflight=0,this.pending={}};r.prototype={addNodes:function(e){this.inflight+=e.length;for(var t,n=0,r=e.length;n<r&&(t=e[n]);n++)this.require(t);this.checkDone()},addNode:function(e){this.inflight++,this.require(e),this.checkDone()},require:function(e){var t=e.src||e.href;e.__nodeUrl=t,this.dedupe(t,e)||this.fetch(t,e)},dedupe:function(e,t){if(this.pending[e])return this.pending[e].push(t),!0;return this.cache[e]?(this.onload(e,t,this.c...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 115.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/mono_test.go

    }
    
    func TestMonoGood(t *testing.T) {
    	for i, good := range goods {
    		if err := checkMono(t, good); err != nil {
    			t.Errorf("%d: unexpected failure: %v", i, err)
    		}
    	}
    }
    
    func TestMonoBad(t *testing.T) {
    	for i, bad := range bads {
    		if err := checkMono(t, bad); err == nil {
    			t.Errorf("%d: unexpected success", i)
    		} else {
    			t.Log(err)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    		}
    		if !bytes.Contains(line, []byte("+build")) {
    			continue
    		}
    		if err := checkLine(string(line), i >= cutoff); err != nil {
    			pass.Reportf(analysisutil.LineStart(tf, i+1), "%s", err)
    			continue
    		}
    	}
    	return nil
    }
    
    // checkLine checks a line that starts with "//" and contains "+build".
    func checkLine(line string, pastCutoff bool) error {
    	line = strings.TrimPrefix(line, "//")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/go/types/mono_test.go

    }
    
    func TestMonoGood(t *testing.T) {
    	for i, good := range goods {
    		if err := checkMono(t, good); err != nil {
    			t.Errorf("%d: unexpected failure: %v", i, err)
    		}
    	}
    }
    
    func TestMonoBad(t *testing.T) {
    	for i, bad := range bads {
    		if err := checkMono(t, bad); err == nil {
    			t.Errorf("%d: unexpected success", i)
    		} else {
    			t.Log(err)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/test_utils.cc

                                                absl::Span<const int64_t> shape,
                                                int8_t value) {
      AbstractTensorPtr tensor(ctx->CreateTensor(dtype, shape));
      CHECK_NE(tensor.get(), nullptr)
          << "Tensor creation failed for tensor of dtype: "
          << DataTypeString(dtype);
      CHECK_EQ(tensor->Type(), dtype);
      for (int i = 0; i < shape.size(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:13:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. src/go/printer/printer_test.go

    var fset = token.NewFileSet()
    
    type checkMode uint
    
    const (
    	export checkMode = 1 << iota
    	rawFormat
    	normNumber
    	idempotent
    	allowTypeParams
    )
    
    // format parses src, prints the corresponding AST, verifies the resulting
    // src is syntactically correct, and returns the resulting src or an error
    // if any.
    func format(src []byte, mode checkMode) ([]byte, error) {
    	// parse src
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. src/testing/fstest/testfs.go

    			}
    		}
    	}
    
    	for _, entry1 := range list1 {
    		old[entry1.Name()] = entry1
    		checkMode(entry1)
    	}
    
    	var diffs []string
    	for _, entry2 := range list2 {
    		entry1 := old[entry2.Name()]
    		if entry1 == nil {
    			checkMode(entry2)
    			diffs = append(diffs, "+ "+formatEntry(entry2))
    			continue
    		}
    		if formatEntry(entry1) != formatEntry(entry2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

          g.get(), &fld));
    
      // Check function f1_rearrange_0, input types should be {DT_BOOL, DT_RESOURCE}
      // and output types should be {DT_BOOL}.
      const FunctionDef *f1_rewritten = fld.Find("f1_rearrange_0");
      CHECK_NE(f1_rewritten, nullptr);
      ASSERT_EQ(f1_rewritten->signature().input_arg_size(), 2);
      EXPECT_EQ(f1_rewritten->signature().input_arg(0).type(), DT_BOOL);
      EXPECT_EQ(f1_rewritten->signature().input_arg(1).type(), DT_RESOURCE);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/preemption/preemption.go

    	violatingCandidates := newCandidateList(numCandidates)
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    	nodeStatuses := make(framework.NodeToStatusMap)
    	var statusesLock sync.Mutex
    	var errs []error
    	checkNode := func(i int) {
    		nodeInfoCopy := potentialNodes[(int(offset)+i)%len(potentialNodes)].Snapshot()
    		stateCopy := ev.State.Clone()
    		pods, numPDBViolations, status := ev.SelectVictimsOnNode(ctx, stateCopy, pod, nodeInfoCopy, pdbs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  10. pkg/scheduler/schedule_one.go

    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    	type nodeStatus struct {
    		node   string
    		status *framework.Status
    	}
    	result := make([]*nodeStatus, numAllNodes)
    	checkNode := func(i int) {
    		// We check the nodes starting from where we left off in the previous scheduling cycle,
    		// this is to make sure all nodes have the same chance of being examined across pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
Back to top