Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for heslo (0.16 sec)

  1. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

        assertThat(body.string()).isEqualTo("hello")
      }
    
      @Test
      fun stringBomUtf8() {
        val body = body("efbbbf68656c6c6f")
        assertThat(body.string()).isEqualTo("hello")
      }
    
      @Test
      fun stringBomUtf16Be() {
        val body = body("feff00680065006c006c006f")
        assertThat(body.string()).isEqualTo("hello")
      }
    
      @Test
      fun stringBomUtf16Le() {
        val body = body("fffe680065006c006c006f00")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val deflater = MessageDeflater(false)
        val deflated = deflater.deflate("Hello deflate!".encodeUtf8())
        assertThat(deflated.hex()).isEqualTo("f248cdc9c95748494dcb492c49550400")
      }
    
      @Test fun `inflate deflate`() {
        val deflater = MessageDeflater(false)
        val inflater = MessageInflater(false)
    
        val goldenValue = "Hello deflate!".repeat(100).encodeUtf8()
    
        val deflated = deflater.deflate(goldenValue)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

            ranges = data.ranges,
            mappings = data.mappings,
          )
      }
    
      @Test fun regularMappings() {
        assertThat("hello".map()).isEqualTo("hello")
        assertThat("hello-world".map()).isEqualTo("hello-world")
        assertThat("HELLO".map()).isEqualTo("hello")
        assertThat("Hello".map()).isEqualTo("hello")
    
        // These compound characters map their its components.
        assertThat("¼".map()).isEqualTo("1⁄4")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

        serverWriter.writeMessageFrame(OPCODE_TEXT, "Hello".encodeUtf8())
        assertData("810548656c6c6f")
      }
    
      @Test fun serverCompressedTextMessage() {
        val serverWriter =
          WebSocketWriter(
            false,
            data,
            random,
            true,
            false,
            0L,
          )
        serverWriter.writeMessageFrame(OPCODE_TEXT, "Hello".encodeUtf8())
        assertData("c107f248cdc9c90700")
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestBodyTest.kt

        }
      }
    
      @Test
      fun testFileDescriptorRead() {
        assertOnFileDescriptor(content = "Hello") { fd ->
          val requestBody = fd.toRequestBody()
    
          val buffer = Buffer()
          requestBody.writeTo(buffer)
          assertThat(buffer.readUtf8()).isEqualTo("Hello")
        }
      }
    
      @Test
      fun testFileDescriptorDefaultMediaType() {
        assertOnFileDescriptor { fd ->
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        )
        val response = client.newCall(request().build()).execute()
        val responseBody = response.body
        assertThat(responseBody.string(), "Expected response body to be valid")
          .isEqualTo("Hello, Hello, Hello")
        responseBody.close()
        networkLogs
          .assertLogEqual("--> GET $url http/1.1")
          .assertLogEqual("Host: $host")
          .assertLogEqual("Connection: Keep-Alive")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

          Equivalence.equals().onResultOf(LengthFunction.INSTANCE);
    
      public void testWrap() {
        new EqualsTester()
            .addEqualityGroup(
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("world"))
            .addEqualityGroup(LENGTH_EQUIVALENCE.wrap("hi"), LENGTH_EQUIVALENCE.wrap("yo"))
            .addEqualityGroup(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        try {
          helper.add(null, "Hello");
          fail("No exception was thrown.");
        } catch (NullPointerException expected) {
        }
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_addWithNullValue() {
        final String result = MoreObjects.toStringHelper(new TestClass()).add("Hello", null).toString();
    
        assertEquals("TestClass{Hello=null}", result);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        serverReaderWithCompression.processNextFrame()
        callback.assertTextMessage("Hello")
      }
    
      @Test fun serverWithCompressionSimpleCompressedHello() {
        data.write("c18760b420bb92fced72a9b320".decodeHex()) // Hello
        serverReaderWithCompression.processNextFrame()
        callback.assertTextMessage("Hello")
      }
    
      @Test fun clientFramePayloadShort() {
        data.write("817E000548656c6c6f".decodeHex()) // Hello
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  10. tests/test_regex_deprecated_params.py

            ):
                if q:
                    return f"Hello {q}"
                else:
                    return "Hello World"
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_query_params_str_validations_no_query():
        client = get_client()
        response = client.get("/items/")
        assert response.status_code == 200
        assert response.json() == "Hello World"
    
    
    @needs_py310
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top