Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for true (0.13 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

              response
            },
          )
          .build()
    
      private fun configureClientTestRule(): OkHttpClientTestRule {
        val clientTestRule = OkHttpClientTestRule()
        clientTestRule.recordTaskRunner = true
        return clientTestRule
      }
    
      @BeforeEach
      fun setUp(webServer: MockWebServer) {
        this.webServer = webServer
        platform.assumeNotOpenJSSE()
      }
    
      @AfterEach
    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)
  2. okhttp-coroutines/src/test/kotlin/okhttp3/SuspendCallTest.kt

                    override fun close() {
                      responseClosed = true
                    }
                  }.buffer()
              },
            )
            .build()
    
        var responseClosed = false
        var canceled = false
        var afterCallbackOnResponse: () -> Unit = {}
    
        override fun cancel() {
          canceled = true
        }
    
        override fun enqueue(responseCallback: Callback) {
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Fri Apr 05 11:25:23 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

        }
      }
    
      /**
       * Sends a reply to an incoming stream.
       *
       * @param outFinished true to eagerly finish the output stream to send data to the remote peer.
       *     Corresponds to `FLAG_FIN`.
       * @param flushHeaders true to force flush the response headers. This should be true unless the
       *     response body exists and will be written immediately.
       */
      @Throws(IOException::class)
    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)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          return InetSocketAddress(hostName, portField)
        }
    
      /**
       * True if ALPN is used on incoming HTTPS connections to negotiate a protocol like HTTP/1.1 or
       * HTTP/2. This is true by default; set to false to disable negotiation and restrict connections
       * to HTTP/1.1.
       */
      var protocolNegotiationEnabled: Boolean = true
    
      /**
    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)
  5. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        assertThat(a4.isCanceled()).isFalse()
      }
    
      @Test
      fun idleCallbackInvokedWhenIdle() {
        val idle = AtomicBoolean()
        dispatcher.idleCallback = Runnable { idle.set(true) }
        client.newCall(newRequest("http://a/1")).enqueue(callback)
        client.newCall(newRequest("http://a/2")).enqueue(callback)
        executor.finishJob("http://a/1")
        assertThat(idle.get()).isFalse()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. .github/workflows/containers.yml

              java-version: 17
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v3
    
          - name: Run Container Tests
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Mar 23 12:00:11 GMT 2024
    - 911 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      /**
       * Notify this pool that [connection] has become idle. Returns true if the connection has been
       * removed from the pool and should be closed.
       */
      fun connectionBecameIdle(connection: RealConnection): Boolean {
        connection.lock.assertHeld()
    
        return if (connection.noNewExchanges || maxIdleConnections == 0) {
          connection.noNewExchanges = true
          connections.remove(connection)
    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)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

              when {
                fieldName.equals("Date", ignoreCase = true) -> {
                  servedDate = value.toHttpDateOrNull()
                  servedDateString = value
                }
                fieldName.equals("Expires", ignoreCase = true) -> {
                  expires = value.toHttpDateOrNull()
                }
                fieldName.equals("Last-Modified", ignoreCase = true) -> {
                  lastModified = value.toHttpDateOrNull()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

          .appendLiteral(':')
          .appendValue(MINUTE_OF_HOUR, 2)
          .optionalStart()
          .appendLiteral(':')
          .appendValue(SECOND_OF_MINUTE, 2)
          .optionalStart()
          .appendFraction(NANO_OF_SECOND, 3, 3, true)
          .toFormatter()
    
      private val offset = ZoneOffset.systemDefault()
    
      override fun format(record: LogRecord): String {
        val message = formatMessage(record)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

                    override fun close() {
                      responseClosed = true
                    }
                  }.buffer()
              },
            )
            .build()
    
        var responseClosed = false
        var canceled = false
        var afterCallbackOnResponse: () -> Unit = {}
    
        override fun cancel() {
          canceled = true
        }
    
        override fun enqueue(responseCallback: Callback) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top