Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for york (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

    /*
     *  Licensed to the Apache Software Foundation (ASF) under one or more
     *  contributor license agreements.  See the NOTICE file distributed with
     *  this work for additional information regarding copyright ownership.
     *  The ASF licenses this file to You under the Apache License, Version 2.0
     *  (the "License"); you may not use this file except in compliance with
     *  the License.  You may obtain a copy of the License at
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        var retryTlsConnection: ConnectPlan? = null
        var success = false
    
        // Tell the call about the connecting call so async cancels work.
        user.addPlanToCancel(this)
        try {
          if (tunnelRequest != null) {
            val tunnelResult = connectTunnel()
    
            // Tunnel didn't work. Start it all again.
            if (tunnelResult.nextPlan != null || tunnelResult.throwable != null) {
              return tunnelResult
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

     * This is for the benefit of container environments that implement code unloading.
     *
     * Most applications should share a process-wide [TaskRunner] and use queues for per-client work.
     */
    class TaskRunner(
      val backend: Backend,
      internal val logger: Logger = TaskRunner.logger,
    ) {
      val lock: ReentrantLock = ReentrantLock()
      val condition: Condition = lock.newCondition()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        nextTask.start()
        return nextTask
      }
    
      private interface SerialTask {
        /** Returns true if this task is ready to start. */
        fun isReady() = true
    
        /** Do this task's work, and then start another, such as by calling [startNextTask]. */
        fun start()
      }
    
      private object TestThreadSerialTask : SerialTask {
        override fun start() = error("unexpected call")
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  5. CHANGELOG.md

    _2022-06-26_
    
     *  Fix: Configure the multiplatform artifact (`com.squareup.okhttp3:okhttp:3.x.x`) to depend on the
        JVM artifact (`com.squareup.okhttp3:okhttp-jvm:3.x.x`) for Maven builds. This should work-around
        an issue where Maven doesn't interpret Gradle metadata.
     *  Fix: Make another attempt at supporting Kotlin 1.5.31 at runtime. We were crashing on
        `DurationUnit` which was a typealias in 1.5.x.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

    /*
     *  Licensed to the Apache Software Foundation (ASF) under one or more
     *  contributor license agreements.  See the NOTICE file distributed with
     *  this work for additional information regarding copyright ownership.
     *  The ASF licenses this file to You under the Apache License, Version 2.0
     *  (the "License"); you may not use this file except in compliance with
     *  the License.  You may obtain a copy of the License at
     *
    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)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(actual).isEqualTo(expected)
      }
    
      /**
       * Returns true when all work currently in progress by the watchdog have completed. This method
       * creates more work for the watchdog and waits for that work to be executed. When it is, we know
       * work that preceded this call is complete.
       */
      private fun awaitWatchdogIdle() {
        val latch = CountDownLatch(1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

      /**
       * The runner doesn't hold references to its queues! Otherwise we'd need a mechanism to clean them
       * up when they're no longer needed and that's annoying. Instead the task runner only tracks which
       * queues have work scheduled.
       */
      @Test fun activeQueuesContainsOnlyQueuesWithScheduledTasks() {
        redQueue.execute("task one", 100.µs) {
          // Do nothing.
        }
    
        blueQueue.execute("task two", 200.µs) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top