Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 468 for 1001 (0.07 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

        serverWriter.writeClose(0, null)
        assertData("8800")
      }
    
      @Test fun serverCloseWithCode() {
        serverWriter.writeClose(1001, null)
        assertData("880203e9")
      }
    
      @Test fun serverCloseWithCodeAndReason() {
        serverWriter.writeClose(1001, "Hello".encodeUtf8())
        assertData("880703e948656c6c6f")
      }
    
      @Test fun clientEmptyClose() {
        clientWriter.writeClose(0, null)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

          .bootstrapDnsHosts(getByIp("1.1.1.1"), getByIp("1.0.0.1"))
          .includeIPv6(false)
          .build()
    
      private fun buildCloudflarePost(bootstrapClient: OkHttpClient): DnsOverHttps =
        DnsOverHttps
          .Builder()
          .client(bootstrapClient)
          .url("https://cloudflare-dns.com/dns-query".toHttpUrl())
          .bootstrapDnsHosts(getByIp("1.1.1.1"), getByIp("1.0.0.1"))
          .includeIPv6(false)
          .post(true)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py

        response = client.get("/items/1001?q=somequery")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["path", "item_id"],
                    "input": "1001",
                    "msg": "Input should be less than or equal to 1000",
                    "type": "less_than_equal",
                    "ctx": {"le": 1000},
                }
            ]
        }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial006.py

        response = client.get("/items/1001?q=somequery&size=5")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["path", "item_id"],
                    "input": "1001",
                    "msg": "Input should be less than or equal to 1000",
                    "type": "less_than_equal",
                    "ctx": {"le": 1000},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

      private fun closeWebSockets(
        client: WebSocket,
        server: WebSocket,
      ) {
        server.close(1001, "")
        clientListener.assertClosing(1001, "")
        client.close(1000, "")
        serverListener.assertClosing(1000, "")
        clientListener.assertClosed(1001, "")
        serverListener.assertClosed(1000, "")
        clientListener.assertExhausted()
        serverListener.assertExhausted()
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val PAYLOAD_LONG = 127
    
      /** Used when an unchecked exception was thrown in a listener. */
      internal const val CLOSE_CLIENT_GOING_AWAY = 1001
    
      /** Used when an empty close frame was received (i.e., without a status code). */
      internal const val CLOSE_NO_STATUS_CODE = 1005
    
      fun toggleMask(
        cursor: Buffer.UnsafeCursor,
        key: ByteArray,
      ) {
        var keyIndex = 0
        val keyLength = key.size
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt

        val addressD = decodeIpv6("abcd:ef01:2345:6789:abcd:ef01:2345:6789")!!
        assertThat(canonicalizeInetAddress(addressD)).isEqualTo(addressD)
    
        val addressE = decodeIpv6("2001:db8::1:0:0:1")!!
        assertThat(canonicalizeInetAddress(addressE)).isEqualTo(addressE)
    
        val addressF = decodeIpv6("0:0:0:0:0:ffff:7f00:1")!!
        assertThat(canonicalizeInetAddress(addressF)).isEqualTo(addressB)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 \u03bcs", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.001 \u03bcs", stopwatch.toString());
        ticker.advance(8998);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        return ImmutableList.of(
            Striped.readWriteLock(100),
            Striped.readWriteLock(256),
            Striped.lock(100),
            Striped.lock(256),
            Striped.custom(100, FAIR_LOCK_SUPPLER),
            Striped.custom(256, FAIR_LOCK_SUPPLER),
            Striped.semaphore(100, 1),
            Striped.semaphore(256, 1));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        return ImmutableList.of(
            Striped.readWriteLock(100),
            Striped.readWriteLock(256),
            Striped.lock(100),
            Striped.lock(256),
            Striped.custom(100, FAIR_LOCK_SUPPLER),
            Striped.custom(256, FAIR_LOCK_SUPPLER),
            Striped.semaphore(100, 1),
            Striped.semaphore(256, 1));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top