Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 180 for syscall1 (0.2 sec)

  1. src/runtime/runtime-gdb.py

    	status = ptr['atomicstatus']['value']&~G_SCAN
    	# Goroutine is not running nor in syscall, so use the info in goroutine
    	if status != G_RUNNING and status != G_SYSCALL:
    		return pc.cast(vp), sp.cast(vp)
    
    	# If the goroutine is in a syscall, use syscallpc/sp.
    	pc, sp = ptr['syscallpc'], ptr['syscallsp']
    	if sp != 0:
    		return pc.cast(vp), sp.cast(vp)
    	# Otherwise, the goroutine is running, so it doesn't have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  2. src/runtime/tracestack.go

    			// in a syscall, in which case it's currently not executing. gp.sched contains the most
    			// up-to-date information about where it stopped, and like case (1), we match gcallers
    			// here.
    			//
    			// (3) We're called against a gp that we're not currently executing on, but that is in
    			// a syscall, in which case gp.syscallsp != 0. gp.syscall* contains the most up-to-date
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/internal/trace/trace_test.go

    					{"net.(*TCPListener).accept", 0},
    					{"net.(*TCPListener).Accept", 0},
    					{"main.main.func10", 0},
    				}},
    				{trace.EventStateTransition, "Goroutine Running->Syscall", []frame{
    					{"syscall.read", 0},
    					{"syscall.Read", 0},
    					{"internal/poll.ignoringEINTRIO", 0},
    					{"internal/poll.(*FD).Read", 0},
    					{"os.(*File).read", 0},
    					{"os.(*File).Read", 0},
    					{"main.main.func11", 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux.go

    // Note that sometimes we use a lowercase //sys name and
    // wrap it in our own nicer implementation.
    
    package syscall
    
    import (
    	"internal/itoa"
    	runtimesyscall "internal/runtime/syscall"
    	"runtime"
    	"unsafe"
    )
    
    // Pull in entersyscall/exitsyscall for Syscall/Syscall6.
    //
    // Note that this can't be a push linkname because the runtime already has a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly.go

    	var _p0 unsafe.Pointer
    	var bufsize uintptr
    	if len(buf) > 0 {
    		_p0 = unsafe.Pointer(&buf[0])
    		bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
    	}
    	r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
    	n = int(r0)
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    //sys	ioctl(fd int, req uint, arg uintptr) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    		}
    		return sa, nil
    	}
    	return nil, EAFNOSUPPORT
    }
    
    // Some external packages rely on SYS___SYSCTL being defined to implement their
    // own sysctl wrappers. Provide it here, even though direct syscalls are no
    // longer supported on darwin.
    const SYS___SYSCTL = SYS_SYSCTL
    
    // Translate "kern.hostname" to []_C_int{0,1,2,3}.
    func nametomib(name string) (mib []_C_int, err error) {
    	const siz = unsafe.Sizeof(mib[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  7. src/syscall/zsysnum_linux_s390x.go

    // mksysnum_linux.pl /usr/include/asm/unistd.h
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    	SYS_EXIT                   = 1
    	SYS_FORK                   = 2
    	SYS_READ                   = 3
    	SYS_WRITE                  = 4
    	SYS_OPEN                   = 5
    	SYS_CLOSE                  = 6
    	SYS_RESTART_SYSCALL        = 7
    	SYS_CREAT                  = 8
    	SYS_LINK                   = 9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_linux_ppc64.go

    // mksysnum_linux.pl /usr/include/asm/unistd.h
    // Code generated by the command above; DO NOT EDIT.
    
    //go:build ppc64 && linux
    
    package syscall
    
    const (
    	SYS_RESTART_SYSCALL        = 0
    	SYS_EXIT                   = 1
    	SYS_FORK                   = 2
    	SYS_READ                   = 3
    	SYS_WRITE                  = 4
    	SYS_OPEN                   = 5
    	SYS_CLOSE                  = 6
    	SYS_WAITPID                = 7
    	SYS_CREAT                  = 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_linux_mips64.go

    // mksysnum_linux.pl /usr/include/asm/unistd.h
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    	SYS_READ                   = 5000
    	SYS_WRITE                  = 5001
    	SYS_OPEN                   = 5002
    	SYS_CLOSE                  = 5003
    	SYS_STAT                   = 5004
    	SYS_FSTAT                  = 5005
    	SYS_LSTAT                  = 5006
    	SYS_POLL                   = 5007
    	SYS_LSEEK                  = 5008
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10.9K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_linux_mips64le.go

    // mksysnum_linux.pl /usr/include/asm/unistd.h
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    	SYS_READ                   = 5000
    	SYS_WRITE                  = 5001
    	SYS_OPEN                   = 5002
    	SYS_CLOSE                  = 5003
    	SYS_STAT                   = 5004
    	SYS_FSTAT                  = 5005
    	SYS_LSTAT                  = 5006
    	SYS_POLL                   = 5007
    	SYS_LSEEK                  = 5008
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10.9K bytes
    - Viewed (0)
Back to top