Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for addRow (0.25 sec)

  1. src/cmd/vendor/rsc.io/markdown/para.go

    	text := s.trimSpaceString()
    
    	if b != nil && b.table != nil {
    		if indented && text != "" && text != "|" {
    			// Continue table.
    			b.table.addRow(text)
    			return line{}, true
    		}
    		// Blank or unindented line ends table.
    		// (So does a new block structure, but the caller has checked that already.)
    		// So does a line with just a pipe:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/table.go

    	delim tableTrimmed
    	rows  []tableTrimmed
    }
    
    func (b *tableBuilder) start(hdr, delim string) {
    	b.hdr = tableTrimOuter(hdr)
    	b.delim = tableTrimOuter(delim)
    }
    
    func (b *tableBuilder) addRow(row string) {
    	b.rows = append(b.rows, tableTrimOuter(row))
    }
    
    type Table struct {
    	Position
    	Header []*Text
    	Align  []string // 'l', 'c', 'r' for left, center, right; 0 for unset
    	Rows   [][]*Text
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. istioctl/pkg/checkinject/checkinject.go

    		return row
    	})
    	w.AddHeader("WEBHOOK", "REVISION", "INJECTED", "REASON")
    	injectedTotal := 0
    	for _, ws := range was {
    		if ws.Injected {
    			injectedTotal++
    		}
    		w.AddRow(ws)
    	}
    	w.Flush()
    	if injectedTotal > 1 {
    		fmt.Fprintf(writer, "ERROR: multiple webhooks will inject, which can lead to errors")
    	}
    	return nil
    }
    
    type webhookAnalysis struct {
    	Name     string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/addmod.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    // +build ignore
    
    // Addmod adds a module as a txtar archive to the testdata/mod directory.
    //
    // Usage:
    //
    //	go run addmod.go path@version...
    //
    // It should only be used for very small modules - we do not want to check
    // very large files into testdata/mod.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      // explicit activation clipping op is not required.
      if (isa<AddOp>(next_op) && gemm_style_op->hasOneUse()) {
        // bias fusion
        CreateAndReturnQuantizedBiasPattern(
            next_op, rewriter, entry_func_op, func_result_type,
            accumulation_quantized_element_type, gemm_style_op);
      } else if (auto add_op = cast_or_null<AddOp>(
                     GetBroadcastedUserOp<AddOp>(gemm_style_op))) {
        // broadcasted bias fusion
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    	dsw.AddNode(nodeName)
    	generatedVolumeName1, pod1AddErr := dsw.AddPod(types.UniquePodName(pod1Name), controllervolumetesting.NewPod(pod1Name, pod1Name), volumeSpec, nodeName)
    	if pod1AddErr != nil {
    		t.Fatalf(
    			"AddPod failed for pod %q. Expected: <no error> Actual: <%v>",
    			pod1Name,
    			pod1AddErr)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. pkg/kubelet/pod/testing/mock_manager.go

    	return m.recorder
    }
    
    // AddPod mocks base method.
    func (m *MockManager) AddPod(pod *v1.Pod) {
    	m.ctrl.T.Helper()
    	m.ctrl.Call(m, "AddPod", pod)
    }
    
    // AddPod indicates an expected call of AddPod.
    func (mr *MockManagerMockRecorder) AddPod(pod any) *gomock.Call {
    	mr.mock.ctrl.T.Helper()
    	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPod", reflect.TypeOf((*MockManager)(nil).AddPod), pod)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	dsw.AddNode(nodeName1)
    	dsw.AddNode(nodeName2)
    
    	generatedVolumeName, podAddErr := dsw.AddPod(types.UniquePodName(podName1), controllervolumetesting.NewPod(podName1, podName1), volumeSpec, nodeName1)
    	if podAddErr != nil {
    		t.Fatalf("AddPod failed. Expected: <no error> Actual: <%v>", podAddErr)
    	}
    
    	_, podAddErr = dsw.AddPod(types.UniquePodName(podName2), controllervolumetesting.NewPod(podName2, podName2), volumeSpec, nodeName2)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/init_test.go

    			cfg:  &kubeadmapi.ClusterConfiguration{},
    			expectedCfg: &kubeadmapi.ClusterConfiguration{
    				DNS: kubeadmapi.DNS{
    					Disabled: true,
    				},
    				Proxy: kubeadmapi.Proxy{
    					Disabled: true,
    				},
    			},
    			skipPhases:         []string{"addon/coredns", "addon/kube-proxy"},
    			expectedSkipPhases: []string{"addon/coredns", "addon/kube-proxy"},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        // Match Add.
        auto add_op =
            dyn_cast_or_null<TFL::AddOp>(fc_op.getInput().getDefiningOp());
        if (!add_op) return failure();
        if (add_op.getFusedActivationFunction() != "NONE") return failure();
    
        // Don't match adds where the added constant is not 1D.
        {
          auto addend_shape = mlir::cast<ShapedType>(add_op.getRhs().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top