- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for evalTo (0.1 sec)
-
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) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go
policyDecision: []PolicyDecision{ { Action: ActionDeny, Message: "test1", // original message used Reason: forbiddenReason, }, }, }, { name: "messageExpression eval to empty", evaluations: []cel.EvaluationResult{ { EvalResult: celtypes.False, ExpressionAccessor: &ValidationCondition{ Reason: &forbiddenReason,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 24.7K bytes - Viewed (0) -
src/syscall/js/js_test.go
// An object and its prototype should not be equal. proto := js.Global().Get("Object").Get("prototype") o := js.Global().Call("eval", "new Object()") if proto.Equal(o) { t.Errorf("object equals to its prototype") } } func TestFrozenObject(t *testing.T) { o := js.Global().Call("eval", "(function () { let o = new Object(); o.field = 5; Object.freeze(o); return o; })()") want := 5
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0) -
Makefile
hotfix-vars: $(eval LDFLAGS := $(shell MINIO_RELEASE="RELEASE" MINIO_HOTFIX="hotfix.$(shell git rev-parse --short HEAD)" go run buildscripts/gen-ldflags.go $(shell git describe --tags --abbrev=0 | \ sed 's#RELEASE\.\([0-9]\+\)-\([0-9]\+\)-\([0-9]\+\)T\([0-9]\+\)-\([0-9]\+\)-\([0-9]\+\)Z#\1-\2-\3T\4:\5:\6Z#')))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# character that might be a shell metacharacter, then use eval to reverse # that process (while maintaining the separation between arguments), and wrap # the whole thing up as a single "set" statement. # # This will of course break if any of these variables contains a newline or # an unmatched quote. # eval "set -- \$( printf '%s\\n' "\$DEFAULT_JVM_OPTS \$JAVA_OPTS \$${optsEnvironmentVar}" |
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 13:43:33 UTC 2024 - 11K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle
} } performanceTest.registerAndroidTestProject("uberMobileApp", RemoteProject) { remoteUri = 'https://github.com/gradle/android-build-eval.git' subdirectory = 'mobile_app1' // Pinned from PR https://github.com/uber-common/android-build-eval/pull/17 ref = '18ff193198010064e43e9244edde91ab54c2da70' doLast(objects.newInstance(DeleteOkBuckDirectory)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 15:43:39 UTC 2024 - 19.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go
} if err == nil { authorized, _, err := wh.Authorize(context.Background(), test.attr) if test.expectedEvalErr && err == nil { t.Fatalf("%d: Expected eval error", i) } else if !test.expectedEvalErr && err != nil { t.Fatalf("%d: unexpected error when authorizing: %v", i, err) } if test.expectedDecision != authorized {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 43.2K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
return p, fmt.Errorf("%s: parsing //go:build line: %v", name, err) } shouldBuild = ctxt.eval(x, allTags) } else if plusBuildConstraints := tf.plusBuildConstraints(); len(plusBuildConstraints) > 0 { for _, text := range plusBuildConstraints { if x, err := constraint.Parse(text); err == nil { if !ctxt.eval(x, allTags) { shouldBuild = false } } } } ext := nameExt(name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go
ast, issues := env.Compile(expr) if len(issues.Errors()) > 0 { return false, issues.Err() } prog, err := env.Program(ast) if err != nil { return false, err } result, _, err := prog.Eval(activation) if err != nil { return false, err } return result.Value() == true, nil } type fakeAuthorizer struct { decision authorizer.Decision reason string err error }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt
targetScope: ClassLoaderScope, baseScope: ClassLoaderScope, topLevelScript: Boolean, options: EvalOptions ) { withOptions(options) { interpreter.eval( target, scriptSource, scriptSourceHasher.hash(scriptSource), scriptHandler, targetScope, baseScope,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 10:23:24 UTC 2024 - 17.1K bytes - Viewed (0)