Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for AttributeValue (0.24 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/DesugaringAttributeContainerSerializer.java

                } else {
                    assert Named.class.isAssignableFrom(attribute.getType());
                    Named attributeValue = (Named) container.getAttribute(attribute);
                    encoder.writeByte(DESUGARED_ATTRIBUTE);
                    encoder.writeString(attributeValue.getName());
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/DefaultManifest.java

            for (Object attributeKey : javaManifest.getMainAttributes().keySet()) {
                String attributeName = attributeKey.toString();
                String attributeValue = javaManifest.getMainAttributes().getValue(attributeName);
                attributes.put(attributeName, attributeValue);
            }
        }
    
        private void addJavaManifestToSections(Manifest javaManifest) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/versionmapping/DefaultVersionMappingStrategy.java

            mappingsForAllVariants.add(action);
        }
    
        @Override
        public <T> void variant(Attribute<T> attribute, T attributeValue, Action<? super VariantVersionMappingStrategy> action) {
            attributeBasedMappings.put(attributesFactory.of(attribute, attributeValue), action);
        }
    
        @Override
        public void usage(String usage, Action<? super VariantVersionMappingStrategy> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/main/java/org/gradle/api/internal/artifacts/JavaEcosystemAttributesDescriber.java

                    sb.append("documentation of type '").append(name).append("'");
            }
        }
    
        private static String toName(Object attributeValue) {
            return attributeValue instanceof Category ? ((Named) attributeValue).getName() : String.valueOf(attributeValue);
        }
    
        /**
         * Checks if two attributes have the same name.
         *
         * @param a first attribute to compare
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:13:00 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/ResolutionCandidateAssessor.java

                Attribute<Object> untyped = Cast.uncheckedCast(attribute);
                String attributeName = attribute.getName();
                AttributeValue<?> consumerValue = requestedAttributes.findEntry(attributeName);
                AttributeValue<?> producerValue = candidateAttributes.findEntry(attributeName);
    
                if (consumerValue.isPresent() && producerValue.isPresent()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributes.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.TreeMap;
    import java.util.concurrent.ConcurrentHashMap;
    
    final class DefaultImmutableAttributes implements ImmutableAttributes, AttributeValue<Object> {
        private static final Comparator<Attribute<?>> ATTRIBUTE_NAME_COMPARATOR = Comparator.comparing(Attribute::getName);
        // Coercion is an expensive process, so we cache the result of coercing to other attribute types.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/resource/v1alpha2/namedresources.go

    	// the driver on the node. It must be a DNS subdomain.
    	Name string `json:"name" protobuf:"bytes,1,name=name"`
    
    	NamedResourcesAttributeValue `json:",inline" protobuf:"bytes,2,opt,name=attributeValue"`
    }
    
    // The Go field names below have a Value suffix to avoid a conflict between the
    // field "String" and the corresponding method. That method is required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            )
          },
        )
    
      /**
       * ```
       * AttributeTypeAndValue ::= SEQUENCE {
       *   type     AttributeType,
       *   value    AttributeValue
       * }
       *
       * AttributeType ::= OBJECT IDENTIFIER
       *
       * AttributeValue ::= ANY -- DEFINED BY AttributeType
       * ```
       */
      private val attributeTypeAndValue: BasicDerAdapter<AttributeTypeAndValue> =
        Adapters.sequence(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractValueProcessor.java

            }
            if (valueClass.isArray()) {
                return processArray(value, visitor);
            }
            if (value instanceof Attribute) {
                return visitor.attributeValue((Attribute<?>) value);
            }
            if (value instanceof Managed) {
                return processManaged((Managed) value, visitor);
            }
            if (value instanceof Isolatable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 19:08:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelector.java

    import org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.ResolvedVariantSet;
    import org.gradle.api.internal.attributes.AttributeContainerInternal;
    import org.gradle.api.internal.attributes.AttributeValue;
    import org.gradle.api.internal.attributes.AttributesSchemaInternal;
    import org.gradle.api.internal.attributes.ImmutableAttributes;
    import org.gradle.api.internal.attributes.ImmutableAttributesFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 13:33:37 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top