Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 835 for syscalls (0.11 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm.go

    func Fstatfs(fd int, buf *Statfs_t) (err error) {
    	_, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    func Statfs(path string, buf *Statfs_t) (err error) {
    	pathp, err := BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. src/cmd/trace/procgen.go

    		// Goroutine exited a blocked syscall.
    		gs.blockedSyscallEnd(ev.Time(), ev.Stack(), ctx)
    	}
    
    	// Handle syscalls.
    	if to == trace.GoSyscall && ev.Proc() != trace.NoProc {
    		start := ev.Time()
    		if from == trace.GoUndetermined {
    			// Back-date the event to the start of the trace.
    			start = ctx.startTime
    		}
    		// Write down that we've entered a syscall. Note: we might have no P here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. src/cmd/trace/threadgen.go

    	}
    	if from == trace.GoSyscall {
    		// Exiting syscall.
    		gs.syscallEnd(ev.Time(), to != trace.GoRunning, ctx)
    	}
    
    	// Handle syscalls.
    	if to == trace.GoSyscall {
    		start := ev.Time()
    		if from == trace.GoUndetermined {
    			// Back-date the event to the start of the trace.
    			start = ctx.startTime
    		}
    		// Write down that we've entered a syscall. Note: we might have no P here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go

    // go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build arm64 && openbsd
    
    package unix
    
    // Deprecated: Use libc wrappers instead of direct syscalls.
    const (
    	SYS_EXIT           = 1   // { void sys_exit(int rval); }
    	SYS_FORK           = 2   // { int sys_fork(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/link/internal/ld/main.go

    			*flagOutfile += ".exe"
    		}
    	}
    
    	interpreter = *flagInterpreter
    
    	if *flagBuildid == "" && ctxt.Target.IsOpenbsd() {
    		// TODO(jsing): Remove once direct syscalls are no longer in use.
    		// OpenBSD 6.7 onwards will not permit direct syscalls from a
    		// dynamically linked binary unless it identifies the binary
    		// contains a .note.go.buildid ELF note. See issue #36435.
    		*flagBuildid = "go-openbsd"
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/runtime/debugcall.go

    	// No user calls from the system stack.
    	if getg() != getg().m.curg {
    		return debugCallSystemStack
    	}
    	if sp := getcallersp(); !(getg().stack.lo < sp && sp <= getg().stack.hi) {
    		// Fast syscalls (nanotime) and racecall switch to the
    		// g0 stack without switching g. We can't safely make
    		// a call in this state. (We can't even safely
    		// systemstack.)
    		return debugCallSystemStack
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go

    // go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build arm && openbsd
    
    package unix
    
    // Deprecated: Use libc wrappers instead of direct syscalls.
    const (
    	SYS_EXIT           = 1   // { void sys_exit(int rval); }
    	SYS_FORK           = 2   // { int sys_fork(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go

    // go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build mips64 && openbsd
    
    package unix
    
    // Deprecated: Use libc wrappers instead of direct syscalls.
    const (
    	SYS_EXIT           = 1   // { void sys_exit(int rval); }
    	SYS_FORK           = 2   // { int sys_fork(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go

    	Unused05           int32
    	Unused06           int32
    	Faults             int32
    	Traps              int32
    	Intrs              int32
    	Swtch              int32
    	Softs              int32
    	Syscalls           int32
    	Pageins            int32
    	Unused07           int32
    	Unused08           int32
    	Pgswapin           int32
    	Pgswapout          int32
    	Forks              int32
    	Forks_ppwait       int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top