- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for error_handler_ (0.23 sec)
-
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) -
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) -
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) -
pkg/util/filesystem/watcher.go
return w.watcher.Add(path) } func (w *fsnotifyWatcher) Init(eventHandler FSEventHandler, errorHandler FSErrorHandler) error { var err error w.watcher, err = fsnotify.NewWatcher() if err != nil { return err } w.eventHandler = eventHandler w.errorHandler = errorHandler return nil } func (w *fsnotifyWatcher) Run() { go func() { defer w.watcher.Close() for { select {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 23:09:15 UTC 2024 - 5.7K bytes - Viewed (0) -
pilot/pkg/xds/debug_test.go
attempts := 5 for i := 0; i < attempts; i++ { gotStatus := getSyncStatus(t, s) var errorHandler func(string, ...any) if i == attempts-1 { errorHandler = t.Errorf } else { errorHandler = t.Logf } for _, ss := range gotStatus { if ss.ProxyID == nodeID { if ss.ProxyVersion == "" { errorHandler("ProxyVersion should always be set for %v", nodeID) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/serialize_mlir_module_utils.cc
// error reporting system. mlir::StatusScopedDiagnosticHandler error_handler(mlir_context); // Parse the module. *mlir_module = mlir::parseSourceString<mlir::ModuleOp>(serialized_mlir_module, mlir_context); if (!*mlir_module) return error_handler.Combine( errors::InvalidArgument("could not parse MLIR module"));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 2.3K bytes - Viewed (0) -
internal/handlers/forwarder.go
f.modifyRequest(req, inReq.URL) }, BufferPool: newBufPool(128 << 10), Transport: f.RoundTripper, FlushInterval: defaultFlushInterval, ErrorHandler: f.customErrHandler, } if f.ErrorHandler != nil { revproxy.ErrorHandler = f.ErrorHandler } revproxy.ServeHTTP(w, outReq) } // customErrHandler is originally implemented to avoid having the following error //
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 07 05:42:10 UTC 2023 - 5.6K bytes - Viewed (0) -
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) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHub.java
/** * @param errorHandler Notified when some async activity fails. Must be thread-safe. */ public MessageHub(String displayName, ExecutorFactory executorFactory, Action<? super Throwable> errorHandler) { this.displayName = displayName; this.errorHandler = errorHandler; workers = executorFactory.create(displayName + " workers"); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 16.2K bytes - Viewed (0) -
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)