Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 689 for caller7 (0.13 sec)

  1. okhttp/src/test/java/okhttp3/InterceptorTest.kt

          call.execute() // we want this call to throw a SocketTimeoutException
        }
      }
    
      @Test
      fun chainCanCancelCall() {
        val callRef = AtomicReference<Call>()
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
            val call = chain.call()
            callRef.set(call)
            assertThat(call.isCanceled()).isFalse()
            call.cancel()
            assertThat(call.isCanceled()).isTrue()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     exception itself. To avoid hiding bugs and other unrecoverable errors, callers should
       *     prefer more specific types, avoiding {@code Throwable.class} in particular.
       * @param fallback the function to be called if this step fails with the expected exception type.
       *     The function's argument is this step's exception. "This step's exception" means the cause
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

             * (thanks to the checkArgument calls in getAnnotatedMethodsNotCached). If it happens, we'd
             * prefer to propagate an IllegalArgumentException to the caller. However, we don't want to
             * simply rethrow an exception (e.getCause()) that may in rare cases have come from another
             * thread. To accomplish both goals, we wrap that IllegalArgumentException in a new
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

        // (We're relying on callers to call this method only with an edge that's in the graph.)
        return requireNonNull(outEdgeMap.get(edge));
      }
    
      @Override
      public N removeInEdge(E edge, boolean isSelfLoop) {
        if (isSelfLoop) {
          checkNonNegative(--selfLoopCount);
        }
        N previousNode = inEdgeMap.remove(edge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

      val b0 = this[index].code
      val b1 = this[index + 1].code
      return (b0 shl 7) + b1
    }
    
    /**
     * An extremely generic binary search that doesn't know what data it's searching over. The caller
     * provides indexes and a comparison function, and this calls that function iteratively.
     *
     * @return the index of the match. If no match is found this is `(-1 - insertionPoint)`, where the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 11:39:58 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    	if err != nil {
    		return nil, err
    	}
    	cl.subroute = &c.subID
    	return cl, nil
    }
    
    // Request allows to do a single remote request.
    // 'req' will not be used after the call and caller can reuse.
    // If no deadline is set on ctx, a 1-minute deadline will be added.
    func (c *Connection) Request(ctx context.Context, h HandlerID, req []byte) ([]byte, error) {
    	if !h.valid() {
    		return nil, ErrUnknownHandler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

        return incidentEdges();
      }
    
      @Override
      public Set<E> outEdges() {
        return incidentEdges();
      }
    
      @Override
      public N adjacentNode(E edge) {
        // We're relying on callers to call this method only with an edge that's in the graph.
        return requireNonNull(incidentEdgeMap.get(edge));
      }
    
      @Override
      @CheckForNull
      public N removeInEdge(E edge, boolean isSelfLoop) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  8. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetCookieJar.kt

     * A cookie jar that delegates to a [java.net.CookieHandler].
     *
     * This implementation delegates everything to [okhttp3.java.net.cookiejar.JavaNetCookieJar], which
     * conforms to the package-naming limitations of JPMS.
     *
     * Callers should prefer to use [okhttp3.java.net.cookiejar.JavaNetCookieJar] directly.
     */
    class JavaNetCookieJar private constructor(
      delegate: okhttp3.java.net.cookiejar.JavaNetCookieJar,
    ) : CookieJar by delegate {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * An analogue of {@link java.util.function.Function} also accepting an index.
       *
       * <p>This interface is only intended for use by callers of {@link #mapWithIndex(Stream,
       * FunctionWithIndex)}.
       *
       * @since NEXT (but since 21.0 in the JRE flavor)
       */
      public interface FunctionWithIndex<T extends @Nullable Object, R extends @Nullable Object> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

            "ConnectionAcquired", "RequestHeadersStart", "RequestHeadersEnd", "ResponseHeadersStart",
            "ResponseHeadersEnd", "ResponseBodyStart", "ResponseBodyEnd", "ConnectionReleased",
            "CallEnd",
          ),
          eventListener.recordedEventTypes(),
        )
    
        eventListener.clearAllEvents()
    
        client.newCall(request).execute().use { response ->
          assertEquals(200, response.code)
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top