Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 530 for Diagnostic (0.14 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/diagnosticProvider/AbstractElementDiagnosticsTest.kt

            analyze(mainFile) {
                val diagnostics = targetDeclaration.getDiagnostics(KaDiagnosticCheckerFilter.EXTENDED_AND_COMMON_CHECKERS)
    
                val actualText = buildString {
                    if (diagnostics.isNotEmpty()) {
                        for (diagnostic in diagnostics) {
                            append(diagnostic.factoryName).append(": ")
                            diagnostic.textRanges.joinTo(this)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/error_util_test.cc

        ASSERT_TRUE(tensorflow::errors::IsInternal(
            StatusScopedDiagnosticHandler(&context).Combine(err)));
      }
    
      // Verify diagnostic reported are append to passed in error.
      {
        auto function = [&]() {
          emitError(loc) << "Diagnostic message reported";
          emitError(loc) << "Second diagnostic message reported";
          return tensorflow::errors::Internal("Passed in error");
        };
        StatusScopedDiagnosticHandler ssdh(&context);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtAbstractFirDiagnostic.kt

        override val defaultMessage: String
            get() = withValidityAssertion {
                val diagnostic = firDiagnostic as KtDiagnostic
    
                val firDiagnosticRenderer = RootDiagnosticRendererFactory(diagnostic)
                return firDiagnosticRenderer.render(diagnostic)
            }
    
        override val textRanges: Collection<TextRange>
            get() = withValidityAssertion { firDiagnostic.textRanges }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/jpms/ModuleJarFixture.groovy

                    target.closeEntry()
                }
                target.close()
                return result.toByteArray()
            } else {
                for (Diagnostic diagnostic : diagnostics.getDiagnostics()) {
                    println(diagnostic.source)
                    println(diagnostic.getMessage(null))
                }
                throw new RuntimeException('Failure compiling test fixture')
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/rendererrs/AbstractDiagnosticsDataClassRenderer.kt

        }
    
        protected fun collectImports(diagnosticList: HLDiagnosticList): Collection<String> = buildSet {
            addAll(defaultImports)
            for (diagnostic in diagnosticList.diagnostics) {
                diagnostic.original.psiType.collectClassNamesTo(this)
                diagnostic.parameters.forEach { diagnosticParameter ->
                    addAll(collectImportsForDiagnosticParameter(diagnosticParameter))
                }
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 18 18:42:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/url.go

    package analysisflags
    
    import (
    	"fmt"
    	"net/url"
    
    	"golang.org/x/tools/go/analysis"
    )
    
    // ResolveURL resolves the URL field for a Diagnostic from an Analyzer
    // and returns the URL. See Diagnostic.URL for details.
    func ResolveURL(a *analysis.Analyzer, d analysis.Diagnostic) (string, error) {
    	if d.URL == "" && d.Category == "" && a.URL == "" {
    		return "", nil // do nothing
    	}
    	raw := d.URL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 901 bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/SimpleGeneratedJavaClassCompiler.java

            }
            List<Diagnostic<? extends JavaFileObject>> diagnostics = ds.getDiagnostics().stream()
                .filter(d -> d.getKind() == Diagnostic.Kind.ERROR)
                .collect(Collectors.toList());
            if (!diagnostics.isEmpty()) {
                throwCompilationError(diagnostics);
            }
        }
    
        private static void throwCompilationError(List<Diagnostic<? extends JavaFileObject>> diagnostics) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCallInfo.kt

    /**
     * Call that contains errors.
     */
    public class KaErrorCallInfo(
        candidateCalls: List<KaCall>,
        diagnostic: KaDiagnostic,
        override val token: KaLifetimeToken,
    ) : KaCallInfo() {
        public val candidateCalls: List<KaCall> by validityAsserted(candidateCalls)
        public val diagnostic: KaDiagnostic by validityAsserted(diagnostic)
    }
    
    public val KaCallInfo.calls: List<KaCall>
        get() = when (this) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/error_util.h

      // Returns Status corresponding to the diagnostics reported. This consumes
      // the diagnostics reported and returns a Status of type Unknown. It is
      // required to consume the error status, if there is one, before destroying
      // the object.
      Status ConsumeStatus();
    
      // Returns the combination of the passed in status and consumed diagnostics.
      // This consumes the diagnostics reported and either appends the diagnostics
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCandidateInfo.kt

        candidate: KaCall,
        isInBestCandidates: Boolean,
        diagnostic: KaDiagnostic,
    ) : KaCallCandidateInfo(candidate, isInBestCandidates) {
        /**
         * The reason the [candidate] was not applicable for the call (e.g., argument type mismatch, or no value for parameter).
         */
        public val diagnostic: KaDiagnostic by validityAsserted(diagnostic)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top