Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for future (0.24 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      /**
       * Sets the result of this {@code Future} to match the supplied input {@code Future} once the
       * supplied {@code Future} is done, unless this {@code Future} has already been cancelled or set
       * (including "set asynchronously," defined below).
       *
       * <p>If the supplied future is {@linkplain #isDone done} when this method is called and the call
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          Callable<T> task,
          final BlockingQueue<Future<T>> queue) {
        final ListenableFuture<T> future = executorService.submit(task);
        future.addListener(
            new Runnable() {
              @Override
              public void run() {
                queue.add(future);
              }
            },
            directExecutor());
        return future;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

        @Override
        public ModelSource resolveModel(final Parent parent, AtomicReference<Parent> modified)
                throws UnresolvableModelException {
            Result result;
            try {
                Future<Result> future = parentCache.computeIfAbsent(parent.getId(), id -> {
                    ForkJoinPool pool = new ForkJoinPool(MAX_CAP);
                    ForkJoinTask<Result> task = new ForkJoinTask<>() {
                        Result result;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

    import java.net.InetSocketAddress
    import java.net.ServerSocket
    import java.security.PrivateKey
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import java.util.concurrent.Future
    import javax.net.ServerSocketFactory
    import javax.net.SocketFactory
    import javax.net.ssl.SSLSocket
    import okhttp3.Handshake
    import okhttp3.Handshake.Companion.handshake
    import okhttp3.TestUtil.threadFactory
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Function.java

     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing function (say, named {@code function}) in a context where the <i>other
     * type</i> of function is expected, use the method reference {@code function::apply}. A future
     * version of {@code com.google.common.base.Function} will be made to <i>extend</i> {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. doc/godebug.md

    and [`Timer.Reset`](/pkg/time/#Timer.Reset) method results much easier.
    The [`asynctimerchan` setting](/pkg/time/#NewTimer) disables this change.
    There are no runtime metrics for this change,
    This setting may be removed in a future release, Go 1.27 at the earliest.
    
    Go 1.23 changed the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat)
    for reparse points, which can be controlled with the `winsymlink` setting.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Supplier.java

     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the
     * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A
     * future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. README.md

        the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!**
    
    2.  APIs without `@Beta` will remain binary-compatible for the indefinite
        future. (Previously, we sometimes removed such APIs after a deprecation
        period. The last release to remove non-`@Beta` APIs was Guava 21.0.) Even
        `@Deprecated` APIs will remain (again, unless they are `@Beta`). We have no
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        .collect(Collectors.toList());
                try {
                    List<Future<InterimResult>> futures = executor.invokeAll(tasks);
                    List<InterimResult> list = new ArrayList<>();
                    for (Future<InterimResult> future : futures) {
                        InterimResult interimResult = future.get();
                        list.add(interimResult);
                    }
                    return list;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                        "Cannot read metadata from '" + mappingFile + "': " + e.getMessage(), e);
            }
        }
    
        /**
         * Ensures the last updated timestamp of the specified metadata does not refer to the future and fixes the local
         * metadata if necessary to allow proper merging/updating of metadata during deployment.
         */
        private void fixTimestamp(File metadataFile, Metadata metadata, Metadata reference) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
Back to top