Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 123 for segs (0.14 sec)

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

    	return ptracePtr(PTRACE_GETREGS, pid, 0, unsafe.Pointer(regsout))
    }
    
    // PtraceSetRegsArm sets the registers used by arm binaries.
    func PtraceSetRegsArm(pid int, regs *PtraceRegsArm) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    // PtraceRegsArm64 is the registers used by arm64 binaries.
    type PtraceRegsArm64 struct {
    	Regs   [31]uint64
    	Sp     uint64
    	Pc     uint64
    	Pstate uint64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/runtime/signal_linux_s390x.go

    func (c *sigctxt) r5() uint64   { return c.regs().gregs[5] }
    func (c *sigctxt) r6() uint64   { return c.regs().gregs[6] }
    func (c *sigctxt) r7() uint64   { return c.regs().gregs[7] }
    func (c *sigctxt) r8() uint64   { return c.regs().gregs[8] }
    func (c *sigctxt) r9() uint64   { return c.regs().gregs[9] }
    func (c *sigctxt) r10() uint64  { return c.regs().gregs[10] }
    func (c *sigctxt) r11() uint64  { return c.regs().gregs[11] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 20:42:23 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  3. src/runtime/export_debug_amd64_test.go

    	// Restore all registers except RIP and RSP.
    	rip, rsp := ctxt.rip(), ctxt.rsp()
    	fp := ctxt.regs().fpstate
    	*ctxt.regs() = h.sigCtxt.savedRegs
    	ctxt.regs().fpstate = fp
    	*fp = h.sigCtxt.savedFP
    	ctxt.set_rip(rip)
    	ctxt.set_rsp(rsp)
    }
    
    // storeRegArgs sets up argument registers in the signal
    // context state from an abi.RegArgs.
    //
    // Both src and dst must be non-nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go

    }
    
    // PtraceSetRegsMipsle sets the registers used by mipsle binaries.
    func PtraceSetRegsMipsle(pid int, regs *PtraceRegsMipsle) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    // PtraceRegsMips64le is the registers used by mips64le binaries.
    type PtraceRegsMips64le struct {
    	Regs     [32]uint64
    	Lo       uint64
    	Hi       uint64
    	Epc      uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/net/tcpsockopt_darwin.go

    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPALIVE, secs)
    	runtime.KeepAlive(fd)
    	return wrapSyscallError("setsockopt", err)
    }
    
    func setKeepAliveInterval(fd *netFD, d time.Duration) error {
    	if d == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go

    func PtraceGetRegs386(pid int, regsout *PtraceRegs386) error {
    	return ptracePtr(PTRACE_GETREGS, pid, 0, unsafe.Pointer(regsout))
    }
    
    // PtraceSetRegs386 sets the registers used by 386 binaries.
    func PtraceSetRegs386(pid int, regs *PtraceRegs386) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    // PtraceRegsAmd64 is the registers used by amd64 binaries.
    type PtraceRegsAmd64 struct {
    	R15      uint64
    	R14      uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go

    }
    
    // PtraceSetRegsMips sets the registers used by mips binaries.
    func PtraceSetRegsMips(pid int, regs *PtraceRegsMips) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    // PtraceRegsMips64 is the registers used by mips64 binaries.
    type PtraceRegsMips64 struct {
    	Regs     [32]uint64
    	Lo       uint64
    	Hi       uint64
    	Epc      uint64
    	Badvaddr uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. src/archive/tar/strconv.go

    	}
    
    	// If seconds is negative, then perform correction.
    	sign := ""
    	if secs < 0 {
    		sign = "-"             // Remember sign
    		secs = -(secs + 1)     // Add a second to secs
    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/DefaultTimerTest.groovy

            then:
            timer.getElapsed() == "51.243 secs"
        }
    
        def testOnlySecondsEvenMs() {
            when:
            setTime(4000)
    
            then:
            timer.getElapsed() == "4.0 secs"
        }
    
        def testMinutesAndSeconds() {
            when:
            setTime(0, 32, 40, 322)
    
            then:
            timer.getElapsed() == "32 mins 40.322 secs"
        }
    
        def testHoursMinutesAndSeconds() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/net/tcpsockopt_unix.go

    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, secs)
    	runtime.KeepAlive(fd)
    	return wrapSyscallError("setsockopt", err)
    }
    
    func setKeepAliveInterval(fd *netFD, d time.Duration) error {
    	if d == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top