Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for evalTo (0.12 sec)

  1. src/go/build/constraint/expr.go

    // An AndExpr represents the expression X && Y.
    type AndExpr struct {
    	X, Y Expr
    }
    
    func (x *AndExpr) isExpr() {}
    
    func (x *AndExpr) Eval(ok func(tag string) bool) bool {
    	// Note: Eval both, to make sure ok func observes all tags.
    	xok := x.X.Eval(ok)
    	yok := x.Y.Eval(ok)
    	return xok && yok
    }
    
    func (x *AndExpr) String() string {
    	return andArg(x.X) + " && " + andArg(x.Y)
    }
    
    func andArg(x Expr) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. src/go/types/eval_test.go

    	gotTv, err := Eval(fset, pkg, pos, expr)
    	if err != nil {
    		t.Errorf("Eval(%q) failed: %s", expr, err)
    		return
    	}
    	if gotTv.Type == nil {
    		t.Errorf("Eval(%q) got nil type but no error", expr)
    		return
    	}
    
    	// compare types
    	if typ != nil {
    		// we have a type, check identity
    		if !Identical(gotTv.Type, typ) {
    			t.Errorf("Eval(%q) got type %s, want %s", expr, gotTv.Type, typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluatorTest.kt

    import org.gradle.kotlin.dsl.execution.ResidualProgram.Instruction.CollectProjectScriptDependencies
    import org.gradle.kotlin.dsl.execution.ResidualProgram.Instruction.Eval
    import org.gradle.kotlin.dsl.execution.ResidualProgram.Instruction.SetupEmbeddedKotlin
    import org.gradle.kotlin.dsl.execution.ResidualProgram.PluginRequestSpec
    import org.gradle.kotlin.dsl.execution.ResidualProgram.Static
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 38.9K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/evalJvm.fragment.kt

    eval("node")...
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jan 05 16:04:14 UTC 2024
    - 12 bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/SimplifiedKotlinScriptEvaluator.kt

        private val scriptRuntimeClassPath: ClassPath = ClassPath.EMPTY
    ) : AutoCloseable {
    
        fun eval(script: String, target: Any, topLevelScript: Boolean = false) {
            Interpreter(InterpreterHost()).eval(
                target,
                scriptSourceFor(script),
                Hashing.md5().hashString(script),
                mock(),
                targetScope,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy_test.go

    	}
    	prog, err := env.Program(ast)
    	if err != nil {
    		return nil, fmt.Errorf("cannot create program: %w", err)
    	}
    	v, _, err := prog.Eval(activation)
    	if err != nil {
    		return nil, fmt.Errorf("cannot eval program: %w", err)
    	}
    	return v, nil
    }
    
    func buildTestEnv() (*cel.Env, *apiservercel.DeclType, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. tests/integration/security/ecc_signature_algorithm/mtls_strict_test.go

    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			ns := apps.EchoNamespace.Namespace.Name()
    			args := map[string]string{"AppNamespace": ns}
    			t.ConfigIstio().Eval(ns, args, PeerAuthenticationConfig).ApplyOrFail(t, apply.Wait)
    			t.ConfigIstio().Eval(ns, args, DestinationRuleConfigIstioMutual).ApplyOrFail(t, apply.Wait)
    
    			client := apps.EchoNamespace.A[0]
    			server := apps.EchoNamespace.B[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/diagnosticsProvider/codeFragmentDiagnostics/evalJvmJs.fragment.kt

    eval("node")...
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jan 05 16:04:14 UTC 2024
    - 12 bytes
    - Viewed (0)
  9. pkg/test/framework/config.go

    	}
    }
    
    func (c *configFactory) YAML(ns string, yamlText ...string) config.Plan {
    	return c.New().YAML(ns, yamlText...)
    }
    
    func (c *configFactory) Eval(ns string, args any, yamlTemplates ...string) config.Plan {
    	return c.New().Eval(ns, args, yamlTemplates...)
    }
    
    func (c *configFactory) File(ns string, filePaths ...string) config.Plan {
    	return c.New().File(ns, filePaths...)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle.go

    	StorageClass            string
    }
    
    // Eval returns the lifecycle event applicable now.
    func (lc Lifecycle) Eval(obj ObjectOpts) Event {
    	return lc.eval(obj, time.Now().UTC())
    }
    
    // eval returns the lifecycle event applicable at the given now. If now is the
    // zero value of time.Time, it returns the upcoming lifecycle event.
    func (lc Lifecycle) eval(obj ObjectOpts, now time.Time) Event {
    	var events []Event
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top