Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hodiny (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      internal val lock: ReentrantLock = ReentrantLock()
      internal val condition: Condition = lock.newCondition()
    
      // Internal state of this connection is guarded by 'lock'. No blocking operations may be
      // performed while holding this lock!
      //
      // Socket writes are guarded by frameWriter.
      //
      // Socket reads are unguarded but are only made by the reader thread.
      //
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          lock.assertNotHeld()
    
          connection.updateConnectionFlowControl(read)
        }
    
        /**
         * Accept bytes on the connection's reader thread. This function avoids holding locks while it
         * performs blocking reads for the incoming bytes.
         */
        @Throws(IOException::class)
        internal fun receive(
          source: BufferedSource,
          byteCount: Long,
        ) {
    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)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        queue.schedule(
          object : Task("$okHttpName ConnectionPool connection opener") {
            override fun runOnce(): Long = openConnections(this@scheduleOpener)
          },
        )
      }
    
      /**
       * Holding the lock of the connection being added or removed when mutating this, and check its
       * [RealConnection.noNewExchanges] property. This defends against races where a connection is
       * simultaneously adopted and removed.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top