Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for setOrig (0.15 sec)

  1. src/cmd/compile/internal/ssa/regalloc.go

    		r := pickReg(m)
    		m &^= 1 << r
    		x := s.curBlock.NewValue0(src.NoXPos, OpClobberReg, types.TypeVoid)
    		s.f.setHome(x, &s.registers[r])
    	}
    }
    
    // setOrig records that c's original value is the same as
    // v's original value.
    func (s *regAllocState) setOrig(c *Value, v *Value) {
    	if int(c.ID) >= cap(s.orig) {
    		x := s.f.Cache.allocValueSlice(int(c.ID) + 1)
    		copy(x, s.orig)
    		s.f.Cache.freeValueSlice(s.orig)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  2. src/crypto/internal/bigmod/nat_test.go

    	N, _ := NewModulusFromBig(n)
    	A := NewNat().setBig(a).ExpandFor(N)
    	B := NewNat().setBig(b).ExpandFor(N)
    
    	if A.Mul(B, N).IsZero() != 1 {
    		t.Error("a * b mod (a * b) != 0")
    	}
    
    	i := new(big.Int).ModInverse(a, b)
    	N, _ = NewModulusFromBig(b)
    	A = NewNat().setBig(a).ExpandFor(N)
    	I := NewNat().setBig(i).ExpandFor(N)
    	one := NewNat().setBig(big.NewInt(1)).ExpandFor(N)
    
    	if A.Mul(I, N).Equal(one) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:56:20 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/memcombine.go

    		}
    
    		// Move all the stores to the root.
    		for i := int64(0); i < n; i++ {
    			v := a[i].store
    			if v == root {
    				v.Aux = cv.Type // widen store type
    				v.Pos = pos
    				v.SetArg(0, ptr)
    				v.SetArg(1, cv)
    				v.SetArg(2, mem)
    			} else {
    				clobber(v)
    				v.Type = types.Types[types.TBOOL] // erase memory type
    			}
    		}
    		return true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K 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_unix.go

    			if fwdSig[i] != _SIG_DFL && fwdSig[i] != _SIG_IGN {
    				setsigstack(i)
    			} else if fwdSig[i] == _SIG_IGN {
    				sigInitIgnored(i)
    			}
    			continue
    		}
    
    		handlingSig[i] = 1
    		setsig(i, abi.FuncPCABIInternal(sighandler))
    	}
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigInstallGoHandler(sig uint32) bool {
    	// For some signals, we respect an inherited SIG_IGN handler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/runtime/defs_linux_loong64.go

    	_O_NONBLOCK = 0x800
    	_O_CLOEXEC  = 0x80000
    )
    
    type sigactiont struct {
    	sa_handler uintptr
    	sa_flags   uint64
    	sa_mask    uint64
    	// Linux on loong64 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
    	__pad0   [1]int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top