Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for year (0.12 sec)

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

              }
              year == -1 && matcher.usePattern(YEAR_PATTERN).matches() -> {
                year = matcher.group(1).toInt()
              }
            }
    
            pos = dateCharacterOffset(s, end + 1, limit, false)
          }
    
          // Convert two-digit years into four-digit years. 99 becomes 1999, 15 becomes 2015.
          if (year in 70..99) year += 1900
          if (year in 0..69) year += 2000
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          return -1L
        }
      }
    
      companion object {
        private val ONLY_HTTP1 = listOf(Protocol.HTTP_1_1)
    
        /**
         * The maximum number of bytes to enqueue. Rather than enqueueing beyond this limit we tear down
         * the web socket! It's possible that we're writing faster than the peer can read.
         */
        private const val MAX_QUEUE_SIZE = 16L * 1024 * 1024 // 16 MiB.
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      /**
       * The reason why this stream was closed, or null if it closed normally or has not yet been
       * closed.
       *
       * If there are multiple reasons to abnormally close this stream (such as both peers closing it
       * near-simultaneously) then this is the first reason known to this peer.
       */
      internal var errorCode: ErrorCode? = null
        get() = this.withLock { field }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  4. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      val survey = CipherSuiteSurvey(clients = clients, ianaSuites = ianaSuitesNew, orderBy = orderBy)
    
      survey.printGoogleSheet()
    }
    
    fun rest(clients: List<Client>): List<SuiteId> {
      // combine all ciphers to get these near the top
      return clients.flatMap { it.enabled }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top