Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Constraint (0.11 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Version constraint for dependency.
     * Constraint is either a range ("[1,2)") or recommended version ("1.0").
     *
     * {@code VersionConstraint} objects are created using the
     * {@linkplain org.apache.maven.api.services.VersionParser} service.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

        private VersionParserException parseInvalid(String constraint) {
            try {
                versionParser.parseVersionConstraint(constraint);
                fail("expected exception for constraint " + constraint);
                return null;
            } catch (VersionParserException e) {
                return e;
            }
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            requireNonNull(constraint, "constraint");
            return new DefaultVersionConstraint(versionScheme, constraint);
        }
    
        static class DefaultVersion implements Version {
            private final VersionScheme versionScheme;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

                }
    
                @Override
                public VersionConstraint parseVersionConstraint(String constraint) {
                    throw new IllegalArgumentException("constraint not supported by this parser");
                }
    
                @Override
                public boolean isSnapshot(String version) {
                    requireNonNull(version, "version");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/abstract_operation.h

      //
      // The given `name` must be parseable by DeviceNameUtils::ParseFullName, and
      // the result will be used as a constraint for device placement. See the
      // documentation for DeviceName for more details.
      //
      // The value will override the previous value - that is, no "merging" of
      // existing and given constraints will be performed.
      virtual absl::Status SetDeviceName(const char* name) = 0;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. cmd/globals.go

    	GlobalStaleUploadsCleanupInterval = time.Hour * 6 // 6 hrs.
    
    	// Refresh interval to update in-memory iam config cache.
    	globalRefreshIAMInterval = 10 * time.Minute
    
    	// Limit of location constraint XML for unauthenticated PUT bucket operations.
    	maxLocationConstraintSize = 3 * humanize.MiByte
    
    	// Maximum size of default bucket encryption configuration allowed
    	maxBucketSSEConfigSize = 1 * humanize.MiByte
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     *
     * <h3>Resolution</h3>
     *
     * <p><dfn>Version resolution</dfn> is the process of finding, for a given artifact, a list of
     * versions that match the input {@linkplain org.apache.maven.api.VersionConstraint version constraint}
     * in the list of remote repositories. This is done either explicitly using the
     * {@link org.apache.maven.api.services.VersionResolver VersionResolver} service, or implicitly when resolving
     * an artifact.</p>
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultiset.java

       * {@code ClassCastException} for any elements {@code e1} and {@code e2} in the multiset. If the
       * user attempts to add an element to the multiset that violates this constraint (for example, the
       * user attempts to add a string element to a set whose elements are integers), the {@code
       * add(Object)} call will throw a {@code ClassCastException}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(2, 20);
        cache.put(3, 30);
        cache.put(4, 40);
        cache.put(5, 50);
    
        assertEquals(null, cache.getIfPresent(10));
        // Order required to remove dependence on access order / write order constraint.
        assertEquals(Integer.valueOf(20), cache.getIfPresent(2));
        assertEquals(Integer.valueOf(30), cache.getIfPresent(3));
        assertEquals(Integer.valueOf(40), cache.getIfPresent(4));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. doc/go_spec.html

    <code>comparable</code> may only be used as type constraints. They cannot be the types of
    values or variables, or components of other, non-interface types.
    </p>
    
    <h4 id="Satisfying_a_type_constraint">Satisfying a type constraint</h4>
    
    <p>
    A type argument <code>T</code><i> satisfies</i> a type constraint <code>C</code>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top