Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Kuper (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/Cache.kt

              override fun close() {
                synchronized(this@Cache) {
                  if (done) return
                  done = true
                  writeSuccessCount++
                }
                super.close()
                editor.commit()
              }
            }
        }
    
        override fun abort() {
          synchronized(this@Cache) {
            if (done) return
            done = true
            writeAbortCount++
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

            override fun dispatch(request: RecordedRequest): MockResponse {
              if (peek().socketPolicy === DisconnectAfterRequest) {
                requestFinished.await()
              }
              return super.dispatch(request)
            }
          }
        dispatcher.enqueueResponse(MockResponse(body = "seed connection pool"))
        dispatcher.enqueueResponse(MockResponse(socketPolicy = DisconnectAfterRequest))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

          // Otherwise, there is no guarantee for the sequence. For example, the server may use the
          // first mocked response to respond to the second request.
          val response = super.dispatch(request)
          responseDequeuedLatches[responseIndex].countDown()
          requestCanceledLatches[responseIndex].await()
          responseIndex++
          return response
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

            }
            LogManager.getLogManager().reset()
            val handler =
              object : ConsoleHandler() {
                override fun publish(record: LogRecord) {
                  super.publish(record)
    
                  val parameters = record.parameters
                  if (sslDebug && record.loggerName == "javax.net.ssl" && parameters != null) {
                    System.err.println(parameters[0])
                  }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

            override fun contains(element: Protocol?): Boolean {
              if (element == null) throw NullPointerException()
              return super.contains(element)
            }
    
            override fun indexOf(element: Protocol?): Int {
              if (element == null) throw NullPointerException()
              return super.indexOf(element)
            }
          } as List<Protocol>
        val client =
          OkHttpClient.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top