Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for manches (0.17 sec)

  1. .github/workflows/containers.yml

    name: containers
    
    on:
      push:
        branches:
          - master
      pull_request:
        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      test_containers:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Mar 23 12:00:11 GMT 2024
    - 911 bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

              when (record.loggerName) {
                TaskRunner::class.java.name -> recordTaskRunner
                Http2::class.java.name -> recordFrames
                "javax.net.ssl" -> recordSslDebug && !sslExcludeFilter.matches(record.message)
                else -> false
              }
    
            if (recorded) {
              synchronized(clientEventsList) {
                clientEventsList.add(record.message)
    
    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/http/RetryAndFollowUpInterceptor.kt

        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
      companion object {
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val domain: String = cookie.domain
        val path: String = cookie.path
        val httpOnly: Boolean = cookie.httpOnly
        val secure: Boolean = cookie.secure
        val matches: Boolean = cookie.matches("".toHttpUrl())
        val parsedCookie: Cookie? = Cookie.parse("".toHttpUrl(), "")
        val cookies: List<Cookie> = Cookie.parseAll("".toHttpUrl(), headersOf())
      }
    
      @Test
      fun cookieBuilder() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  5. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          "CallEnd",
        )
      }
    
      private fun assertBytesReadWritten(
        listener: RecordingEventListener,
        requestHeaderLength: Matcher<Long?>?,
        requestBodyBytes: Matcher<Long?>?,
        responseHeaderLength: Matcher<Long?>?,
        responseBodyBytes: Matcher<Long?>?,
      ) {
        if (requestHeaderLength != null) {
          val responseHeadersEnd = listener.removeUpToEvent<RequestHeadersEnd>()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        // Break apart the domain into UTF-8 labels, i.e. foo.bar.com turns into [foo, bar, com].
        val domainLabelsUtf8Bytes = Array(domainLabels.size) { i -> domainLabels[i].toByteArray() }
    
        // Start by looking for exact matches. We start at the leftmost label. For example, foo.bar.com
        // will look like: [foo, bar, com], [bar, com], [com]. The longest matching rule wins.
        var exactMatch: String? = null
        for (i in domainLabelsUtf8Bytes.indices) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

     * limitations under the License.
     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.matches
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliBombTest.kt

     * limitations under the License.
     */
    package okhttp3.brotli
    
    import assertk.assertFailure
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isNotNull
    import assertk.assertions.matches
    import assertk.assertions.message
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okhttp3.brotli.internal.uncompress
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 29 22:50:20 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

        assertFailsWith<IllegalArgumentException> {
          table.map(0x110000, Buffer())
        }
      }
    
      @Test fun binarySearchEvenSizedRange() {
        val table = listOf(1, 3, 5, 7, 9, 11)
    
        // Search for matches.
        assertEquals(0, binarySearch(0, 6) { index -> 1.compareTo(table[index]) })
        assertEquals(1, binarySearch(0, 6) { index -> 3.compareTo(table[index]) })
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RecordedResponse.kt

        }
    
      fun assertFailureMatches(vararg patterns: String) =
        apply {
          val message = failure!!.message!!
          assertThat(
            patterns.firstOrNull { pattern ->
              message.matches(pattern.toRegex())
            },
          ).isNotNull()
        }
    
      fun assertSentRequestAtMillis(
        minimum: Long,
        maximum: Long,
      ) = apply {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top