Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 190 for evalTo (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/crypto/internal/nistec/fiat/p384_fiat64.go

    	*out1 = x2
    }
    
    // p384Mul 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 p384Mul(out1 *p384MontgomeryDomainFieldElement, arg1 *p384MontgomeryDomainFieldElement, arg2 *p384MontgomeryDomainFieldElement) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:03 UTC 2022
    - 90.8K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt

                ProgramTarget.Settings -> serviceRegistryOf(target as Settings)
                ProgramTarget.Gradle -> serviceRegistryOf(target as Gradle)
            }
        }
    
        fun eval(
            target: Any,
            scriptSource: ScriptSource,
            sourceHash: HashCode,
            scriptHandler: ScriptHandler,
            targetScope: ClassLoaderScope,
            baseScope: ClassLoaderScope,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher.go

    	}
    
    	errorList := []error{}
    	for _, evalResult := range evalResults {
    		matchCondition, ok := evalResult.ExpressionAccessor.(*MatchCondition)
    		if !ok {
    			// This shouldnt happen, but if it does treat same as eval error
    			klog.Error("Invalid type conversion to MatchCondition")
    			errorList = append(errorList, errors.New(fmt.Sprintf("internal error converting ExpressionAccessor to MatchCondition")))
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. tests/integration/helm/install_test.go

    			expectedErrorPrefix := `%s "sample" is forbidden: ValidatingAdmissionPolicy 'stable-channel-default-policy.istio.io' ` +
    				`with binding 'stable-channel-default-policy-binding.istio.io' denied request`
    			err := t.ConfigIstio().Eval("default", nil, sampleEnvoyFilter).Apply()
    			if err == nil {
    				t.Errorf("Did not receive an error while applying sample EnvoyFilter with stable admission policy")
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top