Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for evalTo (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    				execSeatsIntegrator: uss.execSeatsIntegrators[i],
    				fsName:              fsName,
    			}
    			ust.start()
    		}
    	}
    	if uss.doSplit {
    		uss.evalTo(uss.startTime.Add(uss.evalDuration/2), false, uss.expectedFair[0], uss.expectedFairnessMargin[0])
    	}
    	uss.evalTo(uss.startTime.Add(uss.evalDuration), true, uss.expectedFair[len(uss.expectedFair)-1], uss.expectedFairnessMargin[len(uss.expectedFairnessMargin)-1])
    	uss.clk.Run(nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  2. 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)
  3. cmd/testdata/undeleteable-object.tgz

    ¢IDÄ ¤DDirÄ Ti²)ˆúERž •†rX æ¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistœ ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘Ñ ªPartASizes‘Ñ ¤SizeÑ ¥MTimeÓ É žùç°§MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¤etagÙ 14a1119d5fe668d77000¬content-type¸application/octet-stream¡v Î@<ÉD ¤nullÄ7ÇZß ã?øO¼¡*gý V‰}z† Ír­!ù¬· 0Âéÿ S e ÚòP9WËpè‚ Jó±% multisitea/data/disterasure/xl12/bucket/2/xl.meta XL2 Æ i Ä$•Ä Ó É ¥— HÄ ABGJ Å =ƒ¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ ¹Ü±Ÿ>!HÈ’¹Ž¦iÄ ÷¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 00:31:12 UTC 2024
    - 8.7M 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. 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)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluator.kt

                            CloseTargetScope,
                            ApplyBasePlugins,
                            Eval(program.source)
                        )
                    }
                }
    
                else -> {
                    Static(
                        defaultStageTransition(),
                        Eval(program.source)
                    )
                }
            }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompilerTest.kt

        }
    
        @Test
        fun `Static(Eval(buildscript)) reports script exception back to host`() {
    
            val fragment = fragment(
                "buildscript",
                "throw IllegalStateException(\"BOOM!\")"
            )
    
            val programHost = mock<ExecutableProgram.Host>()
            val scriptHost = scriptHostWith(mock<Settings>())
            withExecutableProgramFor(Static(Eval(fragment.source))) {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/cel/mapper.go

    	return m.eval(ctx, map[string]interface{}{claimsVarName: claims.Object})
    }
    
    // EvalUser evaluates the given user expressions and returns a list of EvaluationResult.
    func (m *mapper) EvalUser(ctx context.Context, userInfo *unstructured.Unstructured) ([]EvaluationResult, error) {
    	return m.eval(ctx, map[string]interface{}{userVarName: userInfo.Object})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 20:16:09 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top