Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for useEmpty (0.07 sec)

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

            map.put(keyOne, valueOne);
            assertThat(segment.recencyQueue.isEmpty()).isTrue();
    
            for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) {
              map.get(keyOne);
            }
            assertThat(segment.recencyQueue.isEmpty()).isFalse();
    
            map.put(keyTwo, valueTwo);
            assertThat(segment.recencyQueue.isEmpty()).isTrue();
          }
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            map.put(keyOne, valueOne);
            assertThat(segment.recencyQueue.isEmpty()).isTrue();
    
            for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) {
              map.get(keyOne);
            }
            assertThat(segment.recencyQueue.isEmpty()).isFalse();
    
            map.put(keyTwo, valueTwo);
            assertThat(segment.recencyQueue.isEmpty()).isTrue();
          }
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

          this.onBoth = unmodifiableMap(onBoth);
          this.differences = unmodifiableMap(differences);
        }
    
        @Override
        public boolean areEqual() {
          return onlyOnLeft.isEmpty() && onlyOnRight.isEmpty() && differences.isEmpty();
        }
    
        @Override
        public Map<K, V> entriesOnlyOnLeft() {
          return onlyOnLeft;
        }
    
        @Override
        public Map<K, V> entriesOnlyOnRight() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

          this.onBoth = unmodifiableMap(onBoth);
          this.differences = unmodifiableMap(differences);
        }
    
        @Override
        public boolean areEqual() {
          return onlyOnLeft.isEmpty() && onlyOnRight.isEmpty() && differences.isEmpty();
        }
    
        @Override
        public Map<K, V> entriesOnlyOnLeft() {
          return onlyOnLeft;
        }
    
        @Override
        public Map<K, V> entriesOnlyOnRight() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  5. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

        }
    
        protected void mergeModelBase_Modules(
                ModelBase target, ModelBase source, boolean sourceDominant, Map<Object, Object> context) {
            List<String> src = source.getModules();
            if (!src.isEmpty()) {
                List<String> tgt = target.getModules();
                List<String> merged = new ArrayList<>(tgt.size() + src.size());
                merged.addAll(tgt);
                merged.addAll(src);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 11:21:39 UTC 2025
    - 99.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

      abstract class AbstractCacheSet<T> extends AbstractSet<T> {
        @Override
        public int size() {
          return LocalCache.this.size();
        }
    
        @Override
        public boolean isEmpty() {
          return LocalCache.this.isEmpty();
        }
    
        @Override
        public void clear() {
          LocalCache.this.clear();
        }
      }
    
      boolean removeIf(BiPredicate<? super K, ? super V> filter) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    java.util.Map getBackingMap(); public void flush(); public Object get(Object); private Object getCacheMissed(Object, int); public Object put(Object, Object); public Object remove(Object); public boolean containsKey(Object); public int size(); public boolean isEmpty(); public boolean containsValue(Object); public void putAll(java.util.Map); public void clear(); public java.util.Set keySet(); public java.util.Collection values(); public java.util.Set entrySet(); public boolean equals(Object); public int hashCode();...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/baseline-prof.txt

    HSPLkotlin/collections/EmptyList;-><clinit>()V
    HSPLkotlin/collections/EmptyList;-><init>()V
    HSPLkotlin/collections/EmptyList;->isEmpty()Z
    HSPLkotlin/collections/EmptyList;->iterator()Ljava/util/Iterator;
    HSPLkotlin/collections/EmptyMap;-><clinit>()V
    HSPLkotlin/collections/EmptyMap;-><init>()V
    HSPLkotlin/collections/EmptyMap;->isEmpty()Z
    HSPLkotlin/collections/EmptySet;-><clinit>()V
    HSPLkotlin/collections/EmptySet;-><init>()V
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (1)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        ioe.printStackTrace(log);
                    }
                    last = ioe;
                }
                addr = getNextAddress();
            }
    
            if (last != null && map.isEmpty()) {
                if (!(last instanceof SmbException)) {
                    throw new SmbException(url.toString(), last);
                }
                throw (SmbException) last;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top