Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,035 for syscall3 (0.17 sec)

  1. src/runtime/sys_openbsd_mips64.s

    	SYSCALL
    	BEQ	R7, 3(PC)
    	MOVV	$3, R2			// crash on syscall failure
    	MOVV	R2, (R2)
    	RET
    
    TEXT runtime·obsdsigprocmask(SB),NOSPLIT,$0
    	MOVW	how+0(FP), R4		// arg 1 - mode
    	MOVW	new+4(FP), R5		// arg 2 - new
    	MOVV	$48, R2			// sys_sigprocmask
    	SYSCALL
    	BEQ	R7, 3(PC)
    	MOVV	$3, R2			// crash on syscall failure
    	MOVV	R2, (R2)
    	MOVW	R2, ret+8(FP)
    	RET
    
    TEXT runtime·sigfwd(SB),NOSPLIT,$0-32
    	MOVW	sig+8(FP), R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. src/internal/runtime/syscall/asm_linux_amd64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    //
    // We need to convert to the syscall ABI.
    //
    // arg | ABIInternal | Syscall
    // ---------------------------
    // num | AX          | AX
    // a1  | BX          | DI
    // a2  | CX          | SI
    // a3  | DI          | DX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go

    	var writtenOut uint64 = 0
    	_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
    
    	written = int(writtenOut)
    
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/syscall/syscall_freebsd_386.go

    	var writtenOut uint64 = 0
    	_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
    
    	written = int(writtenOut)
    
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 13:10:54 UTC 2016
    - 1.2K bytes
    - Viewed (0)
  5. src/runtime/sys_linux_mipsx.s

    	// nanosleep(&ts, 0)
    	ADDU	$24, R29, R4
    	MOVW	$0, R5
    	MOVW	$SYS_nanosleep, R2
    	SYSCALL
    	RET
    
    TEXT runtime·gettid(SB),NOSPLIT,$0-4
    	MOVW	$SYS_gettid, R2
    	SYSCALL
    	MOVW	R2, ret+0(FP)
    	RET
    
    TEXT runtime·raise(SB),NOSPLIT,$0-4
    	MOVW	$SYS_getpid, R2
    	SYSCALL
    	MOVW	R2, R16
    	MOVW	$SYS_gettid, R2
    	SYSCALL
    	MOVW	R2, R5	// arg 2 tid
    	MOVW	R16, R4	// arg 1 pid
    	MOVW	sig+0(FP), R6	// arg 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 20:57:24 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go

    	var writtenOut uint64 = 0
    	_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
    
    	written = int(writtenOut)
    
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. src/runtime/sys_openbsd3.go

    	entersyscall()
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(syscallX)), unsafe.Pointer(&fn))
    	exitsyscall()
    	return
    }
    func syscallX()
    
    // golang.org/x/sys linknames syscall.syscall6
    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    //go:linkname syscall_syscall6 syscall.syscall6
    //go:nosplit
    //go:cgo_unsafe_args
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/runtime/memmove_linux_amd64_test.go

    	// Set up mappings.
    	base, _, errno := syscall.Syscall6(syscall.SYS_MMAP,
    		0xa0<<32, 3<<30, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_PRIVATE|syscall.MAP_ANONYMOUS, ^uintptr(0), 0)
    	if errno != 0 {
    		t.Skipf("could not create memory mapping: %s", errno)
    	}
    	syscall.Syscall(syscall.SYS_MUNMAP, base, 3<<30, 0)
    
    	for off := uintptr(0); off < 3<<30; off += 65536 {
    		_, _, errno := syscall.Syscall6(syscall.SYS_MMAP,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:48:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    	_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  10. src/os/path_windows_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os_test
    
    import (
    	"fmt"
    	"internal/syscall/windows"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    	"testing"
    )
    
    func TestAddExtendedPrefix(t *testing.T) {
    	// Test addExtendedPrefix instead of fixLongPath so the path manipulation code
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:37:32 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top