Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for maalis (0.23 sec)

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

          0
          HTTP/1.1 200 OK
          7
          :status: 200 OK
          :version: HTTP/1.1
          etag: foo
          content-length: 3
          OkHttp-Received-Millis: ${System.currentTimeMillis()}
          X-Android-Response-Source: NETWORK 200
          OkHttp-Sent-Millis: ${System.currentTimeMillis()}
    
          TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
          1
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            // Compress all messages if compression is enabled.
            minimumDeflateSize = 0L,
            webSocketCloseTimeout = RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS,
          )
        val name = "MockWebServer WebSocket ${request.path!!}"
        webSocket.initReaderAndWriter(name, streams)
        try {
          webSocket.loopReader(fancyResponse)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cache.kt

            }
            val sendRequestMillisString = responseHeadersBuilder[SENT_MILLIS]
            val receivedResponseMillisString = responseHeadersBuilder[RECEIVED_MILLIS]
            responseHeadersBuilder.removeAll(SENT_MILLIS)
            responseHeadersBuilder.removeAll(RECEIVED_MILLIS)
            sentRequestMillis = sendRequestMillisString?.toLong() ?: 0L
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/RecordingCallback.kt

       * enqueued before the timeout.
       */
      @Synchronized
      fun await(url: HttpUrl): RecordedResponse {
        val timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS
        while (true) {
          val i = responses.iterator()
          while (i.hasNext()) {
            val recordedResponse = i.next()
            if (recordedResponse.request.url.equals(url)) {
              i.remove()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt

        ConsoleHandler().apply {
          level = Level.FINE
          formatter =
            object : SimpleFormatter() {
              override fun format(record: LogRecord) = String.format("[%1\$tF %1\$tT] %2\$s %n", record.millis, record.message)
            }
        }
    
      fun enable(
        loggerClass: String,
        handler: Handler = logHandler(),
      ): Closeable {
        val logger = Logger.getLogger(loggerClass)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          }
          return read
        }
    
        override fun close() {
          if (closed) return
    
          if (bytesRemaining != 0L &&
            !discard(ExchangeCodec.DISCARD_STREAM_TIMEOUT_MILLIS, MILLISECONDS)
          ) {
            carrier.noNewExchanges() // Unread bytes remain on the stream.
            responseBodyComplete()
          }
    
          closed = true
        }
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        }
    
        private fun validity(): Validity {
          val notBefore = if (notBefore != -1L) notBefore else System.currentTimeMillis()
          val notAfter = if (notAfter != -1L) notAfter else notBefore + DEFAULT_DURATION_MILLIS
          return Validity(
            notBefore = notBefore,
            notAfter = notAfter,
          )
        }
    
        private fun extensions(): MutableList<Extension> {
          val result = mutableListOf<Extension>()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  8. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

          .toFormatter()
    
      private val offset = ZoneOffset.systemDefault()
    
      override fun format(record: LogRecord): String {
        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        /**
         * The maximum amount of time after the client calls [close] to wait for a graceful shutdown. If
         * the server doesn't respond the web socket will be canceled.
         */
        const val CANCEL_AFTER_CLOSE_MILLIS = 60L * 1000
    
        /**
         * The smallest message that will be compressed. We use 1024 because smaller messages already
         * fit comfortably within a single ethernet packet (1500 bytes) even with framing overhead.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

        internal var connectTimeout = 10_000
        internal var readTimeout = 10_000
        internal var writeTimeout = 10_000
        internal var pingInterval = 0
        internal var webSocketCloseTimeout = RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS.toInt()
        internal var minWebSocketMessageToCompress = RealWebSocket.DEFAULT_MINIMUM_DEFLATE_SIZE
        internal var routeDatabase: RouteDatabase? = null
        internal var taskRunner: TaskRunner? = null
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
Back to top