Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 111 for HELLO (0.38 sec)

  1. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        assertThat(decompressed.header("Content-Encoding")).isNull()
    
        val responseString = decompressed.body.string()
        assertThat(responseString).isEqualTo("hello zstd world")
      }
    
      @Test
      fun testDecompressGzip() {
        val s = "hello gzip world".encodeUtf8().gzipCompress()
    
        val response =
          response("https://example.com/", s) {
            header("Content-Encoding", "gzip")
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/SourceSinkTester.java

              .put("empty", "")
              .put("1 char", "0")
              .put("1 word", "hello")
              .put("2 words", "hello world")
              .put("\\n line break", "hello\nworld")
              .put("\\r line break", "hello\rworld")
              .put("\\r\\n line break", "hello\r\nworld")
              .put("\\n at EOF", "hello\nworld\n")
              .put("\\r at EOF", "hello\nworld\r")
              .put("lorem ipsum", LOREM_IPSUM)
              .buildOrThrow();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/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 ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (1)
  4. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

        }
    
        public void test_encodeUrl_already_encoded() {
            assertEquals("hello", DocumentUtil.encodeUrl("hello"));
            assertEquals("hello-world", DocumentUtil.encodeUrl("hello-world"));
            assertEquals("hello_world", DocumentUtil.encodeUrl("hello_world"));
            assertEquals("hello.world", DocumentUtil.encodeUrl("hello.world"));
        }
    
        public void test_encodeUrl_empty_and_null() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertHash(679745764, murmur3_32().hashUnencodedChars("k"));
        assertHash(1510782915, murmur3_32().hashUnencodedChars("hell"));
        assertHash(-675079799, murmur3_32().hashUnencodedChars("hello"));
        assertHash(1935035788, murmur3_32().hashUnencodedChars("http://www.google.com/"));
        assertHash(
            -528633700, murmur3_32().hashUnencodedChars("The quick brown fox jumps over the lazy dog"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/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")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. native-image-tests/src/test/kotlin/okhttp3/nativeimage/SampleTest.kt

    import okhttp3.Request
    import org.junit.jupiter.api.Test
    
    class SampleTest {
      private val server = MockWebServer()
    
      private val client = OkHttpClient()
    
      @Test
      fun passingTest() {
        assertThat("hello").isEqualTo("hello")
      }
    
      @Test
      fun testMockWebServer() {
        server.enqueue(MockResponse(body = "abc"))
        server.start()
    
        client.newCall(Request(url = server.url("/"))).execute().use {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

        }
      }
    
      @Test
      fun singlePart() {
        val expected =
          """
          |--123
          |
          |Hello, World!
          |--123--
          |
          """.trimMargin().replace("\n", "\r\n")
        val body =
          MultipartBody
            .Builder("123")
            .addPart("Hello, World!".toRequestBody(null))
            .build()
        assertThat(body.boundary).isEqualTo("123")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

          .build()
    
      @Test
      fun upgrade() {
        val socketHandler =
          MockSocketHandler()
            .apply {
              receiveRequest("client says hello\n")
              sendResponse("server says hello\n")
              receiveRequest("client says goodbye\n")
              sendResponse("server says goodbye\n")
              exhaustResponse()
              exhaustRequest()
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/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")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top