Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for evaln (0.2 sec)

  1. test/chan/powser1.go

    	return add(u, neg(v))
    }
    
    func inv(u rat) rat { // invert a rat
    	if u.num == 0 {
    		panic("zero divide in inv")
    	}
    	return i2tor(u.den, u.num)
    }
    
    // print eval in floating point of PS at x=c to n terms
    func evaln(c rat, U PS, n int) {
    	xn := float64(1)
    	x := float64(c.num) / float64(c.den)
    	val := float64(0)
    	for i := 0; i < n; i++ {
    		u := get(U)
    		if end(u) != 0 {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 12.7K bytes
    - Viewed (0)
  2. test/chan/powser2.go

    	return add(u, neg(v))
    }
    
    func inv(u *rat) *rat { // invert a rat
    	if u.num == 0 {
    		panic("zero divide in inv")
    	}
    	return i2tor(u.den, u.num)
    }
    
    // print eval in floating point of PS at x=c to n terms
    func Evaln(c *rat, U PS, n int) {
    	xn := float64(1)
    	x := float64(c.num) / float64(c.den)
    	val := float64(0)
    	for i := 0; i < n; i++ {
    		u := get(U)
    		if end(u) != 0 {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 13.3K bytes
    - Viewed (0)
  3. src/go/types/eval.go

    // same as in [CheckExpr]. An error is returned if expr cannot
    // be parsed successfully, or the resulting expr AST cannot be
    // type-checked.
    func Eval(fset *token.FileSet, pkg *Package, pos token.Pos, expr string) (_ TypeAndValue, err error) {
    	// parse expressions
    	node, err := parser.ParseExprFrom(fset, "eval", expr, 0)
    	if err != nil {
    		return TypeAndValue{}, err
    	}
    
    	info := &Info{
    		Types: make(map[ast.Expr]TypeAndValue),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/fixtures/SimplifiedKotlinScriptEvaluatorTest.kt

        @Test
        fun `can eval script against Project mock`() {
    
            val project = project()
            eval(
                script = """
                    version = "1.0"
                """,
                target = project
            )
            verify(project).version = "1.0"
        }
    
        @Test
        fun `can eval script against Settings mock`() {
    
            val settings = mock<Settings>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/passbm_test.go

    			Valu(valn("addr", i, 1), OpAddr, ptrType, 0, nil, "sb"),
    			Valu(valn("addr", i, 2), OpAddr, ptrType, 0, nil, "sb"),
    			Valu(valn("addr", i, 3), OpAddr, ptrType, 0, nil, "sb"),
    			Valu(valn("zero", i, 1), OpZero, types.TypeMem, 8, elemType, valn("addr", i, 3),
    				valn("store", i-1, 4)),
    			Valu(valn("store", i, 1), OpStore, types.TypeMem, 0, elemType, valn("addr", i, 1),
    				valn("v", i, 0), valn("zero", i, 1)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/script/conds.go

    func Condition(summary string, eval func(*State) (bool, error)) Cond {
    	return &funcCond{eval: eval, usage: CondUsage{Summary: summary}}
    }
    
    type funcCond struct {
    	eval  func(*State) (bool, error)
    	usage CondUsage
    }
    
    func (c *funcCond) Usage() *CondUsage { return &c.usage }
    
    func (c *funcCond) Eval(s *State, suffix string) (bool, error) {
    	if suffix != "" {
    		return false, ErrUsage
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/imports/build.go

    	case *constraint.NotExpr:
    		return !eval(x.X, tags, !prefer)
    	case *constraint.AndExpr:
    		return eval(x.X, tags, prefer) && eval(x.Y, tags, prefer)
    	case *constraint.OrExpr:
    		return eval(x.X, tags, prefer) || eval(x.Y, tags, prefer)
    	}
    	panic(fmt.Sprintf("unexpected constraint expression %T", x))
    }
    
    // Eval is like
    //
    //	x.Eval(func(tag string) bool { return matchTag(tag, tags) })
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/AbstractDslTest.kt

    class DslTestFixture(private val testDirectory: File) {
    
        val kotlinDslEvalBaseCacheDir: File by lazy {
            testDirectory.resolve("kotlin-dsl-eval-cache").apply {
                mkdirs()
            }
        }
    
        val kotlinDslEvalBaseTempDir: File by lazy {
            testDirectory.resolve("kotlin-dsl-eval-temp").apply {
                mkdirs()
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. tools/packaging/packaging.mk

    ISTIO_FILES:=
    $(foreach DEP,$(ISTIO_DEB_DEPS),\
            $(eval ${TARGET_OUT_LINUX}/release/istio.deb: $(TARGET_OUT_LINUX)/$(DEP)) \
            $(eval ISTIO_FILES+=$(TARGET_OUT_LINUX)/$(DEP)=$(ISTIO_DEB_BIN)/$(DEP)) )
    
    SIDECAR_DEB_DEPS:=envoy pilot-agent
    SIDECAR_FILES:=
    $(foreach DEP,$(SIDECAR_DEB_DEPS),\
            $(eval ${TARGET_OUT_LINUX}/release/istio-sidecar.deb: $(TARGET_OUT_LINUX)/$(DEP)) \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 19:54:32 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/fiat/p224_fiat64.go

    	*out1 = x2
    }
    
    // p224Mul multiplies two field elements in the Montgomery domain.
    //
    // Preconditions:
    //
    //	0 ≤ eval arg1 < m
    //	0 ≤ eval arg2 < m
    //
    // Postconditions:
    //
    //	eval (from_montgomery out1) mod m = (eval (from_montgomery arg1) * eval (from_montgomery arg2)) mod m
    //	0 ≤ eval out1 < m
    func p224Mul(out1 *p224MontgomeryDomainFieldElement, arg1 *p224MontgomeryDomainFieldElement, arg2 *p224MontgomeryDomainFieldElement) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:03 UTC 2022
    - 43.2K bytes
    - Viewed (0)
Back to top