- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for errNoDeadline (0.23 sec)
-
src/os/error.go
ErrNotExist = fs.ErrNotExist // "file does not exist" ErrClosed = fs.ErrClosed // "file already closed" ErrNoDeadline = errNoDeadline() // "file type does not support deadline" ErrDeadlineExceeded = errDeadlineExceeded() // "i/o timeout" ) func errNoDeadline() error { return poll.ErrNoDeadline } // errDeadlineExceeded returns the value for os.ErrDeadlineExceeded.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 4.8K bytes - Viewed (0) -
src/internal/poll/fd.go
// ErrFileClosing is returned when a file descriptor is used after it // has been closed. var ErrFileClosing = errors.New("use of closed file") // ErrNoDeadline is returned when a request is made to set a deadline // on a file type that does not use the poller. var ErrNoDeadline = errors.New("file type does not support deadline") // Return the appropriate closing error based on isFile. func errClosing(isFile bool) error { if isFile {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:16:28 UTC 2023 - 3.3K bytes - Viewed (0) -
src/os/timeout_test.go
if err := f.SetDeadline(deadline); err != os.ErrNoDeadline { t.Errorf("SetDeadline on file returned %v, wanted %v", err, os.ErrNoDeadline) } if err := f.SetReadDeadline(deadline); err != os.ErrNoDeadline { t.Errorf("SetReadDeadline on file returned %v, wanted %v", err, os.ErrNoDeadline) } if err := f.SetWriteDeadline(deadline); err != os.ErrNoDeadline {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 17.1K bytes - Viewed (0) -
src/os/file_plan9.go
if err := f.checkValid("SetDeadline"); err != nil { return err } return poll.ErrNoDeadline } // setReadDeadline sets the read deadline. func (f *File) setReadDeadline(time.Time) error { if err := f.checkValid("SetReadDeadline"); err != nil { return err } return poll.ErrNoDeadline } // setWriteDeadline sets the write deadline. func (f *File) setWriteDeadline(time.Time) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:35:30 UTC 2024 - 16K bytes - Viewed (0) -
src/internal/poll/fd_poll_runtime.go
if d == 0 { d = -1 // don't confuse deadline right now with no deadline } } if err := fd.incref(); err != nil { return err } defer fd.decref() if fd.pd.runtimeCtx == 0 { return ErrNoDeadline } runtime_pollSetDeadline(fd.pd.runtimeCtx, d, mode) return nil } // IsPollDescriptor reports whether fd is the descriptor being used by the poller. // This is only used for testing. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:59 UTC 2024 - 4.2K bytes - Viewed (0) -
src/os/file.go
// It is equivalent to calling both SetReadDeadline and SetWriteDeadline. // // Only some kinds of files support setting a deadline. Calls to SetDeadline // for files that do not support deadlines will return ErrNoDeadline. // On most systems ordinary files do not support deadlines, but pipes do. // // A deadline is an absolute time after which I/O operations fail with an
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:37 UTC 2024 - 25.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"DirEntry", Type, 16}, {"DirFS", Func, 16}, {"Environ", Func, 0}, {"ErrClosed", Var, 8}, {"ErrDeadlineExceeded", Var, 15}, {"ErrExist", Var, 0}, {"ErrInvalid", Var, 0}, {"ErrNoDeadline", Var, 10}, {"ErrNotExist", Var, 0}, {"ErrPermission", Var, 0}, {"ErrProcessDone", Var, 16}, {"Executable", Func, 8}, {"Exit", Func, 0}, {"Expand", Func, 0}, {"ExpandEnv", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)