- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for SetNonblock (0.53 sec)
-
src/syscall/syscall_wasip1.go
clockProcessCPUTimeID clockThreadCPUTimeID ) //go:wasmimport wasi_snapshot_preview1 clock_time_get //go:noescape func clock_time_get(id clockid, precision timestamp, time unsafe.Pointer) Errno func SetNonblock(fd int, nonblocking bool) error { flags, err := fd_fdstat_get_flags(fd) if err != nil { return err } if nonblocking { flags |= FDFLAG_NONBLOCK } else { flags &^= FDFLAG_NONBLOCK }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0) -
src/internal/poll/fd_unix.go
// Atomic store so that concurrent calls to SetBlocking // do not cause a race condition. isBlocking only ever goes // from 0 to 1 so there is no real race here. atomic.StoreUint32(&fd.isBlocking, 1) return syscall.SetNonblock(fd.Sysfd, false) } // Darwin and FreeBSD can't read or write 2GB+ files at a time, // even on 64-bit systems. // The same is true of socket implementations on many systems.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 04:09:44 UTC 2024 - 17.9K bytes - Viewed (0) -
src/runtime/sys_darwin.go
return ret } func pthread_cond_signal_trampoline() // Not used on Darwin, but must be defined. func exitThread(wait *atomic.Uint32) { throw("exitThread") } //go:nosplit func setNonblock(fd int32) { flags, _ := fcntl(fd, _F_GETFL, 0) if flags != -1 { fcntl(fd, _F_SETFL, flags|_O_NONBLOCK) } } func issetugid() int32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
if err == nil { fd[0] = int(fdx[0]) fd[1] = int(fdx[1]) } return } var ioSync int64 func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) } func SetNonblock(fd int, nonblocking bool) (err error) { flag, err := fcntl(fd, F_GETFL, 0) if err != nil { return err } if nonblocking { flag |= O_NONBLOCK } else { flag &= ^O_NONBLOCK }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 84.4K bytes - Viewed (0) -
src/cmd/trace/testdata/go122.test
String id=79 data="runtime.makeslice" String id=80 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/slice.go" String id=81 data="syscall.fcntl" String id=82 data="syscall.SetNonblock" String id=83 data="/usr/local/google/home/mknyszek/work/go-1/src/syscall/exec_unix.go" String id=84 data="os.newFile" String id=85 data="/usr/local/google/home/mknyszek/work/go-1/src/os/file_unix.go"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 17:15:58 UTC 2024 - 166K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"SetFilePointer", Func, 0}, {"SetFileTime", Func, 0}, {"SetHandleInformation", Func, 0}, {"SetKevent", Func, 0}, {"SetLsfPromisc", Func, 0}, {"SetNonblock", Func, 0}, {"Setdomainname", Func, 0}, {"Setegid", Func, 0}, {"Setenv", Func, 0}, {"Seteuid", Func, 0}, {"Setfsgid", Func, 0}, {"Setfsuid", Func, 0}, {"Setgid", 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)