Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,538 for Strong (0.03 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

      private static final CacheLoader<Key, String> KEY_TO_STRING_LOADER =
          new CacheLoader<Key, String>() {
            @Override
            public String load(Key key) {
              return key.toString();
            }
          };
    
      private CacheBuilderFactory factoryWithAllKeyStrengths() {
        return new CacheBuilderFactory()
            .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMaker.java

        keyStrength = checkNotNull(strength);
        if (strength != Strength.STRONG) {
          // STRONG could be used during deserialization.
          useCustomMap = true;
        }
        return this;
      }
    
      Strength getKeyStrength() {
        return MoreObjects.firstNonNull(keyStrength, Strength.STRONG);
      }
    
      /**
       * Specifies that each value (not key) stored in the map should be wrapped in a {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            querySet.add("BBB");
    
            document.put("title", "111AaA222bbb");
            assertEquals("111<strong>AaA</strong>222<strong>bbb</strong>", viewHelper.getContentTitle(document));
    
            querySet.add("on");
            document.put("title", "on 111 strong on aaaa");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

     * i.e. {@code if (key1.equals(key2))} then {@code striped.get(key1) == striped.get(key2)} (assuming
     * {@link Object#hashCode()} is correctly implemented for the keys). Note that if {@code key1} is
     * <strong>not</strong> equal to {@code key2}, it is <strong>not</strong> guaranteed that {@code
     * striped.get(key1) != striped.get(key2)}; the elements might nevertheless be mapped to the same
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *
     * <p>Applications are encouraged to use a {@code CycleDetectingLockFactory} to create any locks for
     * which external/unmanaged code is executed while the lock is held. (See caveats under
     * <strong>Performance</strong>).
     *
     * <p><strong>Cycle Detection</strong>
     *
     * <p>Deadlocks can arise when locks are acquired in an order that forms a cycle. In a simple
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<Object> interner =
            Interners.newBuilder().strong().concurrencyLevel(concurrencyLevel).build();
        InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner;
        assertEquals(Strength.STRONG, internerImpl.map.keyStrength());
      }
    
      public void testWeak_simplistic() {
        String canonical = "a";
        String not = new String("a");
    
        Interner<String> pool = Interners.newWeakInterner();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          MapMaker builder) {
        if (builder.getKeyStrength() == Strength.STRONG
            && builder.getValueStrength() == Strength.STRONG) {
          return new MapMakerInternalMap<>(builder, StrongKeyStrongValueEntry.Helper.<K, V>instance());
        }
        if (builder.getKeyStrength() == Strength.STRONG
            && builder.getValueStrength() == Strength.WEAK) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        private final CacheBuilder<? super String, ? super String> builder;
    
        TestStringCacheGenerator(CacheBuilder<? super String, ? super String> builder) {
          this.builder = builder;
        }
    
        @Override
        protected Map<String, String> create(Entry<String, String>[] entries) {
          LocalCache<String, String> map = makeLocalCache(builder);
          for (Entry<String, String> entry : entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/internal/Finalizer.java

     *
     * <p>This class can't depend on other Guava code. If we were to load this class in the same class
     * loader as the rest of Guava, this thread would keep an indirect strong reference to the class
     * loader and prevent it from being garbage collected. This poses a problem for environments where
     * you want to throw away the class loader. For example, dynamically reloading a web application or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

            }
          }
        }
      }
    
      /**
       * Returns a string representation for this CacheBuilder instance. The exact form of the returned
       * string is not specified.
       */
      @Override
      public String toString() {
        MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this);
        if (initialCapacity != UNSET_INT) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top