Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 237 for leak (0.03 sec)

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

        checkStrength(map, Strength.WEAK, Strength.STRONG);
        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.WeakKeyStrongValueEntry.Helper.class);
      }
    
      public void testSetWeakValues() {
        MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues());
        checkStrength(map, Strength.STRONG, Strength.WEAK);
        assertThat(map.entryHelper)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
           * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent
           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
           * consistency with how weak references are cleared). That's a behavior change -- arguably the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. cmd/bucket-replication-metrics_gen.go

    			}
    		case "av":
    			z.Avg, err = dc.ReadFloat64()
    			if err != nil {
    				err = msgp.WrapError(err, "Avg")
    				return
    			}
    		case "p":
    			z.Peak, err = dc.ReadFloat64()
    			if err != nil {
    				err = msgp.WrapError(err, "Peak")
    				return
    			}
    		case "n":
    			z.N, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "N")
    				return
    			}
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

      REGISTRY('!', '?');
    
      /** The character used for an inner node in the trie encoding */
      private final char innerNodeCode;
    
      /** The character used for a leaf node in the trie encoding */
      private final char leafNodeCode;
    
      PublicSuffixType(char innerNodeCode, char leafNodeCode) {
        this.innerNodeCode = innerNodeCode;
        this.leafNodeCode = leafNodeCode;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        // This is trickier than expected. We plan to put 15 values in each of these (WARMUP_MIN to
        // WARMUP_MAX), but the tests assume no values get evicted. Even with a maximumSize of 100, one
        // of the values gets evicted. With weak keys, we use identity equality, which means using
        // System.identityHashCode, which means the assignment of keys to segments is nondeterministic,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.MapMakerInternalMap.Strength.STRONG;
    import static com.google.common.collect.MapMakerInternalMap.Strength.WEAK;
    import static com.google.common.testing.SerializableTester.reserializeAndAssert;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    import static org.mockito.ArgumentMatchers.isA;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        assertThrows(NoSuchElementException.class, iter::next);
        assertThrows(NoSuchElementException.class, iter::peek);
      }
    
    
      @J2ktIncompatible // weak references, details of GC
      @GwtIncompatible // weak references
      @AndroidIncompatible // depends on details of GC
      public void testFreesNextReference() {
        Iterator<Object> itr =
            new AbstractIterator<Object>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        assertThrows(NoSuchElementException.class, iter::next);
        assertThrows(NoSuchElementException.class, iter::peek);
      }
    
    
      @J2ktIncompatible // weak references, details of GC
      @GwtIncompatible // weak references
      @AndroidIncompatible // depends on details of GC
      public void testFreesNextReference() {
        Iterator<Object> itr =
            new AbstractIterator<Object>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
           * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent
           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
           * consistency with how weak references are cleared). That's a behavior change -- arguably the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/EnumsTest.java

      }
    
      public void testGetIfPresent_whenNoMatchingConstant() {
        assertThat(Enums.getIfPresent(TestEnum.class, "WOMBAT")).isAbsent();
      }
    
    
      @J2ktIncompatible
      @GwtIncompatible // weak references
      @AndroidIncompatible // depends on details of GC and classloading
      public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception {
        WeakReference<?> shadowLoaderReference = doTestClassUnloading();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top