- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 452 for diag (0.08 sec)
-
istioctl/pkg/util/formatting/formatter_test.go
g := NewWithT(t) firstMsg := diag.NewMessage( diag.NewMessageType(diag.Error, "B1", "Explosion accident: %v"), diag.MockResource("SoapBubble"), "the bubble is too big", ) secondMsg := diag.NewMessage( diag.NewMessageType(diag.Warning, "C1", "Collapse danger: %v"), diag.MockResource("GrandCastle"), "the castle is too old", ) msgs := diag.Messages{firstMsg, secondMsg}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.1K bytes - Viewed (0) -
pkg/config/analysis/msg/messages.gen.go
Deprecated = diag.NewMessageType(diag.Warning, "IST0002", "Deprecated: %s") // ReferencedResourceNotFound defines a diag.MessageType for message "ReferencedResourceNotFound". // Description: A resource being referenced does not exist. ReferencedResourceNotFound = diag.NewMessageType(diag.Error, "IST0101", "Referenced %s not found: %q") // NamespaceNotInjected defines a diag.MessageType for message "NamespaceNotInjected".
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 22 10:13:03 UTC 2024 - 43.2K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze_test.go
"istio.io/istio/istioctl/pkg/util/testutil" "istio.io/istio/pkg/config/analysis/diag" ) func TestErrorOnIssuesFound(t *testing.T) { g := NewWithT(t) msgs := []diag.Message{ diag.NewMessage( diag.NewMessageType(diag.Error, "B1", "Template: %q"), nil, "", ), diag.NewMessage( diag.NewMessageType(diag.Warning, "A1", "Template: %q"), nil, "", ), }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 1.8K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter.go
} func printYAML(ms diag.Messages) (string, error) { yamlOutput, err := yaml.Marshal(ms) return string(yamlOutput), err } // Formatting options for Message var ( colorPrefixes = map[diag.Level]string{ diag.Info: "", // no special color for info messages diag.Warning: "\033[33m", // yellow diag.Error: "\033[1;31m", // bold red } )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 11 02:41:45 UTC 2023 - 3.1K bytes - Viewed (0) -
pkg/config/analysis/msg/generate.main.go
func All() []*diag.MessageType { return []*diag.MessageType{ {{- range .Messages}} {{.Name}}, {{- end}} } } {{range .Messages}} // New{{.Name}} returns a new diag.Message based on {{.Name}}. func New{{.Name}}(r *resource.Instance{{range .Args}}, {{.Name}} {{.Type}}{{end}}) diag.Message { return diag.NewMessage( {{.Name}}, r, {{- range .Args}} {{.Name}}, {{- end}} ) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 28 16:55:31 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc
: error_collector_(ErrorCollector::GetErrorCollector()) { handler_ = std::make_unique<ScopedDiagnosticHandler>( context, [this](Diagnostic &diag) { if (diag.getSeverity() == DiagnosticSeverity::Error) { Location loc = diag.getLocation(); std::string error_message = diag.str(); std::string op_name, error_code; if (loc_to_name_.count(loc)) { op_name = loc_to_name_[loc];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 5.3K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
} minor, err := strconv.Atoi(minors) if err != nil { return nil, fmt.Errorf("minor version is not a number: %v", minors) } var messages diag.Messages = make([]diag.Message, 0) if minor <= 21 { // ENHANCED_RESOURCE_SCOPING if err := checkPilot(cli, ctx.IstioNamespace(), &messages); err != nil { return nil, err } } if minor <= 20 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 02:57:30 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc
diag << "entities 'mul_value' failed to satisfy constraint: " "unsupported dimensions"; }); } if (!is_dynamic_broadcast && !((*conv_op.getODSResults(0).begin()).hasOneUse())) { return rewriter.notifyMatchFailure(mul_op, [&](::mlir::Diagnostic &diag) { diag << "entities 'conv' failed to satisfy constraint: has one use";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 22:21:19 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
// Verify that the data formats match and are valid for fusion. if (conv.getDataFormat() != bias_add.getDataFormat()) { (void)rewriter.notifyMatchFailure(conv, [&](Diagnostic &diag) { diag << "data format does not match Conv2D data format (" << bias_add.getDataFormat() << " vs " << conv.getDataFormat() << ")"; }); return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm7.go
d := p.From.Offset if d == 0 { c.ctxt.Diag("zero shifts cannot be handled correctly: %v", p) } s := movcon(d) if s < 0 || s >= 4 { c.ctxt.Diag("bad constant for MOVK: %#x\n%v", uint64(d), p) } if (o1&S64) == 0 && s >= 2 { c.ctxt.Diag("illegal bit position\n%v", p) } if ((uint64(d) >> uint(s*16)) >> 16) != 0 { c.ctxt.Diag("requires uimm16\n%v", p) } rt := int(p.To.Reg)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0)