Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for setOrig (1.05 sec)

  1. src/runtime/signal_amd64.go

    	} else {
    		// Not safe to push the call. Just clobber the frame.
    		c.set_rip(uint64(abi.FuncPCABI0(sigpanic0)))
    	}
    }
    
    func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
    	// Make it look like we called target at resumePC.
    	sp := uintptr(c.rsp())
    	sp -= goarch.PtrSize
    	*(*uintptr)(unsafe.Pointer(sp)) = resumePC
    	c.set_rsp(uint64(sp))
    	c.set_rip(uint64(targetPC))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. src/runtime/export_debug_amd64_test.go

    	// Push return PC.
    	rsp -= goarch.PtrSize
    	ctxt.set_rsp(rsp)
    	// The signal PC is the next PC of the trap instruction.
    	*(*uint64)(unsafe.Pointer(uintptr(rsp))) = ctxt.rip()
    	// Set PC to call and context register.
    	ctxt.set_rip(uint64(h.fv.fn))
    	sigctxtSetContextRegister(ctxt, uint64(uintptr(unsafe.Pointer(h.fv))))
    }
    
    // case 1
    func (h *debugCallHandler) debugCallReturn(ctxt *sigctxt) {
    	rsp := ctxt.rsp()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. src/runtime/os_freebsd2.go

    // license that can be found in the LICENSE file.
    
    //go:build freebsd && !amd64
    
    package runtime
    
    import "internal/abi"
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = sigset_all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 603 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/copyelim.go

    	// sure that we don't end up doing O(n^2) work
    	// for a chain of n copies.
    	for v != w {
    		x := v.Args[0]
    		v.SetArg(0, w)
    		v = x
    	}
    	return w
    }
    
    // copyelimValue ensures that no args of v are copies.
    func copyelimValue(v *Value) {
    	for i, a := range v.Args {
    		if a.Op == OpCopy {
    			v.SetArg(i, copySource(a))
    		}
    	}
    }
    
    // phielim eliminates redundant phi values from f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        //        setVersion( af.getVersion() );
        //        setType( af.getType() );
        //        setScope( af.getScope() );
        //        setClassifier( af.getClassifier() );
        //        //setUri( af.getDownloadUrl() );
        //
        //        this.resolved = af.isResolved();
        //    }
    
        @Override
        public String toString() {
            return groupId + ":" + artifactId + ":" + version;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. src/runtime/signal_netbsd_amd64.go

    func (c *sigctxt) sigcode() uint64 { return uint64(c.info._code) }
    func (c *sigctxt) sigaddr() uint64 {
    	return *(*uint64)(unsafe.Pointer(&c.info._reason[0]))
    }
    
    func (c *sigctxt) set_rip(x uint64)     { c.regs().__gregs[_REG_RIP] = x }
    func (c *sigctxt) set_rsp(x uint64)     { c.regs().__gregs[_REG_RSP] = x }
    func (c *sigctxt) set_sigcode(x uint64) { c.info._code = int32(x) }
    func (c *sigctxt) set_sigaddr(x uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 18:51:53 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/flagalloc.go

    			for i, a := range v.Args {
    				if !a.Type.IsFlags() {
    					continue
    				}
    				if a == flag {
    					continue
    				}
    				// Recalculate a
    				c := copyFlags(a, b)
    				// Update v.
    				v.SetArg(i, c)
    				// Remember the most-recently computed flag value.
    				flag = a
    			}
    			// Issue v.
    			b.Values = append(b.Values, v)
    			if v.clobbersFlags() {
    				flag = nil
    			}
    			if v.Type.IsFlags() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_mips64x.go

    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_flags   uint32
    	sa_handler uintptr
    	sa_mask    [2]uint64
    	// linux header does not have sa_restorer field,
    	// but it is used in setsig(). it is no harm to put it here
    	sa_restorer uintptr
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_code  int32
    	si_errno int32
    	__pad0   [1]int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. src/runtime/defs_linux_mipsx.go

    	tv.tv_usec = x
    }
    
    type sigactiont struct {
    	sa_flags   uint32
    	sa_handler uintptr
    	sa_mask    [4]uint32
    	// linux header does not have sa_restorer field,
    	// but it is used in setsig(). it is no harm to put it here
    	sa_restorer uintptr
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_code  int32
    	si_errno int32
    	// below here is a union; si_addr is the only field we use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/runtime/defs_linux_riscv64.go

    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler uintptr
    	sa_flags   uint64
    	sa_mask    uint64
    	// Linux on riscv64 does not have the sa_restorer field, but the setsig
    	// function references it (for x86). Not much harm to include it at the end.
    	sa_restorer uintptr
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top