Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newChain (0.18 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

      ): Route {
        return Route(
          address = address,
          proxy = proxy,
          socketAddress = socketAddress,
        )
      }
    
      fun newChain(call: RealCall): RealInterceptorChain {
        return RealInterceptorChain(
          call = call,
          interceptors = listOf(),
          index = 0,
          exchange = null,
          request = call.request(),
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

          OkHttpClient.Builder()
            .connectionPool(poolApi)
            .build()
        val call = client.newCall(Request(addressA.url)) as RealCall
        call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call))
        c1.withLock { call.acquireConnectionNoEvents(c1) }
    
        // Running at time 50, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(50L)).isEqualTo(100L)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

          address = address,
          routeDatabase = routeDatabase,
          fastFallback = fastFallback,
          connectionUser = CallConnectionUser(call, ConnectionListener.NONE, newChain(call)),
        )
      }
    
      private fun newChain(call: RealCall): RealInterceptorChain {
        return RealInterceptorChain(
          call = call,
          interceptors = listOf(),
          index = 0,
          exchange = null,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. api/go1.5.txt

    pkg go/types, func LookupFieldOrMethod(Type, bool, *Package, string) (Object, []int, bool)
    pkg go/types, func MissingMethod(Type, *Interface, bool) (*Func, bool)
    pkg go/types, func NewArray(Type, int64) *Array
    pkg go/types, func NewChan(ChanDir, Type) *Chan
    pkg go/types, func NewChecker(*Config, *token.FileSet, *Package, *Info) *Checker
    pkg go/types, func NewConst(token.Pos, *Package, string, Type, constant.Value) *Const
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
Back to top