Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for error_handler_ (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

            specs_(specs),
            debug_info_(debug_info),
            function_name_for_debug_info_(function_name_for_debug_info),
            function_name_uniquifier_(function_name_uniquifier),
            error_handler_(module.getContext()) {
        // Log import config.
        if (VLOG_IS_ON(1)) {
          LOG(INFO) << "Importing with: " << specs.str();
          for (auto& it : *tf_name_to_mlir_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go

    		panic("test")
    	}()
    	if result != "test" {
    		t.Errorf("did not receive custom handler")
    	}
    }
    
    func TestCustomHandleError(t *testing.T) {
    	old := ErrorHandlers
    	defer func() { ErrorHandlers = old }()
    	var result error
    	ErrorHandlers = []ErrorHandler{
    		func(_ context.Context, err error, msg string, keysAndValues ...interface{}) {
    			result = err
    		},
    	}
    	err := fmt.Errorf("test")
    	HandleError(err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go

    	}
    }
    
    // ErrorHandlers is a list of functions which will be invoked when a nonreturnable
    // error occurs.
    // TODO(lavalamp): for testability, this and the below HandleError function
    // should be packaged up into a testable and reusable object.
    var ErrorHandlers = []ErrorHandler{
    	logError,
    	func(_ context.Context, _ error, _ string, _ ...interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/VisitableURLClassLoader.java

            private final TransformReplacer replacer;
            private final TransformErrorHandler errorHandler;
    
            public InstrumentingVisitableURLClassLoader(String name, ClassLoader parent, TransformedClassPath classPath) {
                super(name, parent, classPath);
                replacer = new TransformReplacer(classPath);
                errorHandler = new TransformErrorHandler(name);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            private final TransformErrorHandler errorHandler;
    
            InstrumentingScriptClassLoader(ScriptSource scriptSource, ClassLoader parent, TransformedClassPath classPath, HashCode implementationHash) {
                super(scriptSource, parent, classPath, implementationHash);
                replacer = new TransformReplacer(classPath);
                errorHandler = new TransformErrorHandler(getName());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplier.java

    import org.gradle.api.provider.ProviderFactory;
    import org.gradle.internal.xml.XmlFactories;
    import org.gradle.util.internal.MavenUtil;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    
    import javax.inject.Inject;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/mlprogram_util.cc

          "tf-lower-to-mlprogram-and-hlo", "Lower TF to ml_program + mhlo",
          [](mlir::OpPassManager& pm, llvm::StringRef options,
             llvm::function_ref<mlir::LogicalResult(const llvm::Twine&)>
                 errorHandler) {
            tensorflow::PopulateLowerToMlProgramAndHloPipeline(pm);
            return mlir::success();
          },
          [](llvm::function_ref<void(const mlir::detail::PassOptions&)>) {});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 22:13:50 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      mlir::StatusScopedDiagnosticHandler error_handler(module.getContext());
      mlir::LogicalResult result = mlir::TF::InferShapeForFunction(
          main_func, arg_shapes_copy, producer_version);
    
      if (failed(result)) {
        return error_handler.Combine(
            errors::Internal("MLIR Shape refinement failed"));
      }
      return error_handler.ConsumeStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  9. pilot/pkg/xds/debug.go

    	})
    	writeJSON(w, configs, req)
    }
    
    // SidecarScope debugging
    func (s *DiscoveryServer) sidecarz(w http.ResponseWriter, req *http.Request) {
    	proxyID, con := s.getDebugConnection(req)
    	if con == nil {
    		s.errorHandler(w, proxyID, con)
    		return
    	}
    	writeJSON(w, con.proxy.SidecarScope, req)
    }
    
    // Resource debugging.
    func (s *DiscoveryServer) resourcez(w http.ResponseWriter, req *http.Request) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/DependencyInsightReportTask.java

        // a value of `configuration.getAttributes()`.
        // TODO:configuration-cache find a way to clean up this #23732
        private Provider<AttributeContainer> zConfigurationAttributes;
        private ResolutionErrorRenderer errorHandler;
        private String configurationName;
        private String configurationDescription;
    
        /**
         * The root component of the dependency graph to be inspected.
         *
         * @since 7.5
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top