Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Selects (0.5 sec)

  1. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/specs/Specs.java

        }
    
        public static <T> Spec<T> convertClosureToSpec(final Closure<?> closure) {
            return new ClosureSpec<>(closure);
        }
    
        /**
         * Returns a spec that selects the intersection of those items selected by the given specs. Returns a spec that selects everything when no specs provided.
         */
        @SafeVarargs
        @SuppressWarnings("varargs")
        public static <T> Spec<T> intersect(Spec<? super T>... specs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelSpec.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.model.internal.core;
    
    /**
     * An open set of criteria that selects model nodes. A node must satisfy all of the criteria defined by {@link ModelPredicate} plus
     * those defined by {@link #matches(MutableModelNode)}.
     */
    public abstract class ModelSpec extends ModelPredicate {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/InjectUtil.java

    import org.gradle.internal.logging.text.TreeFormatter;
    
    import javax.inject.Inject;
    import java.lang.reflect.Modifier;
    import java.util.ArrayList;
    import java.util.List;
    
    class InjectUtil {
        /**
         * Selects the single injectable constructor for the given type.
         * The type must either have only one public or package-private default constructor,
         * or it should have a single constructor annotated with {@literal @}{@link Inject}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPredicate.java

    import javax.annotation.Nullable;
    
    /**
     * A predicate that selects model nodes.
     *
     * <p>Defines a fixed set of criteria that a model node must match. A node is only selected when it matches all non-null criteria.</p>
     */
    public abstract class ModelPredicate {
        /**
         * Returns the path of the node to select, or null if path is not relevant.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            if (type == null) {
                type = new PathModularization(path, false).getPathType();
                pathTypes.put(path, type);
            }
            return type;
        }
    
        /**
         * Selects the type of path where to place the given dependency.
         * This method returns one of the values specified in the given collection.
         * This method does not handle the patch-module paths, because the patches
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashing.java

      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashing.java

      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java

                    "test".getBytes(StandardCharsets.UTF_8), service.select(Arrays.asList("SHA-1", "MD5")));
            assertNotNull(checksums);
            assertEquals(2, checksums.size());
            assertEquals("a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", checksums.get(service.select("SHA-1")));
            assertEquals("098f6bcd4621d373cade4e832627b4f6", checksums.get(service.select("MD5")));
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 21 08:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

                    .collect(Collectors.toList());
        }
    
        @Override
        public ChecksumAlgorithm select(String algorithmName) {
            nonNull(algorithmName, "algorithmName");
            try {
                return new DefaultChecksumAlgorithm(checksumAlgorithmFactorySelector.select(algorithmName));
            } catch (IllegalArgumentException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

         *
         * @throws ChecksumAlgorithmServiceException if asked algorithm name is not supported.
         * @throws NullPointerException if passed in name is {@code null}.
         */
        @Nonnull
        ChecksumAlgorithm select(@Nonnull String algorithmName);
    
        /**
         * Returns a collection of {@link ChecksumAlgorithm} in same order as algorithm names are ordered, or throws if
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 21 08:05:10 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top