Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for clear (0.14 sec)

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

        assertEquals(RemovalCause.REPLACED, notification.getCause());
        assertTrue(listener.isEmpty());
    
        // inactive
        Object value3 = new Object();
        map.clear();
        listener.clear();
        assertEquals(0, segment.count);
        table.set(index, entry);
        assertTrue(segment.storeLoadedValue(key, hash, valueRef, value3));
        assertSame(value3, segment.get(key, hash));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(RemovalCause.REPLACED, notification.getCause());
        assertTrue(listener.isEmpty());
    
        // inactive
        Object value3 = new Object();
        map.clear();
        listener.clear();
        assertEquals(0, segment.count);
        table.set(index, entry);
        assertTrue(segment.storeLoadedValue(key, hash, valueRef, value3));
        assertSame(value3, segment.get(key, hash));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

                }
              }
              for (int i = 0; i < table.length(); ++i) {
                table.set(i, null);
              }
              clearReferenceQueues();
              writeQueue.clear();
              accessQueue.clear();
              readCount.set(0);
    
              ++modCount;
              count = 0; // write-volatile
            } finally {
              unlock();
              postWriteCleanup();
            }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

            K k = (K) key;
            return function.apply(k);
          } else {
            return null;
          }
        }
    
        @Override
        public void clear() {
          backingSet().clear();
        }
    
        @Override
        protected Set<Entry<K, V>> createEntrySet() {
          @WeakOuter
          class EntrySetImpl extends EntrySet<K, V> {
            @Override
            Map<K, V> map() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

                }
              }
              for (int i = 0; i < table.length(); ++i) {
                table.set(i, null);
              }
              clearReferenceQueues();
              writeQueue.clear();
              accessQueue.clear();
              readCount.set(0);
    
              ++modCount;
              count = 0; // write-volatile
            } finally {
              unlock();
              postWriteCleanup();
            }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    eyes, but it said nothing.
    
      `Perhaps it doesn't understand English,' thought Alice; `I
    daresay it's a French mouse, come over with William the
    Conqueror.'  (For, with all her knowledge of history, Alice had
    no very clear notion how long ago anything had happened.)  So she
    began again:  `Ou est ma chatte?' which was the first sentence in
    her French lesson-book.  The Mouse gave a sudden leap out of the
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void setUp() throws Exception {
        super.setUp();
        aggregateFutureLogger.addHandler(aggregateFutureLogHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        /*
         * Clear interrupt for future tests.
         *
         * (Ideally we would perform interrupts only in threads that we create, but
         * it's hard to imagine that anything will break in practice.)
         */
        clearInterrupt();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void setUp() throws Exception {
        super.setUp();
        aggregateFutureLogger.addHandler(aggregateFutureLogHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        /*
         * Clear interrupt for future tests.
         *
         * (Ideally we would perform interrupts only in threads that we create, but
         * it's hard to imagine that anything will break in practice.)
         */
        clearInterrupt();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

              return;
            }
            closed = true;
          }
          for (Map.Entry<Closeable, Executor> entry : entrySet()) {
            closeQuietly(entry.getKey(), entry.getValue());
          }
          clear();
          if (whenClosed != null) {
            whenClosed.countDown();
          }
        }
    
        void add(@CheckForNull Closeable closeable, Executor executor) {
          checkNotNull(executor);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    eyes, but it said nothing.
    
      `Perhaps it doesn't understand English,' thought Alice; `I
    daresay it's a French mouse, come over with William the
    Conqueror.'  (For, with all her knowledge of history, Alice had
    no very clear notion how long ago anything had happened.)  So she
    began again:  `Ou est ma chatte?' which was the first sentence in
    her French lesson-book.  The Mouse gave a sudden leap out of the
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top