Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Strength (0.21 sec)

  1. android/guava/src/com/google/common/collect/MapMaker.java

      @CanIgnoreReturnValue
      MapMaker setValueStrength(Strength strength) {
        checkState(valueStrength == null, "Value strength was already set to %s", valueStrength);
        valueStrength = checkNotNull(strength);
        if (strength != Strength.STRONG) {
          // STRONG could be used during deserialization.
          useCustomMap = true;
        }
        return this;
      }
    
      Strength getValueStrength() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

            }
          };
    
      private CacheBuilderFactory factoryWithAllKeyStrengths() {
        return new CacheBuilderFactory()
            .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK))
            .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT));
      }
    
      private Iterable<LoadingCache<Key, String>> caches() {
        CacheBuilderFactory factory = factoryWithAllKeyStrengths();
        return Iterables.transform(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null);
      private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null);
      private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null);
    
      @CanIgnoreReturnValue
      CacheBuilderFactory withConcurrencyLevels(Set<Integer> concurrencyLevels) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/InternersTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.collect.Interners.InternerImpl;
    import com.google.common.collect.MapMakerInternalMap.Strength;
    import com.google.common.testing.GcFinalization;
    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.WeakReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertEquals(20, spec.maximumSize.intValue());
        assertNull(spec.maximumWeight);
        assertEquals(30, spec.concurrencyLevel.intValue());
        assertEquals(Strength.WEAK, spec.keyStrength);
        assertEquals(Strength.WEAK, spec.valueStrength);
        assertEquals(HOURS, spec.writeExpirationTimeUnit);
        assertEquals(MINUTES, spec.accessExpirationTimeUnit);
        assertEquals(1L, spec.writeExpirationDuration);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertEquals(20, spec.maximumSize.intValue());
        assertNull(spec.maximumWeight);
        assertEquals(30, spec.concurrencyLevel.intValue());
        assertEquals(Strength.WEAK, spec.keyStrength);
        assertEquals(Strength.WEAK, spec.valueStrength);
        assertEquals(HOURS, spec.writeExpirationTimeUnit);
        assertEquals(MINUTES, spec.accessExpirationTimeUnit);
        assertEquals(1L, spec.writeExpirationDuration);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/security.js

    ame:"cvv",validatorFunction:function(a){return""===a.replace(/[0-9]/g,"")&&(a+="",d?4===a.length:e?3===a.length||4===a.length:3===a.length)},errorMessage:"",errorMessageKey:"badCVV"}),a.formUtils.addValidator({name:"strength",validatorFunction:function(b,c){var d=c.valAttr("strength")||2;return d&&d>3&&(d=3),a.formUtils.validators.validate_strength.calculatePasswordStrength(b)>=d},errorMessage:"",errorMessageKey:"badStrength",calculatePasswordStrength:function(a){if(a.length<4)return 0;var b=0,c...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 10.5K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

       * @throws IllegalStateException if the key strength was already set
       */
      @GwtIncompatible // java.lang.ref.WeakReference
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> weakKeys() {
        return setKeyStrength(Strength.WEAK);
      }
    
      @CanIgnoreReturnValue
      CacheBuilder<K, V> setKeyStrength(Strength strength) {
        checkState(keyStrength == null, "Key strength was already set to %s", keyStrength);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/InternersTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.collect.Interners.InternerImpl;
    import com.google.common.collect.MapMakerInternalMap.Strength;
    import com.google.common.testing.GcFinalization;
    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.WeakReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top