Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for Peaches (0.17 sec)

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

                .removalListener(removalListener)
                .build(loader);
    
        // caches 2
        assertThat(cache.getUnchecked(2)).isEqualTo(2);
        assertThat(cache.asMap().keySet()).containsExactly(2);
    
        CacheTesting.processPendingNotifications(cache);
        assertThat(removalListener.getCount()).isEqualTo(0);
    
        // caches 3, evicts 2
        assertThat(cache.getUnchecked(3)).isEqualTo(3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEvalsToFalse(Predicates.and(FALSE, NEVER_REACHED));
      }
    
      public void testAnd_equalityBinary() {
        new EqualsTester()
            .addEqualityGroup(Predicates.and(TRUE, NEVER_REACHED), Predicates.and(TRUE, NEVER_REACHED))
            .addEqualityGroup(Predicates.and(NEVER_REACHED, TRUE))
            .addEqualityGroup(Predicates.and(TRUE))
            .addEqualityGroup(Predicates.or(TRUE, NEVER_REACHED))
            .testEquals();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * Object#toString}.
       *
       * <p>If the target method call finishes before the limit is reached, the return value or
       * exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is
       * reached, the proxy will attempt to abort the call to the target, and will throw an {@link
       * UncheckedTimeoutException} to the caller.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Service.java

       *
       * @param timeout the maximum time to wait
       * @param unit the time unit of the timeout argument
       * @throws TimeoutException if the service has not reached the given state within the deadline
       * @throws IllegalStateException if the service reaches a state from which it is not possible to
       *     enter the {@link State#RUNNING RUNNING} state. e.g. if the {@code state} is {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

            .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(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Key, String>>() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LoadingCache.java

       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
       * multiple threads can concurrently load values for distinct keys.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
       * into the cache. Newly loaded values are added to the cache using {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java

     * under the License.
     */
    package org.apache.maven.api.services.model;
    
    import java.util.function.Supplier;
    
    import org.apache.maven.api.services.Source;
    
    /**
     * Caches auxiliary data used during model building like already processed raw/effective models. The data in the cache
     * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import org.jsoup.Jsoup;
    import org.jsoup.nodes.Document;
    import org.jsoup.nodes.Element;
    
    /**
     * Fetches HTML from a requested URL, follows the links, and repeats.
     */
    public final class Crawler {
      private final OkHttpClient client;
      private final Set<HttpUrl> fetchedUrls = Collections.synchronizedSet(new LinkedHashSet<>());
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

        public String toString() {
          return "Suppliers.compose(" + function + ", " + supplier + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a supplier which caches the instance retrieved during the first call to {@code get()}
       * and returns that value on subsequent calls to {@code get()}. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/NullCacheTest.java

    import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import junit.framework.TestCase;
    
    /**
     * {@link LoadingCache} tests for caches with a maximum size of zero.
     *
     * @author mike nonemacher
     */
    public class NullCacheTest extends TestCase {
      QueuingRemovalListener<Object, Object> listener;
    
      @Override
      protected void setUp() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.4K bytes
    - Viewed (0)
Back to top