Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for setAlg (0.11 sec)

  1. src/cmd/compile/internal/types/size.go

    	case TFLOAT32:
    		w = 4
    		t.floatRegs = 1
    		t.setAlg(AFLOAT32)
    
    	case TFLOAT64:
    		w = 8
    		t.align = uint8(RegSize)
    		t.floatRegs = 1
    		t.setAlg(AFLOAT64)
    
    	case TCOMPLEX64:
    		w = 8
    		t.align = 4
    		t.floatRegs = 2
    		t.setAlg(ACPLX64)
    
    	case TCOMPLEX128:
    		w = 16
    		t.align = uint8(RegSize)
    		t.floatRegs = 2
    		t.setAlg(ACPLX128)
    
    	case TPTR:
    		w = int64(PtrSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/alg.go

    var algPriority = [ASPECIAL + 1]int8{ASPECIAL: 1, ANOEQ: 2, ANOALG: 3, AMEM: -1}
    
    // setAlg sets the algorithm type of t to a, if it is of higher
    // priority to the current algorithm type.
    func (t *Type) setAlg(a AlgKind) {
    	if t.alg == AUNK {
    		base.Fatalf("setAlg(%v,%s) starting with unknown priority", t, a)
    	}
    	if algPriority[a] > algPriority[t.alg] {
    		t.alg = a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

            "everything has convention and nothing set"        | setAll("convention", "convention") | ""                    | """id = convention\nbar = convention"""
            "everything has convention and is set"             | setAll("convention", "convention") | setAll("test", "baz") | """id = test\nbar = baz"""
        }
    
        def "sensible error when conventions are set more than once (#testCase)"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. operator/cmd/mesh/profile-diff_test.go

    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %q", i, c.args), func(t *testing.T) {
    			args := strings.Split(c.args, " ")
    			setFlag := fmt.Sprintf("installPackagePath=%s", snapshotCharts)
    			by := &bytes.Buffer{}
    			_, err := profileDiffInternal(args[len(args)-2], args[len(args)-1], []string{setFlag}, by, l)
    			verifyProfileDiffCommandCaseOutput(t, c, by.String(), err)
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. 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)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

                return host;
            }
        }
    
        protected String toAscii(final String host) {
            return IDN.toASCII(decode(host), flag);
        }
    
        public void setFlag(final int flag) {
            this.flag = flag;
        }
    
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/runtime/signal_unix.go

    		// it may hit stack split that is not expected here.
    		if gp != nil {
    			setg(nil)
    		}
    		badsignal(uintptr(sig), c)
    		// Restore g
    		if gp != nil {
    			setg(gp)
    		}
    		return
    	}
    
    	setg(gp.m.gsignal)
    
    	// If some non-Go code called sigaltstack, adjust.
    	var gsignalStack gsignalStack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go

    func (t Tag) RegionalTag() Tag {
    	rt := Tag{language: t.locale, locale: t.locale}
    	if t.full == nil {
    		return rt
    	}
    	b := language.Builder{}
    	tag := t.Tag()
    	// tag, _ = tag.SetTypeForKey("rg", "")
    	b.SetTag(t.locale.Tag())
    	if v := tag.Variants(); v != "" {
    		for _, v := range strings.Split(v, "-") {
    			b.AddVariant(v)
    		}
    	}
    	for _, e := range tag.Extensions() {
    		b.AddExt(e)
    	}
    	return t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top