Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for what (0.13 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      static class MyError extends Error {}
    
      static class MyRuntimeException extends RuntimeException {}
    
      /**
       * Test that the function is invoked only once, even if it throws an exception. Also, test that
       * that function's result is wrapped in an ExecutionException.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    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)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      static class MyError extends Error {}
    
      static class MyRuntimeException extends RuntimeException {}
    
      /**
       * Test that the function is invoked only once, even if it throws an exception. Also, test that
       * that function's result is wrapped in an ExecutionException.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    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)
  3. guava/src/com/google/common/cache/LocalCache.java

      }
    
      // Queues
    
      /**
       * A custom queue for managing eviction order. Note that this is tightly integrated with {@code
       * ReferenceEntry}, upon which it relies to perform its linking.
       *
       * <p>Note that this entire implementation makes the assumption that all elements which are in the
       * map are also in this queue, and that all elements not in the queue are not in the map.
       *
    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. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
    
          ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh
          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
          reloadStarted.await();
          ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
          threadAboutToBlockForRefresh.set(Thread.currentThread());
    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)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
    
          ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh
          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
          reloadStarted.await();
          ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
          threadAboutToBlockForRefresh.set(Thread.currentThread());
    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)
  6. android/guava/src/com/google/common/collect/Maps.java

             * That could change behavior if the input maps use different equivalence relations (and so
             * a key that appears once in `right` might appear multiple times in `left`). We don't
             * guarantee behavior in that case, anyway, and the current behavior is likely undesirable.
             * So that's either a reason to feel free to change it or a reason to not bother thinking
    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)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     begins. Consider replacing code that creates {@link ListenableFuture}s of closeable types,
       *     including those that pass them to this method, with {@link #submit(ClosingCallable,
       *     Executor)} in order to ensure that resources do not leak. Or, to start a pipeline with a
       *     {@link ListenableFuture} that doesn't create values that should be closed, use {@link
       *     ClosingFuture#from}.
       */
    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)
  8. android/guava/src/com/google/common/cache/LocalCache.java

      }
    
      // Queues
    
      /**
       * A custom queue for managing eviction order. Note that this is tightly integrated with {@code
       * ReferenceEntry}, upon which it relies to perform its linking.
       *
       * <p>Note that this entire implementation makes the assumption that all elements which are in the
       * map are also in this queue, and that all elements not in the queue are not in the map.
       *
    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)
Back to top