Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Chater (0.17 sec)

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

        }
      }
    
      /**
       * On a concurrent computation that returns null, all threads should get an
       * InvalidCacheLoadException, with the loader only called once. The result should not be cached (a
       * later request should call the loader again).
       */
      private static void testConcurrentLoadingNull(CacheBuilder<Object, Object> builder)
          throws InterruptedException {
    
        int count = 10;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        }
      }
    
      /**
       * On a concurrent computation that returns null, all threads should get an
       * InvalidCacheLoadException, with the loader only called once. The result should not be cached (a
       * later request should call the loader again).
       */
      private static void testConcurrentLoadingNull(CacheBuilder<Object, Object> builder)
          throws InterruptedException {
    
        int count = 10;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * cannot be overridden by a call to a {@code set*} method, only by a call to {@link #cancel}.
       *
       * <p>If the call {@code setFuture(delegate)} is accepted and this {@code Future} is later
       * cancelled, cancellation will be propagated to {@code delegate}. Additionally, any call to
       * {@code setFuture} after any cancellation will propagate cancellation to the supplied {@code
       * Future}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>The returned navigable set will be serializable if the specified navigable set is
       * serializable.
       *
       * <p><b>Java 8+ users and later:</b> Prefer {@link Collections#unmodifiableNavigableSet}.
       *
       * @param set the navigable set for which an unmodifiable view is to be returned
       * @return an unmodifiable view of the specified navigable set
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * listeners for future n may complete before some for future n-1.) However, it is possible, if
       * one input completes with result X and another later with result Y, for Y to come before X in
       * the output future list. (Such races are impossible to solve without global synchronization of
       * all future completions. And they should have little practical impact.)
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

       * having a hash table of size eight. Providing a large enough estimate at construction time
       * avoids the need for expensive resizing operations later, but setting this value unnecessarily
       * high wastes memory.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

                .where(
                    ImmutableMap.of(
                        new TypeResolver.TypeVariableKey(typeParam.typeVariable), typeArg.runtimeType));
        // If there's any type error, we'd report now rather than later.
        return new SimpleTypeToken<>(resolver.resolveType(runtimeType));
      }
    
      /**
       * Returns a new {@code TypeToken} where type variables represented by {@code typeParam} are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterators.java

             * the new one. The result is a ConcurrentModificationException or other bad behavior.
             *
             * (If we decide that we really, really hate allocating two Iterators per cycle instead of
             * one, we can optimistically store the new Iterator and then be willing to throw it out if
             * the user calls remove().)
             */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
Back to top