Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 452 for diag (0.15 sec)

  1. pkg/config/analysis/local/local.go

    package local
    
    import (
    	"istio.io/istio/pkg/config/analysis/diag"
    )
    
    const (
    	meshConfigMapKey   = "mesh"
    	meshConfigMapName  = "istio"
    	meshNetworksMapKey = "meshNetworks"
    )
    
    // AnalysisResult represents the returnable results of an analysis execution
    type AnalysisResult struct {
    	Messages          diag.Messages
    	MappedMessages    map[string]diag.Messages
    	SkippedAnalyzers  []string
    	ExecutedAnalyzers []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 28 20:21:54 UTC 2023
    - 984 bytes
    - Viewed (0)
  2. pkg/config/analysis/testing/fixtures/context.go

    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/config/resource"
    )
    
    // Context is a test fixture of analysis.Context
    type Context struct {
    	Resources []*resource.Instance
    	Reports   []diag.Message
    }
    
    var _ analysis.Context = &Context{}
    
    // Report implements analysis.Context
    func (ctx *Context) Report(_ config.GroupVersionKind, t diag.Message) {
    	ctx.Reports = append(ctx.Reports, t)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 28 20:21:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. pkg/config/analysis/local/context.go

    func (i *istiodContext) Report(c config.GroupVersionKind, m diag.Message) {
    	msgs := i.messages[i.currentAnalyzer]
    	if msgs == nil {
    		msgs = &diag.Messages{}
    		i.messages[i.currentAnalyzer] = msgs
    	}
    	msgs.Add(m)
    }
    
    func (i *istiodContext) SetAnalyzer(analyzerName string) {
    	i.currentAnalyzer = analyzerName
    }
    
    func (i *istiodContext) GetMessages(analyzerNames ...string) diag.Messages {
    	result := diag.Messages{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. pkg/config/analysis/incluster/controller.go

    			}
    			chKind <- gvk
    		})
    	}
    	oldmsgs := map[string]diag.Messages{}
    	pushFn := func(combinedKinds sets.Set[config.GroupVersionKind]) {
    		res, err := c.analyzer.ReAnalyzeSubset(combinedKinds, stop)
    		if err != nil {
    			log.Errorf("In-cluster analysis has failed: %s", err)
    			return
    		}
    		// reorganize messages to map
    		index := map[status.Resource]diag.Messages{}
    		for _, m := range res.Messages {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm/asm5.go

    	if p.Scond&C_SBIT != 0 && o.scond&C_SBIT == 0 {
    		c.ctxt.Diag("invalid .S suffix: %v", p)
    	}
    	if p.Scond&C_PBIT != 0 && o.scond&C_PBIT == 0 {
    		c.ctxt.Diag("invalid .P suffix: %v", p)
    	}
    	if p.Scond&C_WBIT != 0 && o.scond&C_WBIT == 0 {
    		c.ctxt.Diag("invalid .W suffix: %v", p)
    	}
    	if p.Scond&C_UBIT != 0 && o.scond&C_UBIT == 0 {
    		c.ctxt.Diag("invalid .U suffix: %v", p)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/metrics/error_collector_inst.h

    inline InFlightDiagnostic AttachErrorCode(InFlightDiagnostic &&diag,
                                              int error_code) {
      using tflite::metrics::ConverterErrorData;
      diag.attachNote() << kErrorCodePrefix
                        << ConverterErrorData::ErrorCode_Name(error_code);
      return std::move(diag);
    }
    
    }  // namespace TFL
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/error_util.cc

                fileLoc.getFilename().str());
          } else {
            // If this is a non-FileLineColLoc, go ahead and include it.
            return true;
          }
        };
      }
    
      setHandler([this](Diagnostic& diag) { return this->handler(&diag); });
    }
    
    Status StatusScopedDiagnosticHandler::ConsumeStatus() {
      return BaseScopedDiagnosticHandler::ConsumeStatus();
    }
    
    Status StatusScopedDiagnosticHandler::Combine(Status status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/asm/main.go

    			flags.D = append(flags.D, "GOEXPERIMENT_"+exp)
    		}
    	}
    
    	var ok, diag bool
    	var failedFile string
    	for _, f := range flag.Args() {
    		lexer := lex.NewLexer(f)
    		parser := asm.NewParser(ctxt, architecture, lexer)
    		ctxt.DiagFunc = func(format string, args ...interface{}) {
    			diag = true
    			log.Printf(format, args...)
    		}
    		if *flags.SymABIs {
    			ok = parser.ParseSymABIs(buf)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. pkg/config/analysis/local/analyze_test.go

    	sa.AddDefaultResources()
    	g.Expect(sa.stores).To(HaveLen(0))
    }
    
    func TestEmptyContext(t *testing.T) {
    	fakeType := diag.NewMessageType(diag.Warning, "IST9999", "Fake message for testing")
    
    	ctx := istiodContext{
    		messages: map[string]*diag.Messages{
    			"full": {
    				diag.NewMessage(fakeType, nil),
    			},
    			"empty": {},
    		},
    	}
    	ctx.GetMessages()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 07:43:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

              fused_batch_norm_op, [&](::mlir::Diagnostic &diag) {
                diag << "entities '' failed to satisfy constraint: has no use";
              });
        }
    
        if (!(((*root.getODSResults(2).begin()).use_empty()))) {
          return rewriter.notifyMatchFailure(
              fused_batch_norm_op, [&](::mlir::Diagnostic &diag) {
                diag << "entities '' failed to satisfy constraint: has no use";
              });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
Back to top