Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for SYSCALL (0.34 sec)

  1. src/os/file_plan9.go

    const DevNull = "/dev/null"
    
    // syscallMode returns the syscall-specific mode bits from Go's portable mode bits.
    func syscallMode(i FileMode) (o uint32) {
    	o |= uint32(i.Perm())
    	if i&ModeAppend != 0 {
    		o |= syscall.DMAPPEND
    	}
    	if i&ModeExclusive != 0 {
    		o |= syscall.DMEXCL
    	}
    	if i&ModeTemporary != 0 {
    		o |= syscall.DMTMP
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. src/runtime/sys_linux_ppc64x.s

    	ADD	$8, R1, R3
    	MOVW	$0, R4
    	SYSCALL	$SYS_nanosleep
    	RET
    
    TEXT runtimeĀ·gettid(SB),NOSPLIT,$0-4
    	SYSCALL	$SYS_gettid
    	MOVW	R3, ret+0(FP)
    	RET
    
    TEXT runtimeĀ·raise(SB),NOSPLIT|NOFRAME,$0
    	SYSCALL	$SYS_getpid
    	MOVW	R3, R14
    	SYSCALL	$SYS_gettid
    	MOVW	R3, R4	// arg 2 tid
    	MOVW	R14, R3	// arg 1 pid
    	MOVW	sig+0(FP), R5	// arg 3
    	SYSCALL	$SYS_tgkill
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/os/file_unix.go

    	if kind == kindOpenFile {
    		switch runtime.GOOS {
    		case "darwin", "ios", "dragonfly", "freebsd", "netbsd", "openbsd":
    			var st syscall.Stat_t
    			err := ignoringEINTR(func() error {
    				return syscall.Fstat(fd, &st)
    			})
    			typ := st.Mode & syscall.S_IFMT
    			// Don't try to use kqueue with regular files on *BSDs.
    			// On FreeBSD a regular file is always
    			// reported as ready for writing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_openbsd_arm.go

    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. src/cmd/trace/gstate.go

    		name:       "syscall",
    		startTime:  gs.syscall.time,
    		endTime:    ts,
    		startStack: gs.syscall.stack,
    		arg:        format.BlockedArg{Blocked: blockString},
    	})
    	gs.syscall.active = false
    	gs.syscall.time = 0
    	gs.syscall.stack = trace.NoStack
    }
    
    // blockedSyscallEnd indicates the point at which the blocked syscall ended. This is distinct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_openbsd_riscv64.go

    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_386.go

    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  8. src/syscall/js/js.go

    	}
    }
    
    // stringVal copies string x to Javascript and returns a ref.
    //
    // (noescape): This is safe because no references are maintained to the
    //             Go string x after the syscall returns.
    //
    //go:wasmimport gojs syscall/js.stringVal
    //go:noescape
    func stringVal(x string) ref
    
    // Type represents the JavaScript type of a Value.
    type Type int
    
    const (
    	TypeUndefined Type = iota
    	TypeNull
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_amd64.go

    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_arm64.go

    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
Back to top