Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for isEmpty (0.1 sec)

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

            map.put(keyOne, valueOne);
            assertTrue(segment.recencyQueue.isEmpty());
    
            for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) {
              map.get(keyOne);
            }
            assertFalse(segment.recencyQueue.isEmpty());
    
            map.put(keyTwo, valueTwo);
            assertTrue(segment.recencyQueue.isEmpty());
          }
        }
      }
    
      public void testDrainRecencyQueueOnRead() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            map.put(keyOne, valueOne);
            assertTrue(segment.recencyQueue.isEmpty());
    
            for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) {
              map.get(keyOne);
            }
            assertFalse(segment.recencyQueue.isEmpty());
    
            map.put(keyTwo, valueTwo);
            assertTrue(segment.recencyQueue.isEmpty());
          }
        }
      }
    
      public void testDrainRecencyQueueOnRead() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isGreaterThanOrEqualTo
    import assertk.assertions.isIn
    import assertk.assertions.isInstanceOf
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  8. okhttp-android/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(recordedRequest.chunkSizes).isEmpty()
      }
    
      @Test
      fun uploadBodyLargeFixedLength() {
        upload(false, 1048576, 65536)
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.bodySize).isEqualTo(1048576)
        assertThat(recordedRequest.chunkSizes).isEmpty()
      }
    
      private fun upload(
        chunked: Boolean,
        size: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	legalHold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    	if legalHold.IsEmpty() {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNoSuchObjectLockConfiguration), r.URL)
    		return
    	}
    
    	writeSuccessResponseXML(w, encodeResponse(legalHold))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top