Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 564 for futuna (0.14 sec)

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

        UncheckedThrowingFuture<V> future = new UncheckedThrowingFuture<V>();
        future.complete(checkNotNull(error));
        return future;
      }
    
      public static <V> ListenableFuture<V> throwingRuntimeException(RuntimeException e) {
        UncheckedThrowingFuture<V> future = new UncheckedThrowingFuture<V>();
        future.complete(checkNotNull(e));
        return future;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 12 20:02:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  2. test/typeparam/issue50561.dir/diameter.go

    	OnComplete(cb func(try Try[T]), ctx ...Executor)
    	IsCompleted() bool
    	//	Value() Option[Try[T]]
    	Failed() Future[error]
    	Recover(f func(err error) T, ctx ...Executor) Future[T]
    	RecoverWith(f func(err error) Future[T], ctx ...Executor) Future[T]
    }
    
    type Try[T any] struct {
    	v   *T
    	err error
    }
    
    func (r Try[T]) IsSuccess() bool {
    	return r.v != nil
    }
    
    type ByteBuffer struct {
    	pos       int
    	buf       []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 22:58:24 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java

      public void testScheduleRunnable() throws Exception {
        Runnable command = () -> {};
    
        ListenableScheduledFuture<?> future = executorService.schedule(command, Duration.ofSeconds(12));
    
        assertThat(future.get()).isEqualTo("schedule");
        assertThat(recordedCommand).isSameInstanceAs(command);
        assertThat(recordedTimeUnit).isEqualTo(TimeUnit.NANOSECONDS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 17 20:45:59 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  4. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link Future} that accepts completion listeners. Each listener has an associated executor, and
     * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ListenableFuture.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link Future} that accepts completion listeners. Each listener has an associated executor, and
     * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/gotoolchain_modcmds.txt

    # the go.mod file to record a specific, stable toolchain version that can.
    
    ! go mod verify
    stderr '^go: rsc.io/future@v1.0.0: module rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21.0\)'
    
    ! go mod graph
    stderr '^go: rsc.io/future@v1.0.0: module rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21.0\)'
    
    # TODO(#64008): 'go mod download' without arguments should fail too.
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/FutureCallback.java

    @ElementTypesAreNonnullByDefault
    public interface FutureCallback<V extends @Nullable Object> {
      /** Invoked with the result of the {@code Future} computation when it is successful. */
      void onSuccess(@ParametricNullness V result);
    
      /**
       * Invoked when a {@code Future} computation fails or is canceled.
       *
       * <p>If the future's {@link Future#get() get} method throws an {@link ExecutionException}, then
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/CompletionServiceStub.java

                projectBuildFutureTask.run();
            }
            return projectBuildFutureTask;
        }
    
        public Future<ProjectSegment> take() throws InterruptedException {
            return null;
        }
    
        public Future<ProjectSegment> poll() {
            return null;
        }
    
        public Future<ProjectSegment> poll(long timeout, TimeUnit unit) throws InterruptedException {
            return null;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/WatchTest.java

        }
    
    
        private void setupWatch ( SmbWatchHandle w ) throws InterruptedException {
            if ( this.future != null ) {
                this.future.cancel(true);
            }
            this.future = this.executor.submit(w);
            Thread.sleep(1000);
        }
    
    
        @Test
        public void testWatchCreate () throws CIFSException, MalformedURLException, UnknownHostException, InterruptedException, ExecutionException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link Future} that accepts completion listeners. Each listener has an associated executor, and
     * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top