Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for unused (0.64 sec)

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

        // We'd like for all the following to compile.
        ListenableFuture<String> unused;
    
        // Compiles:
        unused = whenAllComplete(futureA, futureB).call(combiner, directExecutor());
    
        // Does not compile:
        // unused = whenAllComplete(futures).call(combiner);
    
        // Workaround for the above:
        unused = whenAllComplete(asList(futures)).call(combiner, directExecutor());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // We'd like for all the following to compile.
        ListenableFuture<String> unused;
    
        // Compiles:
        unused = whenAllComplete(futureA, futureB).call(combiner, directExecutor());
    
        // Does not compile:
        // unused = whenAllComplete(futures).call(combiner);
    
        // Workaround for the above:
        unused = whenAllComplete(asList(futures)).call(combiner, directExecutor());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

        // Used by generated code, see ^
        @SuppressWarnings("unused")
        public static ServiceLookup getServicesForNext() {
            return SERVICES_FOR_NEXT_OBJECT.get().services;
        }
    
        private static final String GET_FACTORY_FOR_NEXT_METHOD_NAME = "getFactoryForNext";
    
        // Used by generated code, see ^
        @SuppressWarnings("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

      /** Singleton placeholder that indicates a value is being loaded. */
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <K, V> ValueReference<K, V> unset() {
        return (ValueReference<K, V>) UNSET;
      }
    
      private enum NullEntry implements ReferenceEntry<Object, Object> {
        INSTANCE;
    
        @CheckForNull
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         *
         * <p>If the combiningCallable throws an {@code ExecutionException}, the cause of the thrown
         * {@code ExecutionException} will be extracted and used as the failure of the derived step.
         *
         * <p>If the combiningCallable throws any other exception, it will be used as the failure of the
         * derived step.
         *
         * <p>If an exception is thrown after the combiningCallable creates a {@code ClosingFuture},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

      /** Singleton placeholder that indicates a value is being loaded. */
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <K, V> ValueReference<K, V> unset() {
        return (ValueReference<K, V>) UNSET;
      }
    
      private enum NullEntry implements ReferenceEntry<Object, Object> {
        INSTANCE;
    
        @CheckForNull
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ClosingFuture.java

         *
         * <p>If the combiningCallable throws an {@code ExecutionException}, the cause of the thrown
         * {@code ExecutionException} will be extracted and used as the failure of the derived step.
         *
         * <p>If the combiningCallable throws any other exception, it will be used as the failure of the
         * derived step.
         *
         * <p>If an exception is thrown after the combiningCallable creates a {@code ClosingFuture},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
Back to top