Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Falls (0.15 sec)

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

      private static Function<Integer, Integer> newOneTimeExceptionThrower() {
        return new Function<Integer, Integer>() {
          int calls = 0;
    
          @Override
          public Integer apply(Integer from) {
            if (++calls > 1) {
              fail();
            }
            throw new MyRuntimeException();
          }
        };
      }
    
      @J2ktIncompatible
    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)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      private static Function<Integer, Integer> newOneTimeExceptionThrower() {
        return new Function<Integer, Integer>() {
          int calls = 0;
    
          @Override
          public Integer apply(Integer from) {
            if (++calls > 1) {
              fail();
            }
            throw new MyRuntimeException();
          }
        };
      }
    
      @J2ktIncompatible
    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)
  3. guava/src/com/google/common/cache/LocalCache.java

         * @throws ExecutionError if the loading thread throws an error
         */
        V waitForValue() throws ExecutionException;
    
        /** Returns the weight of this entry. This is assumed to be static between calls to setValue. */
        int getWeight();
    
        /**
         * Returns the entry associated with this value reference, or {@code null} if this value
         * reference is independent of any entry.
         */
        @CheckForNull
    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

        assertNotSame(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
        assertEquals(1, segment.count);
      }
    
      @AndroidIncompatible // Perhaps emulator clock does not update between the two get() calls?
      public void testComputeExpiredEntry() throws ExecutionException {
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().expireAfterWrite(1, TimeUnit.NANOSECONDS);
    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

        assertNotSame(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
        assertEquals(1, segment.count);
      }
    
      @AndroidIncompatible // Perhaps emulator clock does not update between the two get() calls?
      public void testComputeExpiredEntry() throws ExecutionException {
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().expireAfterWrite(1, TimeUnit.NANOSECONDS);
    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/util/concurrent/ClosingFuture.java

        /**
         * Starts closing all closeable objects captured during the {@link ClosingFuture}'s asynchronous
         * operation on the {@link Executor}s specified by calls to {@link
         * DeferredCloser#eventuallyClose(Object, Executor)}.
         *
         * <p>If any such calls specified {@link MoreExecutors#directExecutor()}, those objects will be
         * closed synchronously.
         *
         * <p>Idempotent: objects will be closed at most once.
    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)
  7. android/guava/src/com/google/common/cache/LocalCache.java

         * @throws ExecutionError if the loading thread throws an error
         */
        V waitForValue() throws ExecutionException;
    
        /** Returns the weight of this entry. This is assumed to be static between calls to setValue. */
        int getWeight();
    
        /**
         * Returns the entry associated with this value reference, or {@code null} if this value
         * reference is independent of any entry.
         */
        @CheckForNull
    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