- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for IsReadOnly (0.5 sec)
-
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt
property.name, property.returnType, property.returnType.toDataTypeRefOrError(), if (isReadOnly) DefaultPropertyMode.DefaultReadOnly else DefaultPropertyMode.DefaultReadWrite, hasDefaultValue = run { isReadOnly || property.annotationsWithGetters.any { it is HasDefaultValue } }, isHiddenInDeclarativeDsl = isHidden,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:01 UTC 2024 - 6.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go
// The attribute accessors known to cache key construction. If this fails to compile, the cache // implementation may need to be updated. var _ authorizer.Attributes = (interface { GetUser() user.Info GetVerb() string IsReadOnly() bool GetNamespace() string GetResource() string GetSubresource() string GetName() string GetAPIGroup() string GetAPIVersion() string IsResourceRequest() bool GetPath() string })(nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/StatementResolver.kt
errorCollector.collect(ResolutionError(assignment, ErrorReason.UnresolvedAssignmentLhs)) null } else { var hasErrors = false if (lhsResolution.property.isReadOnly) { errorCollector.collect(ResolutionError(assignment, ErrorReason.ReadOnlyPropertyAssignment(lhsResolution.property))) hasErrors = true }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:02 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/DefaultAnalysisSchema.kt
@Serializable data object DefaultWriteOnly : PropertyMode.WriteOnly { private fun readResolve(): Any = DefaultWriteOnly } } } val DataProperty.isReadOnly: Boolean get() = mode is PropertyMode.ReadOnly val DataProperty.isWriteOnly: Boolean get() = mode is PropertyMode.WriteOnly @Serializable @SerialName("dataBuilderFunction")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:10 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy
class BooleanProps { boolean prop boolean isSomeProp() { return prop } void setSomeProp(boolean value) { } boolean isReadOnly() { return prop } } class Overloads { String getProp() { return null } boolean isProp() { return false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 23:46:06 UTC 2023 - 11.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java
} private static boolean isNameProperty(PropertyMetadata property) { // Property is read only, called "name", has type String and getter is abstract return property.isReadOnly() && "name".equals(property.getName()) && property.getType() == String.class && property.getMainGetter().isAbstract(); } private static boolean hasPropertyType(PropertyMetadata property) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 63K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc
bool IsRead() const { return effects_.test(kRead); } bool IsWrite() const { return effects_.test(kWrite); } bool IsAllocOnly() const { return IsAlloc() && effects_.count() == 1; } bool IsReadOnly() const { return IsRead() && effects_.count() == 1; } ResourceId GetResourceId() const { return resource_id_; } void SetAlloc() { effects_.set(kAlloc); } void SetFree() { effects_.set(kFree); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 41.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy
void setPrimitive(long l) } @Managed static interface SomeTypeWithReadOnlyProperty { SomeType getValue() SomeUnmanagedStruct getOtherValue() boolean isReadOnly() } @UnmanagedStruct static interface SomeUnmanagedStruct { void setValue(String value) } @Managed static abstract class SomeTypeWithReadOnly {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.6K bytes - Viewed (0)