Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 148 for concurrent (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/concurrent/TaskLoggerTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.concurrent
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import org.junit.jupiter.api.Test
    
    class TaskLoggerTest {
      @Suppress("ktlint")
      @Test fun formatTime() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

    import android.annotation.SuppressLint
    import java.util.concurrent.ThreadFactory
    import java.util.concurrent.TimeUnit
    import java.util.logging.Handler
    import java.util.logging.Level
    import java.util.logging.LogManager
    import java.util.logging.LogRecord
    import java.util.logging.Logger
    import kotlin.concurrent.withLock
    import okhttp3.internal.buildConnectionPool
    import okhttp3.internal.concurrent.TaskRunner
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.Closeable
    import java.io.IOException
    import java.util.concurrent.locks.ReentrantLock
    import java.util.logging.Level.FINE
    import java.util.logging.Logger
    import okhttp3.internal.connection.Locks.withLock
    import okhttp3.internal.format
    import okhttp3.internal.http2.Http2.CONNECTION_PREFACE
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

    import java.net.SocketTimeoutException
    import java.time.Duration
    import java.util.Arrays
    import java.util.Collections
    import java.util.Random
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicInteger
    import kotlin.test.assertFailsWith
    import mockwebserver3.Dispatcher
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/AutobahnTester.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicLong
    import java.util.concurrent.atomic.AtomicReference
    import okhttp3.internal.USER_AGENT
    import okio.ByteString
    
    /**
     * Exercises the web socket implementation against the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import java.io.IOException
    import java.util.concurrent.TimeUnit
    import okhttp3.Call
    import okhttp3.Connection
    import okhttp3.Interceptor
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.checkDuration
    import okhttp3.internal.connection.Exchange
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

     * limitations under the License.
     *
     */
    
    package okhttp3
    
    import java.net.InetAddress
    import java.net.UnknownHostException
    import java.util.concurrent.CountDownLatch
    import okio.IOException
    
    /**
     * An async domain name service that resolves IP addresses for host names.
     *
     * The main implementations will typically be implemented using specific DNS libraries such as
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

     *  limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.net.Socket
    import java.util.concurrent.ConcurrentLinkedQueue
    import java.util.concurrent.ThreadLocalRandom
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater
    import okhttp3.Address
    import okhttp3.ConnectionListener
    import okhttp3.ConnectionPool
    import okhttp3.Route
    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)
  9. mockwebserver-deprecated/api/mockwebserver.api

    	public fun clone ()Lokhttp3/mockwebserver/MockResponse;
    	public final fun getBody ()Lokio/Buffer;
    	public final fun getBodyDelay (Ljava/util/concurrent/TimeUnit;)J
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getHeadersDelay (Ljava/util/concurrent/TimeUnit;)J
    	public final fun getHttp2ErrorCode ()I
    	public final fun getPushPromises ()Ljava/util/List;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import okhttp3.CacheControl.Companion.parse
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top