Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 452 for restriction (0.17 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

                return true;
            }
    
            if (!(other instanceof Restriction)) {
                return false;
            }
    
            Restriction restriction = (Restriction) other;
            if (lowerBound != null) {
                if (!lowerBound.equals(restriction.lowerBound)) {
                    return false;
                }
            } else if (restriction.lowerBound != null) {
                return false;
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            List<Restriction> restrictions = range.getRestrictions();
            assertEquals(1, restrictions.size(), CHECK_NUM_RESTRICTIONS);
            Restriction restriction = restrictions.get(0);
            assertNull(restriction.getLowerBound(), CHECK_LOWER_BOUND);
            assertFalse(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE);
            assertEquals("1.0", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 44.3K bytes
    - Viewed (0)
  3. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         */
        public VersionRange restrict(VersionRange restriction) {
            List<Restriction> r1 = this.restrictions;
            List<Restriction> r2 = restriction.restrictions;
            List<Restriction> restrictions;
    
            if (r1.isEmpty() || r2.isEmpty()) {
                restrictions = Collections.emptyList();
            } else {
                restrictions = Collections.unmodifiableList(intersection(r1, r2));
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

            }
    
            VersionRange range = artifact.getVersionRange();
            if (range != null) {
                for (Restriction restriction : range.getRestrictions()) {
                    if (isSnapshot(restriction.getLowerBound()) || isSnapshot(restriction.getUpperBound())) {
                        return RELEASE_OR_SNAPSHOT;
                    }
                }
            }
    
            return RELEASE;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeRangeSet.java

        private final Range<C> restriction;
    
        SubRangeSet(Range<C> restriction) {
          super(
              new SubRangeSetRangesByLowerBound<C>(
                  Range.<Cut<C>>all(), restriction, TreeRangeSet.this.rangesByLowerBound));
          this.restriction = restriction;
        }
    
        @Override
        public boolean encloses(Range<C> range) {
          if (!restriction.isEmpty() && restriction.encloses(range)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeRangeSet.java

        private final Range<C> restriction;
    
        SubRangeSet(Range<C> restriction) {
          super(
              new SubRangeSetRangesByLowerBound<C>(
                  Range.<Cut<C>>all(), restriction, TreeRangeSet.this.rangesByLowerBound));
          this.restriction = restriction;
        }
    
        @Override
        public boolean encloses(Range<C> range) {
          if (!restriction.isEmpty() && restriction.encloses(range)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  7. pkg/proxy/kubemark/.import-restrictions

    rules:
      # override pkg/ import restriction on cmd/ for kubemark
      - selectorRegexp: k8s[.]io/kubernetes/cmd
        allowedPrefixes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 13:47:54 UTC 2023
    - 176 bytes
    - Viewed (0)
  8. pkg/kubemark/.import-restrictions

    rules:
      # override pkg/ import restriction on cmd/ for kubemark
      - selectorRegexp: k8s[.]io/kubernetes/cmd
        allowedPrefixes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 13:47:54 UTC 2023
    - 172 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    //
    // In this example, the structural type restriction of P is ~string|int: A|B
    // expands to ~string|~[]byte|int|string, which reduces to ~string|~[]byte|int,
    // which when intersected with C (~string|~int) yields ~string|int.
    //
    // NormalTerms computes these expansions and reductions, producing a
    // "normalized" form of the embeddings. A structural restriction is normalized
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/typeparams/normalize.go

    // structural type restrictions of a type parameter, if any.
    //
    // Structural type restrictions of a type parameter are created via
    // non-interface types embedded in its constraint interface (directly, or via a
    // chain of interface embeddings). For example, in the declaration
    //
    //	type T[P interface{~int; m()}] int
    //
    // the structural restriction of the type parameter P is ~int.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top