Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for canonical (0.1 sec)

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

      public void testWeak_afterGC() throws InterruptedException {
        Integer canonical = new Integer(5);
        Integer not = new Integer(5);
    
        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/InternersTest.java

      public void testWeak_afterGC() throws InterruptedException {
        Integer canonical = new Integer(5);
        Integer not = new Integer(5);
    
        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    //
    // Note that the quantity will NEVER be internally represented by a
    // floating point number. That is the whole point of this exercise.
    //
    // Non-canonical values will still parse as long as they are well formed,
    // but will be re-emitted in their canonical form. (So always use canonical
    // form, or don't diff.)
    //
    // This format is intended to make it difficult to use these numbers without
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/signature-v4.go

    		return ErrInvalidToken
    	}
    
    	// Verify finally if signature is same.
    
    	// Get canonical request.
    	presignedCanonicalReq := getCanonicalRequest(extractedSignedHeaders, hashedPayload, encodedQuery, req.URL.Path, req.Method)
    
    	// Get string to sign from canonical request.
    	presignedStringToSign := getStringToSign(presignedCanonicalReq, t, pSignValues.Credential.getScope())
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top