- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for error_handler_ (0.5 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
} } // namespace LogicalResult ReshapeOp::verify() { ReshapeOp op = *this; auto error_handler = [&op](const llvm::Twine &message) -> LogicalResult { return op.emitOpError() << message; }; TensorType expected_ty; if (failed(GetReshapeOutputType(op.getTensor(), op.getShape(), error_handler, expected_ty))) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
cmd/handler-utils.go
// proxying the request to another node. for k := range w.Header() { w.Header().Del(k) } f := handlers.NewForwarder(&handlers.Forwarder{ PassHost: true, RoundTripper: ep.Transport, ErrorHandler: func(w http.ResponseWriter, r *http.Request, err error) { success = false if err != nil && !errors.Is(err, context.Canceled) { replLogIf(GlobalContext, err) } }, })
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware.go
// the custom responder might be used for providing a unified error reporting // or supporting retry mechanisms by not sending non-fatal errors to the clients proxy.ErrorHandler = h.Responder.Error } proxy.ServeHTTP(w, newReq) } type noSuppressPanicError struct{} func (noSuppressPanicError) Write(p []byte) (n int, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:10:30 UTC 2024 - 19.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
} template <typename T> static bool HasValidTFLiteType(Value value, T& error_handler) { // None type is allowed to represent unspecified operands. if (mlir::isa<NoneType>(value.getType())) return true; auto type = mlir::dyn_cast<TensorType>(value.getType()); if (!type) { if (auto op = value.getDefiningOp()) { error_handler.emitError() << '\'' << op << "' should produce value of tensor type instead of "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (2) -
cmd/kube-proxy/app/server.go
} // Creates a new filesystem watcher and adds watches for the config file. func (o *Options) initWatcher() error { fswatcher := filesystem.NewFsnotifyWatcher() err := fswatcher.Init(o.eventHandler, o.errorHandler) if err != nil { return err } err = fswatcher.AddWatch(o.ConfigFile) if err != nil { return err } o.watcher = fswatcher return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 46.8K bytes - Viewed (0) -
api/go1.11.txt
pkg net/http/httptrace, type ClientTrace struct, WroteHeaderField func(string, []string) pkg net/http/httputil, type ReverseProxy struct, ErrorHandler func(http.ResponseWriter, *http.Request, error) pkg os, const ModeIrregular = 524288 pkg os, const ModeIrregular FileMode pkg os, const ModeType = 2399666176 pkg os, func UserCacheDir() (string, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 22 03:48:56 UTC 2018 - 25K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
package syntax import ( "fmt" "go/build/constraint" "io" "strconv" "strings" ) const debug = false const trace = false type parser struct { file *PosBase errh ErrorHandler mode Mode pragh PragmaHandler scanner base *PosBase // current position base first error // first error encountered errcnt int // number of errors encountered
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.31.md
- K8s.io/apimachinery/pkg/util/runtime: new calls support handling panics and errors in the context where they occur. `PanicHandlers` and `ErrorHandlers` now must accept a context parameter for that. Log output is structured instead of unstructured. ([#121970](https://github.com/kubernetes/kubernetes/pull/121970), [@pohly](https://github.com/pohly)) [SIG API Machinery and Instrumentation]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 20:34:14 UTC 2024 - 60.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(ErrorList).Less", Method, 0}, {"(ErrorList).Sort", Method, 0}, {"(ErrorList).Swap", Method, 0}, {"Error", Type, 0}, {"Error.Msg", Field, 0}, {"Error.Pos", Field, 0}, {"ErrorHandler", Type, 0}, {"ErrorList", Type, 0}, {"Mode", Type, 0}, {"PrintError", Func, 0}, {"ScanComments", Const, 0}, {"Scanner", Type, 0}, {"Scanner.ErrorCount", Field, 0}, }, "go/token": {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg go/scanner, method (*ErrorList) Add(token.Position, string) pkg go/scanner, method (*ErrorList) RemoveMultiples() pkg go/scanner, method (*ErrorList) Reset() pkg go/scanner, method (*Scanner) Init(*token.File, []uint8, ErrorHandler, Mode) pkg go/scanner, method (*Scanner) Scan() (token.Pos, token.Token, string) pkg go/scanner, method (Error) Error() string pkg go/scanner, method (ErrorList) Err() error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)