- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 95 for setZero (0.17 sec)
-
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirector.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt
val isDirectAccessOnly = getter.annotations.any { it is AccessFromCurrentReceiverOnly } val setter = functionsByName["set$nameAfterGet"]?.find { fn -> fn.parameters.singleOrNull { it != fn.instanceParameter }?.type == getter.returnType } val mode = run { if (setter != null) DefaultPropertyMode.DefaultReadWrite else DefaultPropertyMode.DefaultReadOnly }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:01 UTC 2024 - 6.7K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/callables/KtPropertyAccessorsRenderer.kt
declarationRenderer: KaDeclarationRenderer, printer: PrettyPrinter, ) { printer { val toRender = listOfNotNull(symbol.getter, symbol.setter).ifEmpty { return } append("\n") withIndent { "\n".separated( { toRender.firstIsInstanceOrNull<KaPropertyGetterSymbol>()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
// `PropertyInternal` does not directly provide these setters, // but all user-facing interfaces and their implementations do. property."$setter"(providerWithSideEffect) property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead) property.calculateExecutionTimeValue() then: 0 * _ // no side effects when calling setter or calculated values are not unpacked
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 87.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
//TODO Check thread safety session.jvmTypeMapper.mapType(this, mode, signatureWriter) { val containingFile = useSitePosition.containingKtFile // parameters for default setters does not have kotlin origin, but setter has ?: (useSitePosition as? KtLightParameter)?.parent?.parent?.containingKtFile ?: return@mapType null
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 20:26:34 UTC 2024 - 18.4K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtFunctionLikeSignature.kt
import org.jetbrains.kotlin.analysis.api.symbols.KaValueParameterSymbol import org.jetbrains.kotlin.analysis.api.types.KaSubstitutor /** * A signature of a function-like symbol. This includes functions, getters, setters, lambdas, etc. */ public abstract class KaFunctionLikeSignature<out S : KaFunctionLikeSymbol> : KaCallableSignature<S>() { /** * The use-site-substituted value parameters. */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1010 bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/symbols/pointers/KtValueParameterFromDefaultSetterSymbolPointer.kt
override fun restoreSymbol(analysisSession: KaSession): KaValueParameterSymbol? { val ownerSymbol = with(analysisSession) { ownerPointer.restoreSymbol() } return ownerSymbol?.setter?.parameter } override fun pointsToTheSameSymbolAs(other: KaSymbolPointer<KaSymbol>): Boolean = this === other || other is KaValueParameterFromDefaultSetterSymbolPointer &&
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirPropertyDelegationMethodsReference.kt
if (property.delegate == null) return emptyList() val getValueSymbol = (property.getter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol() val setValueSymbol = (property.setter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol() return listOfNotNull( getValueSymbol?.fir?.buildSymbol(firSymbolBuilder),
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 2.3K bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/symbols/pointers/KtPropertyAccessorSymbolPointer.kt
@Deprecated("Consider using org.jetbrains.kotlin.analysis.api.KaSession.restoreSymbol") override fun restoreSymbol(analysisSession: KaSession): KaPropertySetterSymbol? { return restorePropertySymbol(analysisSession)?.setter }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ReplacedAccessor.java
import java.lang.annotation.Target; @Retention(RetentionPolicy.CLASS) @Target({ElementType.ANNOTATION_TYPE}) public @interface ReplacedAccessor { enum AccessorType { GETTER, SETTER } AccessorType value(); /** * The name of the accessor, e.g. `getDestinationDir` or `setDestinationDir` */ String name(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 08:40:36 UTC 2024 - 1.5K bytes - Viewed (0)