Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 138 for syscallsp (0.12 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s

    #include "textflag.h"
    
    // System call support for AMD64 BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT	·Syscall9(SB),NOSPLIT,$0-104
    	JMP	syscall·Syscall9(SB)
    
    TEXT	·RawSyscall(SB),NOSPLIT,$0-56
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 722 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_arm.s

    #include "textflag.h"
    
    // System call support for ARM BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-28
    	B	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-40
    	B	syscall·Syscall6(SB)
    
    TEXT	·Syscall9(SB),NOSPLIT,$0-52
    	B	syscall·Syscall9(SB)
    
    TEXT	·RawSyscall(SB),NOSPLIT,$0-28
    	B	syscall·RawSyscall(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 686 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s

    #include "textflag.h"
    
    // System call support for RISCV64 BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT	·Syscall9(SB),NOSPLIT,$0-104
    	JMP	syscall·Syscall9(SB)
    
    TEXT	·RawSyscall(SB),NOSPLIT,$0-56
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 711 bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/stress-start-stop.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests a many interesting cases (network, syscalls, a little GC, busy goroutines,
    // blocked goroutines, LockOSThread, pipes, and GOMAXPROCS).
    
    //go:build ignore
    
    package main
    
    import (
    	"bytes"
    	"io"
    	"log"
    	"net"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/runtime/cgo/linux_syscall.c

     * these function calls.
     */
    
    // argset_t matches runtime/cgocall.go:argset.
    typedef struct {
    	uintptr_t* args;
    	uintptr_t retval;
    } argset_t;
    
    // libc backed posix-compliant syscalls.
    
    #define SET_RETVAL(fn) \
      uintptr_t ret = (uintptr_t) fn ; \
      if (ret == (uintptr_t) -1) {	   \
        x->retval = (uintptr_t) errno; \
      } else                           \
        x->retval = ret
    
    void
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. cmd/update-notifier.go

    	// calculate the rectangular box size.
    	maxContentWidth := max(line1Length, line2Length)
    
    	// termWidth is set to a default one to use when we are
    	// not able to calculate terminal width via OS syscalls
    	termWidth := 25
    	if width, err := pb.GetTerminalWidth(); err == nil {
    		termWidth = width
    	}
    
    	// Box cannot be printed if terminal width is small than maxContentWidth
    	if maxContentWidth > termWidth {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/syscall/asm_plan9_arm.s

    // Actually Syscall5 but the rest of the code expects it to be named Syscall6.
    TEXT	·Syscall6(SB),NOSPLIT,$144-44
    	NO_LOCAL_POINTERS
    	BL		runtime·entersyscall(SB)
    	MOVW	$a1+4(FP), R0	// move syscall args
    	MOVW	$sysargs-144(SP), R1
    	MOVM.IA	(R0), [R2-R6]
    	MOVM.IA	[R2-R6], (R1)
    	MOVW	trap+0(FP), R0	// syscall num
    	SWI		$0
    	MOVW	$0, R2
    	MOVW	$r1+28(FP), R3
    	MOVM.IA.W	[R0,R2], (R3)
    	CMP		$-1, R0
    	B.EQ	syscall6err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 08 14:57:01 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  8. src/os/wait6_freebsd64.go

    //go:build freebsd && (amd64 || arm64 || riscv64)
    
    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 0
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	var status32 int32 // C.int
    	_, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, uintptr(idtype), uintptr(id), uintptr(unsafe.Pointer(&status32)), uintptr(options), 0, 0)
    	return int(status32), errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 547 bytes
    - Viewed (0)
  9. src/internal/syscall/unix/fallocate_freebsd_386.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    import "syscall"
    
    func PosixFallocate(fd int, off int64, size int64) error {
    	// If successful, posix_fallocate() returns zero. It returns an error on failure, without
    	// setting errno. See https://man.freebsd.org/cgi/man.cgi?query=posix_fallocate&sektion=2&n=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 14:17:36 UTC 2023
    - 627 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_unix_gc.go

    package unix
    
    import "syscall"
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
    func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 640 bytes
    - Viewed (0)
Back to top