- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for errNoDeadline (0.29 sec)
-
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) -
api/go1.10.txt
pkg os, method (*File) SetReadDeadline(time.Time) error pkg os, method (*File) SetWriteDeadline(time.Time) error pkg os, method (*PathError) Timeout() bool pkg os, method (*SyscallError) Timeout() bool pkg os, var ErrNoDeadline error pkg strings, method (*Builder) Grow(int) pkg strings, method (*Builder) Len() int pkg strings, method (*Builder) Reset() pkg strings, method (*Builder) String() string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 06 05:00:01 UTC 2018 - 30.1K 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)