Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 555 for succeeds (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

          val uri = url.toUri()
          if (uri.host == null) return immutableListOf(Proxy.NO_PROXY)
    
          // Try each of the ProxySelector choices until one connection succeeds.
          val proxiesOrNull = address.proxySelector.select(uri)
          if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY)
    
          return proxiesOrNull.toImmutableList()
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          static final int COMPLETED = 2;
          static final int CANCELLED = 4;
          static final int INTERRUPTED = 8;
    
          private V value;
          private Throwable exception;
    
          /*
           * Acquisition succeeds if the future is done, otherwise it fails.
           */
          @Override
          protected int tryAcquireShared(int ignored) {
            if (isDone()) {
              return 1;
            }
            return -1;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new web socket and immediately returns it. Creating a web socket initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must either close or cancel the returned web socket when it is no longer
         * in use.
         */
        fun newWebSocket(
          request: Request,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/FluentFuture.java

       * Future} fails with the given {@code exceptionType}, from the result provided by the {@code
       * fallback}. {@link Function#apply} is not invoked until the primary input has failed, so if the
       * primary input succeeds, it is never invoked. If, during the invocation of {@code fallback}, an
       * exception is thrown, this exception is used as the result of the output {@code Future}.
       *
       * <p>Usage example:
       *
       * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        serverIpv4.enqueue(
          MockResponse(body = "this was the 2nd request on IPv4"),
        )
        serverIpv6.enqueue(
          MockResponse(body = "unexpected call to IPv6"),
        )
    
        // Confirm the retry succeeds on the same connection.
        val call = client.newCall(Request(url))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("this was the 2nd request on IPv4")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/TempFileCreator.java

          return new ThrowingCreator();
        } catch (ClassNotFoundException e) {
          // Should be impossible, but we want to return *something* so that class init succeeds.
          return new ThrowingCreator();
        } catch (IllegalAccessException e) {
          // ditto
          return new ThrowingCreator();
        }
    
        // Android isolates apps' temporary directories since Jelly Bean:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        return new ClosingFuture<>(future);
      }
    
      /**
       * Starts a {@link ClosingFuture} pipeline with a {@link ListenableFuture}.
       *
       * <p>If {@code future} succeeds, its value will be closed (using {@code closingExecutor)}) when
       * the pipeline is done, even if the pipeline is canceled or fails.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

    // profiling tensors.
    typedef struct TFE_TensorDebugInfo TFE_TensorDebugInfo;
    
    // Retrieves TFE_TensorDebugInfo for `handle`.
    // If TFE_TensorHandleTensorDebugInfo succeeds, `status` is set to OK and caller
    // is responsible for deleting returned TFE_TensorDebugInfo.
    // If TFE_TensorHandleTensorDebugInfo fails, `status` is set to appropriate
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  9. docs/bucket/replication/DESIGN.md

    allows the applications to take full advantage of two-way replication even before the two sites get fully synced.
    
    In the case of multi destination replication, the replication status shows `COMPLETED` only after the replication operation succeeds on each of the targets specified in the replication configuration. If multiple targets are configured to use active-active replication and multi destination replication, the administrator should ensure that the replication features enabled (such...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/HashFunction.java

     *
     * <ul>
     *   <li><b>collision-resistant:</b> while the definition above requires making at least <i>some</i>
     *       token attempt, one measure of the quality of a hash function is <i>how well</i> it succeeds
     *       at this goal. Important note: it may be easy to achieve the theoretical minimum collision
     *       rate when using completely <i>random</i> sample input. The true test of a hash function is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
Back to top