Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 882 for Diagnostic (0.3 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

                                       module_name);
      }
    
      auto prepare_status = manager.run(module);
      auto diag_handler_status = diag_handler.ConsumeStatus();
      // There are cases where the scoped diagnostic handler catches a failure that
      // the running of the passes does not. That causes the handler to throw if
      // it is not consumed.
      if (failed(prepare_status) || failed(diag_handler_status)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go

    		if err != nil {
    			t.Errorf("%v: error decoding %v: %v", initial, string(b), err)
    		}
    		if !final.Equal(&initial) {
    			diag, err := cbor.Diagnose(b)
    			if err != nil {
    				t.Logf("failed to produce diagnostic encoding of 0x%x: %v", b, err)
    			}
    			t.Errorf("expected equal: %v, %v (cbor was '%s')", initial, final, diag)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. test/inline.go

    //go:build !goexperiment.newinliner
    
    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test, using compiler diagnostic flags, that inlining is working.
    // Compiles but does not run.
    
    package foo
    
    import (
    	"errors"
    	"runtime"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go

    						reportCaptured(pass, vars, stmt)
    					}
    
    				}
    			}
    		}
    		return true
    	})
    	return nil, nil
    }
    
    // reportCaptured reports a diagnostic stating a loop variable
    // has been captured by a func literal if checkStmt has escaping
    // references to vars. vars is expected to be variables updated by a loop statement,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. test/newinline.go

    //go:build goexperiment.newinliner
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test, using compiler diagnostic flags, that inlining is working.
    // Compiles but does not run.
    
    package foo
    
    import (
    	"errors"
    	"runtime"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    			t.Errorf("%v: error decoding %v: %v", initial, string(b), err)
    		}
    		if diff := cmp.Diff(initial, final); diff != "" {
    			diag, err := cbor.Diagnose(b)
    			if err != nil {
    				t.Logf("failed to produce diagnostic encoding of 0x%x: %v", b, err)
    			}
    			t.Errorf("unexpected diff:\n%s\ncbor: %s", diff, diag)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. src/internal/trace/traceviewer/static/trace_viewer_full.html

    for(const[name,value]of summaryOptions){hist.summaryOptions.set(name,value);}}
    if(options.diagnostics!==undefined){let diagnostics=options.diagnostics;if(!(diagnostics instanceof Map)){diagnostics=Object.entries(diagnostics);}
    for(const[name,diagnostic]of diagnostics){if(!diagnostic)continue;hist.diagnostics.set(name,diagnostic);}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
  8. src/cmd/go/internal/work/buildid.go

    				if id[0] == linkID {
    					// Best effort attempt to display output from the compile and link steps.
    					// If it doesn't work, it doesn't work: reusing the cached binary is more
    					// important than reprinting diagnostic information.
    					if printOutput {
    						showStdout(b, c, a, "stdout")      // compile output
    						showStdout(b, c, a, "link-stdout") // link output
    					}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultPlanExecutor.java

                List<WorkSource.Diagnostics> allDiagnostics = new ArrayList<>(queues.size());
                for (PlanDetails details : queues) {
                    allDiagnostics.add(details.source.healthDiagnostics());
                }
                for (WorkSource.Diagnostics diagnostics : allDiagnostics) {
                    diagnostics.describeTo(formatter);
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    	for i, cg := range commentsInExample {
    		// Check for output comments that are not the last comment in the example.
    		isLast := (i == len(commentsInExample)-1)
    		if cg.isOutput && !isLast {
    			pass.Report(
    				analysis.Diagnostic{
    					Pos:     cg.pos,
    					Message: msg,
    				},
    			)
    		}
    	}
    }
    
    func checkExampleName(pass *analysis.Pass, fn *ast.FuncDecl) {
    	fnName := fn.Name.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top