Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for ptrBase (0.67 sec)

  1. src/runtime/cgocheck.go

    	skipMask := off / goarch.PtrSize / 8
    	skipBytes := skipMask * goarch.PtrSize * 8
    	ptrmask := addb(gcbits, skipMask)
    	src = add(src, skipBytes)
    	off -= skipBytes
    	size += off
    	var bits uint32
    	for i := uintptr(0); i < size; i += goarch.PtrSize {
    		if i&(goarch.PtrSize*8-1) == 0 {
    			bits = uint32(*ptrmask)
    			ptrmask = addb(ptrmask, 1)
    		} else {
    			bits >>= 1
    		}
    		if off > 0 {
    			off -= goarch.PtrSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/runtime/mgcmark.go

    // pointer-like value in the block as a pointer.
    //
    // If ptrmask != nil, only words that are marked in ptrmask are
    // considered as potential pointers.
    //
    // If state != nil, it's assumed that [b, b+n) is a block in the stack
    // and may contain pointers to stack objects.
    func scanConservative(b, n uintptr, ptrmask *uint8, gcw *gcWork, state *stackScanState) {
    	if debugScanConservative {
    		printlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  3. src/syscall/mksyscall.pl

    	if ((($darwin || ($openbsd && $libc)) && $func =~ /^ptrace(Ptr)?$/)) {
    		# The ptrace function is called from forkAndExecInChild where stack
    		# growth is forbidden.
    		$text .= "//go:nosplit\n"
    	}
    
    	# Go function header.
    	my $out_decl = @out ? sprintf(" (%s)", join(', ', @out)) : "";
    	$text .= sprintf "func %s(%s)%s {\n", $func, join(', ', @in), $out_decl;
    
    	# Disable ptrace on iOS.
    	if ($darwin && $func =~ /^ptrace(Ptr)?$/) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux.go

    	return ptrace(PTRACE_SYSCALL, pid, 0, uintptr(signal))
    }
    
    func PtraceSingleStep(pid int) (err error) { return ptrace(PTRACE_SINGLESTEP, pid, 0, 0) }
    
    func PtraceAttach(pid int) (err error) { return ptrace(PTRACE_ATTACH, pid, 0, 0) }
    
    func PtraceDetach(pid int) (err error) { return ptrace(PTRACE_DETACH, pid, 0, 0) }
    
    //sys	reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error)
    
    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/syscall/exec_linux.go

    }
    
    type SysProcAttr struct {
    	Chroot     string      // Chroot.
    	Credential *Credential // Credential.
    	// Ptrace tells the child to call ptrace(PTRACE_TRACEME).
    	// Call runtime.LockOSThread before starting a process with this set,
    	// and don't call UnlockOSThread until done with PtraceSyscall calls.
    	Ptrace bool
    	Setsid bool // Create session.
    	// Setpgid sets the process group ID of the child to Pgid,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    #define _DARWIN_USE_64_BIT_INODE
    #define __APPLE_USE_RFC_3542
    #include <stdint.h>
    #include <sys/attr.h>
    #include <sys/clonefile.h>
    #include <sys/kern_control.h>
    #include <sys/types.h>
    #include <sys/event.h>
    #include <sys/ptrace.h>
    #include <sys/select.h>
    #include <sys/socket.h>
    #include <sys/stat.h>
    #include <sys/un.h>
    #include <sys/sockio.h>
    #include <sys/sys_domain.h>
    #include <sys/sysctl.h>
    #include <sys/mman.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. src/syscall/syscall_openbsd_libc.go

    //sysnb fork() (pid int, err error)
    //sysnb execve(path *byte, argv **byte, envp **byte) (err error)
    //sysnb exit(res int) (err error)
    //sys   ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
    //sysnb getentropy(p []byte) (err error)
    //sys   fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/EvaluationFailureMessageGenerator.kt

                }
            }
        }
    
        private
        fun formatUnsupportedConstruct(unsupportedConstruct: UnsupportedConstruct) =
            // TODO: use a proper phrase instead of the feature enum value name
            "${locationPrefixString(unsupportedConstruct.erroneousSource)}: unsupported language feature: ${unsupportedConstruct.languageFeature}"
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. src/syscall/syscall_darwin.go

    func direntNamlen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
    }
    
    func PtraceAttach(pid int) (err error) { return ptrace(PT_ATTACH, pid, 0, 0) }
    func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) }
    
    //sysnb pipe(p *[2]int32) (err error)
    
    func Pipe(p []int) (err error) {
    	if len(p) != 2 {
    		return EINVAL
    	}
    	var q [2]int32
    	err = pipe(&q)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/go.mod

    	github.com/prometheus/procfs v0.12.0 // indirect
    	github.com/sirupsen/logrus v1.9.3 // indirect
    	github.com/soheilhy/cmux v0.1.5 // indirect
    	github.com/spf13/cobra v1.8.0 // indirect
    	github.com/stoewer/go-strcase v1.2.0 // indirect
    	github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 // indirect
    	github.com/x448/float16 v0.8.4 // indirect
    	github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top