Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 300 for setUse (0.14 sec)

  1. src/runtime/defs_windows_386.go

    // 386 does not have link register, so this returns 0.
    func (c *context) lr() uintptr      { return 0 }
    func (c *context) set_lr(x uintptr) {}
    
    func (c *context) set_ip(x uintptr) { c.eip = uint32(x) }
    func (c *context) set_sp(x uintptr) { c.esp = uint32(x) }
    
    // 386 does not have frame pointer register.
    func (c *context) set_fp(x uintptr) {}
    
    func prepareContextForSigResume(c *context) {
    	c.edx = c.esp
    	c.ecx = c.eip
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/runtime/signal_openbsd_arm.go

    func (c *sigctxt) sigaddr() uint32 {
    	return *(*uint32)(add(unsafe.Pointer(c.info), 16))
    }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().sc_pc = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().sc_usr_sp = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().sc_usr_lr = x }
    func (c *sigctxt) set_r10(x uint32) { c.regs().sc_r10 = x }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 13 18:13:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  3. src/runtime/defs_openbsd_386.go

    }
    
    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int32
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = int64(timediv(ns, 1e9, &ts.tv_nsec))
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int32
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. src/runtime/defs_openbsd_riscv64.go

    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/runtime/signal_netbsd_arm.go

    func (c *sigctxt) sigcode() uint32 { return uint32(c.info._code) }
    func (c *sigctxt) sigaddr() uint32 { return uint32(c.info._reason) }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().__gregs[_REG_R15] = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().__gregs[_REG_R13] = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().__gregs[_REG_R14] = x }
    func (c *sigctxt) set_r10(x uint32) { c.regs().__gregs[_REG_R10] = x }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 02:31:25 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  6. src/runtime/defs_openbsd_arm.go

    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec    int64
    	tv_nsec   int32
    	pad_cgo_0 [4]byte
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = int64(timediv(ns, 1e9, &ts.tv_nsec))
    }
    
    type timeval struct {
    	tv_sec    int64
    	tv_usec   int32
    	pad_cgo_0 [4]byte
    }
    
    func (tv *timeval) set_usec(x int32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/portgen.go

    			protocol.MySQL:   tcpBase,
    			protocol.Redis:   tcpBase,
    			protocol.UDP:     tcpBase,
    		},
    		used: make(map[int]struct{}),
    	}
    }
    
    // SetUsed marks the given port as used, so that it will not be assigned by the
    // generator.
    func (g *portGenerator) SetUsed(port int) *portGenerator {
    	g.used[port] = struct{}{}
    	return g
    }
    
    // IsUsed indicates if the given port has already been used.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 04 00:24:04 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. src/runtime/defs1_netbsd_386.go

    }
    
    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int32
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = int64(timediv(ns, 1e9, &ts.tv_nsec))
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int32
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/runtime/defs1_netbsd_amd64.go

    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec    int64
    	tv_usec   int32
    	pad_cgo_0 [4]byte
    }
    
    func (tv *timeval) set_usec(x int32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/runtime/defs_openbsd_amd64.go

    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top