Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for Do (0.29 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

     * typically false on Windows.
     *
     * If this returns false we won't permit simultaneous reads and writes. When writes commit we need
     * to delete the previous snapshots, and that won't succeed if the file is open. (We do permit
     * multiple simultaneous reads.)
     *
     * @param file a file in the directory to check. This file shouldn't already exist!
     */
    internal fun FileSystem.isCivilized(file: Path): Boolean {
      sink(file).use {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      @Throws(IOException::class)
      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. gradlew

    # Resolve links: $0 may be a link
    app_path=$0
    
    # Need this for daisy-chained symlinks.
    while
        APP_HOME=${app_path%"${app_path##*/}"}  # leaves a trailing /; empty if no leading path
        [ -h "$app_path" ]
    do
        ls=$( ls -ld "$app_path" )
        link=${ls#*' -> '}
        case $link in             #(
          /*)   app_path=$link ;; #(
          *)    app_path=$APP_HOME$link ;;
        esac
    done
    
    # This is normally unused
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. gradlew.bat

    set DIRNAME=%~dp0
    if "%DIRNAME%"=="" set DIRNAME=.
    @rem This is normally unused
    set APP_BASE_NAME=%~n0
    set APP_HOME=%DIRNAME%
    
    @rem Resolve any "." and ".." in APP_HOME to make it shorter.
    for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
    
    @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
    set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
    
    @rem Find java.exe
    Batch File
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Nov 25 16:14:58 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val CLOSE_NO_STATUS_CODE = 1005
    
      fun toggleMask(
        cursor: Buffer.UnsafeCursor,
        key: ByteArray,
      ) {
        var keyIndex = 0
        val keyLength = key.size
        do {
          val buffer = cursor.data
          var i = cursor.start
          val end = cursor.end
          if (buffer != null) {
            while (i < end) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        // javax.net.ssl.SSLHandshakeException: No new session is allowed and no existing
        // session can be resumed
        //
        // Report https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8264944
        // Sessions improvement https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8245576
        if (!platform.isJdk9() && !platform.isOpenJsse() && !platform.isJdk8Alpn()) {
          reuseSession = true
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            condition.signalAll()
          }
        }
      }
    
      /**
       * Returns true if read timeouts should be enforced while reading response headers or body bytes.
       * We always do timeouts in the HTTP server role. For clients, we only do timeouts after the
       * request is transmitted. This is only interesting for duplex calls where the request and
       * response may be interleaved.
       *
    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)
  8. .github/ISSUE_TEMPLATE/question.md

    ---
    name: Question
    about: Use Stack Overflow instead
    title: "\U0001F649"
    labels: ''
    assignees: ''
    
    ---
    
    🛑 𝙎𝙏𝙊𝙋
    
    This issue tracker is not the place for questions!
    
    If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/okhttp
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 406 bytes
    - Viewed (0)
  9. docs/features/https.md

            error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake
            failure (external/openssl/ssl/s23_clnt.c:770 0x7f2728a53ea0:0x00000000)
        at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
    ```
    
    You can check a web server's configuration using [Qualys SSL Labs][qualys]. OkHttp's TLS
    configuration history is [tracked here](../security/tls_configuration_history.md).
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    import okio.Source
    import okio.Timeout
    
    /**
     * Reads HTTP/2 transport frames.
     *
     * This implementation assumes we do not send an increased [frame][Settings.getMaxFrameSize] to the
     * peer. Hence, we expect all frames to have a max length of [Http2.INITIAL_MAX_FRAME_SIZE].
     */
    class Http2Reader(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top