Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for test (0.15 sec)

  1. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    #Others
    / http://www.example.com/test s:http h:www.example.com p:/
    /test.txt  s:http h:www.example.com p:/test.txt
    .  s:http h:www.example.com p:/
    ..  s:http h:www.example.com p:/
    test.txt  s:http h:www.example.com p:/test.txt
    ./test.txt  s:http h:www.example.com p:/test.txt
    ../test.txt  s:http h:www.example.com p:/test.txt
    ../aaa/test.txt  s:http h:www.example.com p:/aaa/test.txt
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

    import java.util.Random
    import kotlin.test.assertFailsWith
    import okhttp3.internal.format
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.EMPTY
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    class WebSocketReaderTest {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

        ```bash
        bazel test ${flags} //tensorflow/python/saved_model:load_test --test_filter=*LoadTest.test_capture_variables*
        ```
    
        **Note:** You can add `--test_sharding_strategy=disabled` to the `flags` to
        disable the sharding so that all the test outputs are in one file. However,
        it may slow down the tests for not running in parallel and may cause the
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

      }
    
      @Test @Disabled
      fun headers() {
        var headers: Headers = Headers.of("", "")
        headers = Headers.of(mapOf("" to ""))
        val size: Int = headers.size()
      }
    
      @Test @Disabled
      fun httpLoggingInterceptor() {
        val interceptor = HttpLoggingInterceptor()
        val level = interceptor.getLevel()
      }
    
      @Test @Disabled
      fun httpUrl() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        clientListener.assertClosed(1000, "")
        serverListener.assertClosed(1000, "")
      }
    
      @Test
      fun wsScheme() {
        assumeNotWindows()
        websocketScheme("ws")
      }
    
      @Test
      fun wsUppercaseScheme() {
        websocketScheme("WS")
      }
    
      @Test
      fun wssScheme() {
        webServer.useHttps(handshakeCertificates.sslSocketFactory())
        client =
          client.newBuilder()
    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)
  6. okhttp/src/test/java/okhttp3/RequestTest.kt

      }
    
      @Test
      fun stringWithDefaultCharsetAdded() {
        val contentType = "text/plain".toMediaType()
        val body = "\u0800".toRequestBody(contentType)
        assertThat(body.contentType()).isEqualTo("text/plain; charset=utf-8".toMediaType())
        assertThat(body.contentLength()).isEqualTo(3)
        assertThat(bodyToHex(body)).isEqualTo("e0a080")
      }
    
      @Test
      fun stringWithNonDefaultCharsetSpecified() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        client.listener.assertClosed(1000, "Goodbye!")
      }
    
      @Test
      fun clientCloseThenMethodsReturnFalse() {
        client.webSocket!!.close(1000, "Hello!")
        assertThat(client.webSocket!!.close(1000, "Hello!")).isFalse()
        assertThat(client.webSocket!!.send("Hello!")).isFalse()
      }
    
      @Test
      fun clientCloseWith0Fails() {
        assertFailsWith<IllegalArgumentException> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/InterceptorTest.kt

        assertThat(recordedRequest.method).isEqualTo("POST")
        assertThat(recordedRequest.body.readUtf8()).isEqualTo("abc")
      }
    
      @Test
      fun applicationInterceptorsRewriteRequestToServer() {
        rewriteRequestToServer(false)
      }
    
      @Test
      fun networkInterceptorsRewriteRequestToServer() {
        rewriteRequestToServer(true)
      }
    
      private fun rewriteRequestToServer(network: Boolean) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  9. tensorflow/c/BUILD

        ],
    )
    
    tf_cc_test(
        name = "while_loop_test",
        size = "medium",
        srcs = ["while_loop_test.cc"],
        deps = [
            ":c_api",
            ":c_test_util",
            "//tensorflow/core:lib",
            "//tensorflow/core:test",
            "//tensorflow/core:test_main",
        ],
    )
    
    tf_custom_op_library(
        name = "test_op1.so",
        srcs = ["test_op1.cc"],
    )
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

          ),
        )
      }
    
      @Test
      fun readSingleByteInt() {
        assertThat(newReader(byteStream()).readInt(10, 31)).isEqualTo(10)
        assertThat(newReader(byteStream()).readInt(0xe0 or 10, 31)).isEqualTo(10)
      }
    
      @Test
      fun readMultibyteInt() {
        assertThat(newReader(byteStream(154, 10)).readInt(31, 31)).isEqualTo(1337)
      }
    
      @Test
      fun writeSingleByteInt() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
Back to top