Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for newPos (0.16 sec)

  1. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    			delta := lastLine + 2 - newdoc.Blocks[0].Pos().StartLine
    			for _, b := range newdoc.Blocks {
    				addLines(b, delta)
    			}
    		}
    		// Append non-empty blocks to the result document.
    		for _, b := range newdoc.Blocks {
    			if _, ok := b.(*md.Empty); !ok {
    				doc.Blocks = append(doc.Blocks, b)
    			}
    		}
    		// Merge link references.
    		for key, link := range newdoc.Links {
    			if doc.Links[key] != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    	deleteBucketRPC                = grid.NewSingleHandler[*grid.MSS, grid.NoPayload](grid.HandlerDeleteBucket, grid.NewMSS, grid.NewNoPayload)
    	deletePolicyRPC                = grid.NewSingleHandler[*grid.MSS, grid.NoPayload](grid.HandlerDeletePolicy, grid.NewMSS, grid.NewNoPayload).IgnoreNilConn()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  3. cmd/import-boss/main_test.go

    		t.Fatalf("expected 1 pkg result, got %d", len(pkgs))
    	}
    	if pkgs[0].PkgPath != "k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/aaa" {
    		t.Fatalf("wrong PkgPath: %q", pkgs[0].PkgPath)
    	}
    
    	boss := newBoss(pkgs)
    	errs := boss.Verify(pkgs[0])
    
    	expect := []string{
    		`"k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/aaa" -> "k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/forbidden" is forbidden`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

      auto operands = llvm::to_vector<4>(op->getOperands());
      operands.push_back(operand);
      auto new_op = builder->create<OpT>(op->getLoc(), op->getResultTypes(),
                                         operands, attr.getAttrs());
      op->replaceAllUsesWith(new_op.getOperation()->getResults());
      op->erase();
      return new_op;
    }
    
    // Returns success if the function has at most one op of the template type and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

        if (!caller_func) return failure();
    
        builder.setInsertionPoint(call_op);
        for (auto [lifted_op, arg_idx] : lifted_op_and_arg_idx) {
          auto new_op = builder.clone(*lifted_op, mapping);
          call_op->insertOperands(arg_idx, new_op->getResult(0));
        }
    
        // Try to lift recursively until the main function.
        if (failed(LiftHashTableOpsToArguments(module_op, caller_func))) {
          return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. operator/pkg/util/progress/progress_test.go

    		newExpected := expected + "\n" + e
    		if newExpected != buf.String() {
    			t.Fatalf("expected '%v', \ngot '%v'", newExpected, buf.String())
    		}
    		expected = newExpected
    	}
    
    	p := NewLog()
    	cnp := name.PilotComponentName
    	cnpo := name.UserFacingComponentName(cnp)
    	cnb := name.IstioBaseComponentName
    	cnbo := name.UserFacingComponentName(cnb)
    	foo := p.NewComponent(string(cnp))
    	foo.ReportProgress()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller_test.go

    	for i := 0; i < count; i++ {
    		newPod := newPod(fmt.Sprintf("pod-%v", rand.String(10)), job)
    		newPod.Status = v1.PodStatus{Phase: status}
    		newPod.Status.ContainerStatuses = []v1.ContainerStatus{
    			{
    				State: v1.ContainerState{
    					Terminated: &v1.ContainerStateTerminated{
    						FinishedAt: testFinishedAt,
    					},
    				},
    			},
    		}
    		newPod.Finalizers = append(newPod.Finalizers, batch.JobTrackingFinalizer)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  8. pkg/kube/inject/inject.go

    	}
    }
    
    func updateClusterEnvs(container *corev1.Container, newKVs map[string]string) {
    	envVars := make([]corev1.EnvVar, 0)
    
    	for _, env := range container.Env {
    		if _, found := newKVs[env.Name]; !found {
    			envVars = append(envVars, env)
    		}
    	}
    
    	keys := make([]string, 0, len(newKVs))
    	for key := range newKVs {
    		keys = append(keys, key)
    	}
    	sort.Strings(keys)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (1)
  9. pkg/scheduler/framework/plugins/registry.go

    		volumezone.Name:                      volumezone.New,
    		nodevolumelimits.CSIName:             runtime.FactoryAdapter(fts, nodevolumelimits.NewCSI),
    		nodevolumelimits.EBSName:             runtime.FactoryAdapter(fts, nodevolumelimits.NewEBS),
    		nodevolumelimits.GCEPDName:           runtime.FactoryAdapter(fts, nodevolumelimits.NewGCEPD),
    		nodevolumelimits.AzureDiskName:       runtime.FactoryAdapter(fts, nodevolumelimits.NewAzureDisk),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. cni/pkg/install/kubeconfig_test.go

    	}
    	// Write out a kubeconfig with one cert
    	result, err = createKubeConfig(newCfg)
    	if err != nil {
    		t.Fatalf("did not expect failure: %v", err)
    	}
    	goldenNewFilepath := "testdata/kubeconfig-newhost"
    	testutils.CompareContent(t, []byte(result.Full), goldenNewFilepath)
    }
    
    func TestCheckNoExistingKubeConfig(t *testing.T) {
    	tmp := t.TempDir()
    	os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top