Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for evacuated (0.31 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtCompileTimeConstantProvider.kt

         */
        public fun KtExpression.evaluate(): KaConstantValue? =
            withValidityAssertion { analysisSession.compileTimeConstantProvider.evaluate(this) }
    
        /**
         * Returns a [KaConstantValue] if the expression evaluates to a value that can be used as an annotation parameter value,
         * e.g. an array of constants, otherwise returns null.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/firUtils.kt

    internal fun FirExpression.asKaInitializerValue(builder: KaSymbolByFirBuilder, forAnnotationDefaultValue: Boolean): KaInitializerValue {
        val ktExpression = psi as? KtExpression
        val evaluated = FirCompileTimeConstantEvaluator.evaluateAsKtConstantValue(this)
    
        return when (evaluated) {
            null -> if (forAnnotationDefaultValue) {
                val annotationConstantValue = FirAnnotationValueConverter.toConstantValue(this, builder)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/cel/compile.go

    // The claims CEL variable is available to the expression.
    func (c compiler) CompileClaimsExpression(expressionAccessor ExpressionAccessor) (CompilationResult, error) {
    	return c.compile(expressionAccessor, claimsVarName)
    }
    
    // CompileUserExpression compiles the given expressionAccessor into a CEL program that can be evaluated.
    // The user CEL variable is available to the expression.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/provider/DeclarativeDslScriptPluginFactory.kt

            topLevelScript: Boolean
        ): ScriptPlugin =
            DeclarativeDslPlugin(scriptSource) { target ->
                when (val result = declarativeKotlinScriptEvaluator.evaluate(target, scriptSource, targetScope)) {
                    is EvaluationResult.Evaluated -> Unit
                    is EvaluationResult.NotEvaluated ->
                        throw DeclarativeDslNotEvaluatedException(scriptSource.fileName, result.stageFailures)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorTest.groovy

            when:
            evaluate()
    
            then:
            1 * cancellationToken.cancellationRequested >> true
            0 * delegate._
    
            and:
            thrown(BuildCancelledException)
        }
    
        void "evaluates the project firing all necessary listeners and updating the state"() {
            when:
            evaluate()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go

    		}
    		// If at least one matchCondition successfully evaluates to FALSE,
    		// return early
    		if !match {
    			metrics.RecordAuthorizationMatchConditionExclusion(ctx, c.AuthorizerType, c.AuthorizerName)
    			return false, nil
    		}
    	}
    	// if there is any error, return
    	if len(evalErrors) > 0 {
    		return false, utilerrors.NewAggregate(evalErrors)
    	}
    	// return ALL matchConditions evaluate to TRUE successfully without error
    	return true, 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)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/interfaces.go

    	// match. A non-nil error means the request is rejected.
    	Dispatch(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces, hooks []H) error
    }
    
    // An evaluator represents a compiled CEL expression that can be evaluated a
    // given a set of inputs used by the generic PolicyHook for Mutating and
    // ValidatingAdmissionPolicy.
    // Mutating and Validating may have different forms of evaluators
    type Evaluator interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc

      // If any operand is nullptr returns true for a failure.
      // TODO(b/120678030): remove this constraint if we find operators can be
      // evaluated with some unknown operands.
      if (std::any_of(operands.begin(), operands.end(),
                      [](Attribute operand) { return !operand; })) {
        VLOG(1) << "Can't evaluate since not all operands are constant.";
        return failure();
      }
    
      // Builds TF operation and sets all the attributes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/interface.go

    }
    
    // Filter contains a function to evaluate compiled CEL-typed values
    // It expects the inbound object to already have been converted to the version expected
    // by the underlying CEL code (which is indicated by the match criteria of a policy definition).
    // versionedParams may be nil.
    type Filter interface {
    	// ForInput converts compiled CEL-typed values into evaluated CEL-typed value.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics.go

    	RecordAuthorizationMatchConditionEvaluationFailure(ctx context.Context, authorizerType, authorizerName string)
    	// RecordAuthorizationMatchConditionExclusion records increments when at least one matchCondition evaluates to false and excludes an Authorize() call to the given authorizer
    	RecordAuthorizationMatchConditionExclusion(ctx context.Context, authorizerType, authorizerName string)
    }
    
    type NoopMatcherMetrics struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top