- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for NewCompiler (0.32 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go
IntroducedVersion: version.MajorMinor(1, 999), EnvOptions: []celgo.EnvOption{library.Test()}, }) if err != nil { t.Fatal(err) } compiler := NewCompiler(extended) for _, tc := range cases { envType := tc.envType if envType == "" { envType = environment.NewExpressions } t.Run(tc.name, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/tasks/AbstractNativeCompileTask.java
this.targetPlatform = objectFactory.property(NativePlatform.class); this.toolChain = objectFactory.property(NativeToolChain.class); this.incrementalCompiler = getIncrementalCompilerBuilder().newCompiler(this, source, includes.plus(systemIncludes), macros, toolChain.map(new Transformer<Boolean, NativeToolChain>() { @Override public Boolean transform(NativeToolChain nativeToolChain) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 10.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go
CompileCELExpression(expressionAccessor ExpressionAccessor, options OptionalVariableDeclarations, mode environment.Type) CompilationResult } type compiler struct { varEnvs variableDeclEnvs } func NewCompiler(env *environment.EnvSet) Compiler { return &compiler{varEnvs: mustBuildEnvs(env)} } type variableDeclEnvs map[OptionalVariableDeclarations]*environment.EnvSet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10.5K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/swift/tasks/SwiftCompile.java
NativeToolChainInternal toolChain = Cast.cast(NativeToolChainInternal.class, getToolChain().get()); PlatformToolProvider toolProvider = toolChain.select(targetPlatform); return toolProvider.newCompiler(SwiftCompileSpec.class); } @TaskAction protected void compile(InputChanges inputs) { final List<File> removedFiles = new ArrayList<>(); final Set<File> changedFiles = new HashSet<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go
) // filterCompiler implement the interface FilterCompiler. type filterCompiler struct { compiler Compiler } func NewFilterCompiler(env *environment.EnvSet) FilterCompiler { return &filterCompiler{compiler: NewCompiler(env)} } type evaluationActivation struct { object, oldObject, params, request, namespace, authorizer, requestResourceAuthorizer, variables interface{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 24 14:46:11 UTC 2023 - 12.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
}, }, }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { c := filterCompiler{compiler: NewCompiler(environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true))} e := c.Compile(tc.validation, OptionalVariableDeclarations{HasParams: false, HasAuthorizer: false, StrictCost: true}, environment.NewExpressions)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/compile/GroovyCompile.java
GroovyCompilerFactory groovyCompilerFactory = getGroovyCompilerFactory(); Compiler<GroovyJavaJointCompileSpec> delegatingCompiler = groovyCompilerFactory.newCompiler(spec); CleaningJavaCompiler<GroovyJavaJointCompileSpec> cleaningGroovyCompiler = new CleaningJavaCompiler<>(delegatingCompiler, getOutputs(), getDeleter()); if (spec.incrementalCompilationEnabled()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 15.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go
var allErrs field.ErrorList // strictCost is set to true which enables the strict cost for CEL validation. compiler := authenticationcel.NewCompiler(environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true)) state := &validationState{} allErrs = append(allErrs, validateIssuer(authenticator.Issuer, disallowedIssuers, fldPath.Child("issuer"))...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 31.3K bytes - Viewed (0)