- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,780 for write1 (0.25 sec)
-
src/runtime/time_fake.go
return faketime / 1e9, int32(faketime % 1e9), faketime } // write is like the Unix write system call. // We have to avoid write barriers to avoid potential deadlock // on write calls. // //go:nowritebarrierrec func write(fd uintptr, p unsafe.Pointer, n int32) int32 { if !(fd == 1 || fd == 2) { // Do an ordinary write. return write1(fd, p, n) } // Write with the playback header.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:15:13 UTC 2024 - 2.5K bytes - Viewed (0) -
src/runtime/stubs2.go
// It returns a non-negative number of bytes written or a negative errno value. func read(fd int32, p unsafe.Pointer, n int32) int32 func closefd(fd int32) int32 func exit(code int32) func usleep(usec uint32) //go:nosplit func usleep_no_g(usec uint32) { usleep(usec) } // write1 calls the write system call. // It returns a non-negative number of bytes written or a negative errno value. // //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.1K bytes - Viewed (0) -
src/runtime/time_nofake.go
// //go:linkname overrideWrite var overrideWrite func(fd uintptr, p unsafe.Pointer, n int32) int32 // write must be nosplit on Windows (see write1) // //go:nosplit func write(fd uintptr, p unsafe.Pointer, n int32) int32 { if overrideWrite != nil { return overrideWrite(fd, noescape(p), n) } return write1(fd, p, n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 1.6K bytes - Viewed (0) -
src/runtime/os_js.go
// license that can be found in the LICENSE file. //go:build js && wasm package runtime import ( "unsafe" ) func exit(code int32) func write1(fd uintptr, p unsafe.Pointer, n int32) int32 { if fd > 2 { throw("runtime.write to fd > 2 is unsupported") } wasmWrite(fd, p, n) return n } //go:wasmimport gojs runtime.wasmWrite //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 767 bytes - Viewed (0) -
src/runtime/os_openbsd_syscall2.go
// It returns a non-negative number of bytes written or a negative errno value. func read(fd int32, p unsafe.Pointer, n int32) int32 func closefd(fd int32) int32 func exit(code int32) func usleep(usec uint32) //go:nosplit func usleep_no_g(usec uint32) { usleep(usec) } // write1 calls the write system call. // It returns a non-negative number of bytes written or a negative errno value. // //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.5K bytes - Viewed (0) -
src/syscall/asm_solaris_amd64.s
TEXT ·setpgid(SB),NOSPLIT,$0 JMP runtime·syscall_setpgid(SB) TEXT ·Syscall(SB),NOSPLIT,$0 JMP runtime·syscall_syscall(SB) TEXT ·wait4(SB),NOSPLIT,$0 JMP runtime·syscall_wait4(SB) TEXT ·write1(SB),NOSPLIT,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 15 17:21:30 UTC 2023 - 1.8K bytes - Viewed (0) -
src/syscall/exec_libc.go
func setpgid(pid uintptr, pgid uintptr) (err Errno) func write1(fd uintptr, buf uintptr, nbyte uintptr) (n uintptr, err Errno) // syscall defines this global on our behalf to avoid a build dependency on other platforms func init() { execveLibc = execve } // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child. // If a dup or exec fails, write the errno error to pipe.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.2K bytes - Viewed (0) -
src/runtime/os_plan9.go
return pread(fd, buf, n, -1) } //go:nosplit func write1(fd uintptr, buf unsafe.Pointer, n int32) int32 { return pwrite(int32(fd), buf, n, -1) } var _badsignal = []byte("runtime: signal received on thread not created by Go.\n") // This runs on a foreign stack, without an m or a g. No stack split. // //go:nosplit func badsignal2() { pwrite(2, unsafe.Pointer(&_badsignal[0]), int32(len(_badsignal)), -1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
src/runtime/os_wasip1.go
} //go:wasmimport wasi_snapshot_preview1 poll_oneoff //go:noescape func poll_oneoff(in, out unsafe.Pointer, nsubscriptions size, nevents unsafe.Pointer) errno func write1(fd uintptr, p unsafe.Pointer, n int32) int32 { iov := iovec{ buf: uintptr32(uintptr(p)), bufLen: size(n), } var nwritten size
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7K bytes - Viewed (0) -
src/runtime/syscall_aix.go
//go:linkname syscall_setpgid syscall.setpgid //go:nosplit func syscall_setpgid(pid, pgid uintptr) (err uintptr) { _, err = syscall2(&libc_setpgid, pid, pgid) return } //go:linkname syscall_write1 syscall.write1 //go:nosplit func syscall_write1(fd, buf, nbyte uintptr) (n, err uintptr) { n, err = syscall3(&libc_write, fd, buf, nbyte) return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 6.3K bytes - Viewed (0)