Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for canonical (0.27 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. istioctl/pkg/workload/testdata/vmconfig-nil-proxy-metadata/cluster.env.golden

    CANONICAL_REVISION='latest'
    CANONICAL_SERVICE='foo'
    ISTIO_INBOUND_PORTS='*'
    ISTIO_LOCAL_EXCLUDE_PORTS='22,15090,15021,15020'
    ISTIO_METAJSON_LABELS='{"service.istio.io/canonical-name":"foo","service.istio.io/canonical-revision":"latest"}'
    ISTIO_META_CLUSTER_ID='Kubernetes'
    ISTIO_META_DNS_CAPTURE='true'
    ISTIO_META_MESH_ID=''
    ISTIO_META_NETWORK=''
    ISTIO_META_WORKLOAD_NAME='foo'
    ISTIO_NAMESPACE='bar'
    ISTIO_SERVICE='foo.bar'
    ISTIO_SERVICE_CIDR='*'
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 546 bytes
    - Viewed (0)
  4. 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)
  5. guava/src/com/google/common/collect/Interners.java

        public E intern(E sample) {
          while (true) {
            // trying to read the canonical...
            @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :(
            InternalEntry entry = map.getEntry(sample);
            if (entry != null) {
              Object canonical = entry.getKey();
              if (canonical != null) { // only matters if weak/soft keys are used
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Interners.java

        public E intern(E sample) {
          while (true) {
            // trying to read the canonical...
            @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :(
            InternalEntry entry = map.getEntry(sample);
            if (entry != null) {
              Object canonical = entry.getKey();
              if (canonical != null) { // only matters if weak/soft keys are used
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/builder.devtoolset/fixlinks_aarch64.sh

    #
    # Re-direct all links in $1 that are relative to be canonical
    
    BASE="$1"
    find "${BASE}" -type l | \
      while read l ; do
        if [[ "$(readlink "$l")" == \.\./* ]]; then
          CANONICAL="$(readlink "$l")";
          rm "$l";
          ln -s "${CANONICAL}" "$l"
        fi
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 969 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. istioctl/pkg/workload/testdata/vmconfig-nil-proxy-metadata/mesh.yaml.golden

        ISTIO_META_CLUSTER_ID: Kubernetes
        ISTIO_META_DNS_CAPTURE: "true"
        ISTIO_META_MESH_ID: ""
        ISTIO_META_NETWORK: ""
        ISTIO_META_WORKLOAD_NAME: foo
        ISTIO_METAJSON_LABELS: '{"service.istio.io/canonical-name":"foo","service.istio.io/canonical-revision":"latest"}'
        POD_NAMESPACE: bar
        SERVICE_ACCOUNT: vm-serviceaccount
        TRUST_DOMAIN: ""
      readinessProbe:
        httpGet:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 500 bytes
    - Viewed (0)
Back to top