Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,266 for pollable (0.14 sec)

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

        final CountDownLatch exitLatch = new CountDownLatch(1);
        final TrustedListenableFutureTask<@Nullable Void> task =
            TrustedListenableFutureTask.create(
                new Callable<@Nullable Void>() {
                  @Override
                  public @Nullable Void call() throws Exception {
                    enterLatch.countDown();
                    new CountDownLatch(1).await(); // wait forever
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        Callable<@Nullable Void> cancelRunnable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() {
                cancellationSuccess.set(currentFuture.get().cancel(true));
                awaitUnchecked(barrier);
                return null;
              }
            };
        Callable<@Nullable Void> setFutureCompleteSuccessfullyRunnable =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/ConventionMapping.java

        MappedProperty map(String propertyName, Closure<?> value);
    
        MappedProperty map(String propertyName, Callable<?> value);
    
        /**
         * Mark a property as ineligible for convention mapping.
         */
        void ineligible(String propertyName);
    
        @Nullable
        <T> T getConventionValue(@Nullable T actualValue, String propertyName, boolean isExplicitValue);
    
        interface MappedProperty {
            void cache();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Signature.java

        /**
         * The date of the signature artifact.
         *
         * @see #getDate()
         */
        private Date date;
    
        private Callable<File> toSignGenerator;
    
        private Callable<String> classifierGenerator;
    
        @Nullable
        private Callable<String> nameGenerator;
    
        /**
         * Creates a signature artifact for the given public artifact.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/PropertyValue.java

    import org.gradle.api.internal.tasks.TaskDependencyContainer;
    
    import javax.annotation.Nullable;
    import java.util.concurrent.Callable;
    
    /**
     * A supplier of a property value.
     */
    public interface PropertyValue extends Callable<Object> {
        /**
         * The value of the underlying property.
         */
        @Nullable
        @Override
        Object call();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * @throws ExecutionError if {@code callable} throws an {@code Error}
       * @since 28.0
       */
      @CanIgnoreReturnValue
      @ParametricNullness
      default <T extends @Nullable Object> T callWithTimeout(Callable<T> callable, Duration timeout)
          throws TimeoutException, InterruptedException, ExecutionException {
        return callWithTimeout(callable, toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/SignatureTree.java

        }
    
        @Nonnull
        private static List<ParameterMatchEntry> parameterMatchEntries(CallableInfo callable) {
            Optional<ParameterInfo> varargParameter = callable.getParameters().stream().filter(it -> it.getKind() == ParameterKindInfo.VARARG_METHOD_PARAMETER).findAny();
            CallableKindInfo kind = callable.getKind();
            return Stream.of(
                // Match the `Class<?>` in `receiver` for static methods and constructors
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        final CountDownLatch exitLatch = new CountDownLatch(1);
        final TrustedListenableFutureTask<@Nullable Void> task =
            TrustedListenableFutureTask.create(
                new Callable<@Nullable Void>() {
                  @Override
                  public @Nullable Void call() throws Exception {
                    enterLatch.countDown();
                    new CountDownLatch(1).await(); // wait forever
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskDependency.java

        }
    
        public DefaultTaskDependency(
            @Nullable TaskResolver resolver,
            @Nullable TaskDependencyUsageTracker taskDependencyUsageTracker
        ) {
            this(resolver, ImmutableSet.of(), taskDependencyUsageTracker);
        }
    
        public DefaultTaskDependency(
            @Nullable TaskResolver resolver,
            ImmutableSet<Object> immutableValues,
            @Nullable TaskDependencyUsageTracker taskDependencyUsageTracker
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java

      protected abstract ListeningExecutorService delegate();
    
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task) {
        return delegate().submit(task);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        return delegate().submit(task);
      }
    
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(
          Runnable task, @ParametricNullness T result) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top