Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for Moll (0.16 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * @return the head of the request queue
       */
      @Throws(InterruptedException::class)
      fun takeRequest(
        timeout: Long,
        unit: TimeUnit,
      ): RecordedRequest? = requestQueue.poll(timeout, unit)
    
      /**
       * Scripts [response] to be returned to a request made in sequence. The first request is
       * served by the first enqueued response; the second request by the second enqueued response; and
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/TestLogHandler.kt

            }
          }
        }
      }
    
      fun takeAll(): List<String> {
        val list = mutableListOf<String>()
        logs.drainTo(list)
        return list
      }
    
      fun take(): String {
        return logs.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for log message.")
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

          "take plan 1",
          "plan 0 cancel",
          "plan 0 TCP connect canceled",
        )
      }
    
      private fun assertEvents(vararg expected: String) {
        val actual = generateSequence { routePlanner.events.poll() }.toList()
        assertThat(actual).containsExactly(*expected)
      }
    
      private val Int.ms: Long
        get() = this * 1_000_000L
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top