- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 190 for evalTo (0.21 sec)
-
test/fixedbugs/issue9604b.go
} type unop struct { name string eval func(x *big.Int) *big.Int } var unops = []unop{ unop{"+", func(x *big.Int) *big.Int { return new(big.Int).Set(x) }}, unop{"-", func(x *big.Int) *big.Int { return new(big.Int).Neg(x) }}, unop{"^", func(x *big.Int) *big.Int { return new(big.Int).Not(x) }}, } type shiftop struct { name string eval func(x *big.Int, i uint) *big.Int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 4.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go
// These are optional fields which can be populated if metrics reporting is desired Metrics MatcherMetrics AuthorizerType string AuthorizerName string } // eval evaluates the given SubjectAccessReview against all cel matchCondition expression func (c *CELMatcher) Eval(ctx context.Context, r *authorizationv1.SubjectAccessReview) (bool, error) { var evalErrors []error metrics := c.Metrics if metrics == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 2.9K bytes - Viewed (0) -
src/crypto/internal/nistec/fiat/p256_fiat64.go
*out1 = x2 } // p256Mul 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 p256Mul(out1 *p256MontgomeryDomainFieldElement, arg1 *p256MontgomeryDomainFieldElement, arg2 *p256MontgomeryDomainFieldElement) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 05 21:53:03 UTC 2022 - 41.2K bytes - Viewed (0) -
test/typeparam/issue47740.go
// license that can be found in the LICENSE file. package main import "fmt" type Exp[Ty any] interface { Eval() Ty } // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639). // type Lit[Ty any] Ty // // func (lit Lit[Ty]) Eval() Ty { return Ty(lit) } // func (lit Lit[Ty]) String() string { return fmt.Sprintf("(lit %v)", Ty(lit)) } type Eq[Ty any] struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1008 bytes - Viewed (0) -
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) -
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) -
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) -
pkg/test/framework/resource/config/factory.go
YAML(ns string, yamlText ...string) Plan // File reads the given files and calls YAML. File(ns string, paths ...string) Plan // Eval the same as YAML, but it evaluates the template parameters. Eval(ns string, args any, yamlText ...string) Plan // EvalFile the same as File, but it evaluates the template parameters. EvalFile(ns string, args any, paths ...string) Plan
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 1.1K bytes - Viewed (0) -
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) -
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)