- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 199 for addRow (0.13 sec)
-
istioctl/pkg/writer/table/writer_test.go
o := obj.(testObject) return Row{ Cells: []Cell{ NewCell(o.name), NewCell(o.namespace, color.FgGreen), NewCell(o.version), }, } }) w.AddRow(newTestObject("foo", "bar", "1.0")) w.AddRow(newTestObject("baz", "qux", "2.0")) w.AddRow(newTestObject("qux", "quux", "3")) w.Flush() expected := "NAME NAMESPACE VERSION\n" + "foo \x1b[32mbar\x1b[0m 1.0\n" +
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Oct 08 04:41:42 UTC 2022 - 1.6K bytes - Viewed (0) -
istioctl/pkg/writer/table/writer.go
func (c *ColoredTableWriter) AddHeader(names ...string) { cells := make([]Cell, 0) for _, name := range names { cells = append(cells, NewCell(name)) } c.header = Row{Cells: cells} } func (c *ColoredTableWriter) AddRow(obj interface{}) { c.rows = append(c.rows, c.addRowFunc(obj)) } func (c *ColoredTableWriter) Flush() { output := c.getTableOutput(c.rows) if len(output) == 0 { return } sep := getMaxWidths(output)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Oct 08 04:41:42 UTC 2022 - 2.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
cluster/gce/manifests/kube-addon-manager.yaml
drop: - all # When updating version also bump it in: # - test/kubemark/resources/manifests/kube-addon-manager.yaml image: registry.k8s.io/addon-manager/kube-addon-manager:v9.1.7 command: - /bin/bash - -c - exec /opt/kube-addons-main.sh 1>>/var/log/kube-addon-manager.log 2>&1 resources: requests: cpu: 5m memory: 50Mi volumeMounts:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 21 03:09:15 UTC 2023 - 1.6K bytes - Viewed (0) -
releasenotes/notes/addon-remove.yaml
Brian Avery <******@****.***> 1597180858 -0400
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 11 21:20:58 UTC 2020 - 344 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/gpu_fusion.cc
AddV2Op add_op; Value side_input; if (!batch_norm) { // We don't have a FusedBatchNorm as input to the ReLu, but we can get // through an AddV2 as well. add_op = dyn_cast_or_null<AddV2Op>(relu_input); if (!add_op) return failure(); batch_norm = dyn_cast_or_null<FusedBatchNormV3Op>(add_op.getX().getDefiningOp()); if (batch_norm) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 5.2K bytes - Viewed (0) -
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)