Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for fueses (0.15 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

       */
      static final int DRAIN_THRESHOLD = 0x3F;
    
      /**
       * Maximum number of entries to be drained in a single cleanup run. This applies independently to
       * the cleanup queue and both reference queues.
       */
      // TODO(fry): empirically optimize this
      static final int DRAIN_MAX = 16;
    
      // Fields
    
      static final Logger logger = Logger.getLogger(LocalCache.class.getName());
    
      /**
    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)
  2. android/guava/src/com/google/common/collect/Lists.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static utility methods pertaining to {@link List} instances. Also see this class's counterparts
     * {@link Sets}, {@link Maps} and {@link Queues}.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#lists">{@code Lists}</a>.
     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          it.next();
          it.remove();
        }
        segment.evictEntries(entry);
        assertEquals(maxSize, map.size());
        assertEquals(originalMap, map);
      }
    
      // reference queues
    
      public void testDrainKeyReferenceQueueOnWrite() {
        for (CacheBuilder<Object, Object> builder : allKeyValueStrengthMakers()) {
          LocalCache<Object, Object> map = makeLocalCache(builder.concurrencyLevel(1));
    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)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          it.next();
          it.remove();
        }
        segment.evictEntries(entry);
        assertEquals(maxSize, map.size());
        assertEquals(originalMap, map);
      }
    
      // reference queues
    
      public void testDrainKeyReferenceQueueOnWrite() {
        for (CacheBuilder<Object, Object> builder : allKeyValueStrengthMakers()) {
          LocalCache<Object, Object> map = makeLocalCache(builder.concurrencyLevel(1));
    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)
  5. android/guava-tests/test/com/google/common/collect/QueuesTest.java

    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  6. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.thirdparty.publicsuffix;
    
    import static com.google.common.collect.Queues.newArrayDeque;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableMap;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * conventional bounded queues, which either block or reject new elements when full.
     *
     * <p>This implementation is based on the <a
     * href="http://portal.acm.org/citation.cfm?id=6621">min-max heap</a> developed by Atkinson, et al.
     * Unlike many other double-ended priority queues, it stores elements in a single array, as compact
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * the type of the concrete implementation.
         */
        abstract S self();
    
        /** Drains the reference queues used by this segment, if any. */
        @GuardedBy("this")
        void maybeDrainReferenceQueues() {}
    
        /** Clears the reference queues used by this segment, if any. */
        void maybeClearReferenceQueues() {}
    
        /** Sets the value of the given {@code entry}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Queues.java

     *
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Queues {
      private Queues() {}
    
      // ArrayBlockingQueue
    
      /**
       * Creates an empty {@code ArrayBlockingQueue} with the given (fixed) capacity and nonfair access
       * policy.
       */
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * This is useful if the given service uses daemon threads, and we want to keep the JVM from
       * exiting immediately on shutdown, instead giving these daemon threads a chance to terminate
       * normally.
       *
       * @param service ExecutorService which uses daemon threads
       * @param terminationTimeout how long to wait for the executor to finish before terminating the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top