- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for evacuate (0.22 sec)
-
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/firUtils.kt
import org.jetbrains.kotlin.analysis.api.fir.KaFirSession import org.jetbrains.kotlin.analysis.api.fir.KaSymbolByFirBuilder import org.jetbrains.kotlin.analysis.api.fir.evaluate.FirAnnotationValueConverter import org.jetbrains.kotlin.analysis.api.fir.evaluate.FirCompileTimeConstantEvaluator import org.jetbrains.kotlin.analysis.api.types.KaTypeNullability import org.jetbrains.kotlin.descriptors.ClassKind import org.jetbrains.kotlin.fir.FirSession
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 11:53:09 UTC 2024 - 5.6K bytes - Viewed (0) -
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) -
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) -
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) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/integration_test/custom_aggregator_op_test.py
aggregator = custom_aggregator_op_wrapper.custom_aggregator( input_tensor, id='1', calibration_method=_CalibrationMethod.CALIBRATION_METHOD_MIN_MAX, ) aggregator_output = self.evaluate(aggregator) self.assertAllEqual(aggregator_output.output, [1.0, 2.0, 3.0, 4.0, 5.0]) self.assertEqual(aggregator_output.min, 1.0) self.assertEqual(aggregator_output.max, 5.0)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 5.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompileTimeConstantProvider.kt
import org.jetbrains.kotlin.resolve.constants.evaluate.ConstantExpressionEvaluator import org.jetbrains.kotlin.types.TypeUtils internal class KaFe10CompileTimeConstantProvider( override val analysisSession: KaFe10Session ) : KaCompileTimeConstantProvider(), KaFe10SessionComponent { override val token: KaLifetimeToken get() = analysisSession.token override fun evaluate(expression: KtExpression): KaConstantValue? {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 2.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompileTimeConstantProvider.kt
import org.jetbrains.kotlin.analysis.api.components.KaCompileTimeConstantProvider import org.jetbrains.kotlin.analysis.api.fir.KaFirSession import org.jetbrains.kotlin.analysis.api.fir.evaluate.FirAnnotationValueConverter import org.jetbrains.kotlin.analysis.api.fir.evaluate.FirCompileTimeConstantEvaluator import org.jetbrains.kotlin.analysis.api.lifetime.KaLifetimeToken import org.jetbrains.kotlin.analysis.low.level.api.fir.api.getOrBuildFir
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 11:53:09 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheAwareProjectEvaluator.kt
private val controller: ConfigurationCacheFingerprintController ) : ProjectEvaluator { override fun evaluate(project: ProjectInternal, state: ProjectStateInternal) { controller.runCollectingFingerprintForProject(project.identityPath) { delegate.evaluate(project, state) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ExpectingFailureRuleStatement.groovy
ExpectingFailureRuleStatement(Statement next, String feature) { this.next = next this.feature = feature } @Override void evaluate() throws Throwable { try { next.evaluate() throw new ToBeFixedSpecInterceptor.UnexpectedSuccessException(feature) } catch (ToBeFixedSpecInterceptor.UnexpectedSuccessException ex) { throw ex
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 09:04:13 UTC 2024 - 1.3K bytes - Viewed (0)