Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for setOrig (0.15 sec)

  1. src/runtime/stack_test.go

    		}
    	}
    }
    
    func testDeferPtrsGoexit(c chan int, i int) {
    	var y int
    	defer func() {
    		c <- y
    	}()
    	defer setBig(&y, 42, bigBuf{})
    	useStackAndCall(i, Goexit)
    }
    
    func setBig(p *int, x int, b bigBuf) {
    	*p = x
    }
    
    // TestDeferPtrsPanic is like TestDeferPtrsGoexit, but it's using panic instead
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  2. src/runtime/os_aix.go

    }
    
    /* SIGNAL */
    
    const (
    	_NSIG = 256
    )
    
    // sigtramp is a function descriptor to _sigtramp defined in assembly
    var sigtramp funcDescriptor
    
    //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: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		for b, r := range newmemphis {
    			fmt.Printf("after b=%s, rewrite=%s\n", b, r.String())
    		}
    	}
    
    	// Apply collected rewrites.
    	for _, r := range newmemphis {
    		for _, rw := range r.rewrites {
    			rw.v.SetArg(rw.i, r.after)
    		}
    	}
    
    	// Rewrite backedges to include reschedule checks.
    	for _, emc := range tofixBackedges {
    		e := emc.e
    		headerMemPhi := emc.m
    		h := e.b
    		i := e.i
    		p := h.Preds[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/tighten.go

    					continue // not a constant we can move around
    				}
    				if a.Block == b.Preds[i].b {
    					continue // already in the right place
    				}
    				// Make a copy of a, put in predecessor block.
    				v.SetArg(i, a.copyInto(b.Preds[i].b))
    			}
    		}
    	}
    }
    
    // memState computes the memory state at the beginning and end of each block of
    // the function. The memory state is represented by a value of mem type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. src/crypto/internal/bigmod/nat.go

    func (x *Nat) set(y *Nat) *Nat {
    	x.reset(len(y.limbs))
    	copy(x.limbs, y.limbs)
    	return x
    }
    
    // setBig assigns x = n, optionally resizing n to the appropriate size.
    //
    // The announced length of x is set based on the actual bit size of the input,
    // ignoring leading zeroes.
    func (x *Nat) setBig(n *big.Int) *Nat {
    	limbs := n.Bits()
    	x.reset(len(limbs))
    	for i := range limbs {
    		x.limbs[i] = uint(limbs[i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. src/runtime/os_netbsd.go

    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    type sigactiont struct {
    	sa_sigaction uintptr
    	sa_mask      sigset
    	sa_flags     int32
    }
    
    //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: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/cse.go

    						if w.Block == v.Block && w.Pos.Line() == v.Pos.Line() {
    							v.Pos = v.Pos.WithIsStmt()
    							w.Pos = w.Pos.WithNotStmt()
    						} // TODO and if this fails?
    					}
    					v.SetArg(i, x)
    					rewrites++
    				}
    			}
    		}
    		for i, v := range b.ControlValues() {
    			if x := rewrite[v.ID]; x != nil {
    				if v.Op == OpNilCheck {
    					// nilcheck pass will remove the nil checks and log
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  8. src/runtime/os_darwin.go

    	_SIG_SETMASK = 3
    	_SS_DISABLE  = 4
    )
    
    //extern SigTabTT runtimeĀ·sigtab[];
    
    type sigset uint32
    
    var sigset_all = ^sigset(0)
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa usigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = ^uint32(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/runtime/os_freebsd.go

    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    type sigactiont struct {
    	sa_handler uintptr
    	sa_flags   int32
    	sa_mask    sigset
    }
    
    // See os_freebsd2.go, os_freebsd_amd64.go for setsig function
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsigstack(i uint32) {
    	var sa sigactiont
    	sigaction(i, nil, &sa)
    	if sa.sa_flags&_SA_ONSTACK != 0 {
    		return
    	}
    	sa.sa_flags |= _SA_ONSTACK
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. src/runtime/os3_solaris.go

    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    //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: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top