Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for canonical (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(Range.closedOpen(Integer.MIN_VALUE, 0), Range.lessThan(0).canonical(integers()));
        assertEquals(Range.closedOpen(Integer.MIN_VALUE, 1), Range.atMost(0).canonical(integers()));
        assertEquals(Range.atLeast(0), Range.atLeast(0).canonical(integers()));
        assertEquals(Range.atLeast(1), Range.greaterThan(0).canonical(integers()));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Range.java

       *       domain).equals(ContiguousSet.create(b, domain))} implies {@code
       *       a.canonical(domain).equals(b.canonical(domain))}
       *   <li>idempotence: {@code a.canonical(domain).canonical(domain).equals(a.canonical(domain))}
       * </ul>
       *
       * <p>Furthermore, this method guarantees that the range returned will be one of the following
       * canonical forms:
       *
       * <ul>
       *   <li>[start..end)
       *   <li>[start..+∞)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Range.java

       *       domain).equals(ContiguousSet.create(b, domain))} implies {@code
       *       a.canonical(domain).equals(b.canonical(domain))}
       *   <li>idempotence: {@code a.canonical(domain).canonical(domain).equals(a.canonical(domain))}
       * </ul>
       *
       * <p>Furthermore, this method guarantees that the range returned will be one of the following
       * canonical forms:
       *
       * <ul>
       *   <li>[start..end)
       *   <li>[start..+∞)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            ComparableVersion ret = new ComparableVersion(version);
            String canonical = ret.getCanonical();
            String parsedCanonical = new ComparableVersion(canonical).getCanonical();
    
            assertEquals(
                    canonical,
                    parsedCanonical,
                    "canonical( " + version + " ) = " + canonical + " -> canonical: " + parsedCanonical);
    
            return ret;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Cut.java

      @CheckForNull
      abstract C greatestValueBelow(DiscreteDomain<C> domain);
    
      /*
       * The canonical form is a BelowValue cut whenever possible, otherwise ABOVE_ALL, or
       * (only in the case of types that are unbounded below) BELOW_ALL.
       */
      Cut<C> canonical(DiscreteDomain<C> domain) {
        return this;
      }
    
      // note: overridden by {BELOW,ABOVE}_ALL
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Cut.java

      @CheckForNull
      abstract C greatestValueBelow(DiscreteDomain<C> domain);
    
      /*
       * The canonical form is a BelowValue cut whenever possible, otherwise ABOVE_ALL, or
       * (only in the case of types that are unbounded below) BELOW_ALL.
       */
      Cut<C> canonical(DiscreteDomain<C> domain) {
        return this;
      }
    
      // note: overridden by {BELOW,ABOVE}_ALL
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

        }
    
        @Override
        public String toString() {
            return value;
        }
    
        public String getCanonical() {
            if (canonical == null) {
                canonical = items.toString();
            }
            return canonical;
        }
    
        @Override
        public boolean equals(Object o) {
            return (o instanceof ComparableVersion) && items.equals(((ComparableVersion) o).items);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            data = "<html><head><link rel=\"canonical\" href=\"http://example.com/\"></head><body>aaa</body></html>";
            document = getDocument(data);
            value = transformer.getCanonicalUrl(responseData, document);
            assertEquals("http://example.com/", value);
    
            data = "<html><head><link rel=\"canonical\" href=\"http://example1.com/\"><link rel=\"canonical\" href=\"http://example2.com/\"></head><body>aaa</body></html>";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate.go

    		len(revWebhookCollisions) > 0 && opts.Tag != DefaultRevisionName {
    		return "", fmt.Errorf("cannot create revision tag %q: found existing control plane revision with same name", opts.Tag)
    	}
    
    	// find canonical revision webhook to base our tag webhook off of
    	revWebhooks, err := GetWebhooksWithRevision(ctx, client.Kube(), opts.Revision)
    	if err != nil {
    		return "", err
    	}
    	if len(revWebhooks) == 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/site/apt/index.apt

     The jar file is executable and provides a little tool to display how Maven parses and compares versions:
    
    +----+
    $ java -jar maven-artifact-*.jar 3.2.4-alpha-1 3.2.4-SNAPSHOT 3.2.4.0
    Display parameters as parsed by Maven (in canonical form) and comparison result:
    1. 3.2.4-alpha-1 == 3.2.4.alpha.1
       3.2.4-alpha-1 < 3.2.4-SNAPSHOT
    2. 3.2.4-SNAPSHOT == 3.2.4.snapshot
       3.2.4-SNAPSHOT < 3.2.4.0
    3. 3.2.4.0 == 3.2.4
    +----+
    
    * Useful entry points
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top