Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for AttributeValue (0.41 sec)

  1. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestTest.groovy

            and:
            // Means 'long russian text'
            String attributeValue = 'com.acme.example.pack.**, длинный.текст.на.русском.языке.**'
            DefaultManifest gradleManifest = new DefaultManifest(fileResolver)
            gradleManifest.getAttributes().put('Looong-Name-Of-Manifest-Entry', attributeValue)
    
            when:
            gradleManifest.writeTo('manifestFile')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/MultipleCandidateMatcher.java

            for (int a = 0; a < requestedAttributes.size(); a++) {
                Attribute<?> attribute = requestedAttributes.get(a);
                AttributeValue<?> attributeValue = requested.findEntry(attribute);
                requestedAttributeValues[a] = attributeValue.isPresent() ? attributeValue.get() : null;
            }
            return requestedAttributeValues;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  3. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarEncodingIntegrationTest.groovy

            // Means 'long russian text'
            def attributeValue = 'com.acme.example.pack.**, длинный.текст.на.русском.языке.**'
    
            def mergedManifestFilename = 'manifest-with-split-multi-byte-char.txt'
            def mergedManifest = new Manifest()
            mergedManifest.mainAttributes.putValue('Manifest-Version', '1.0')
            mergedManifest.mainAttributes.putValue(attributeNameMerged, attributeValue)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/DefaultLocalConfigurationMetadataBuilder.java

            ImmutableList<LocalOriginDependencyMetadata> dependencies,
            ImmutableAttributes attributes
        ) {
            AttributeValue<Category> attributeValue = attributes.findEntry(Category.CATEGORY_ATTRIBUTE);
            if (!attributeValue.isPresent() || !attributeValue.get().getName().equals(Category.ENFORCED_PLATFORM)) {
                return dependencies;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cookie.kt

                try {
                  expiresAt = parseExpires(attributeValue, 0, attributeValue.length)
                  persistent = true
                } catch (_: IllegalArgumentException) {
                  // Ignore this attribute, it isn't recognizable as a date.
                }
              }
              attributeName.equals("max-age", ignoreCase = true) -> {
                try {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top