Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 126 for HELLO (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/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")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/StringsTest.java

                String originalString = "Hello World Test";
                byte[] allBytes = originalString.getBytes(StandardCharsets.UTF_16LE);
                int partialLength = "Hello World".getBytes(StandardCharsets.UTF_16LE).length;
    
                // When
                String result = Strings.fromUNIBytes(allBytes, 0, partialLength);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-tests/test/com/google/common/io/FilesTest.java

        PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
    
        assertEquals("hello", Files.readFirstLine(temp, UTF_8));
        assertEquals(ImmutableList.of("hello", "", " world  ", ""), Files.readLines(temp, UTF_8));
    
        assertTrue(temp.delete());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        public void test_evaluate_withValidTemplateAndParams() {
            String template = "Hello ${name}";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("name", "World");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("Hello World", result);
        }
    
        // Test evaluate method with empty template
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. 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)
  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(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. 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(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

        public void tearDown() {
            if (tempFile != null && tempFile.exists()) {
                tempFile.delete();
            }
        }
    
        @Test
        public void testMemoryBasedCacheConstructor() {
            byte[] data = "Hello, World!".getBytes();
            ContentCache cache = new ContentCache(data);
    
            assertNotNull(cache);
        }
    
        @Test
        public void testFileBasedCacheConstructor() throws IOException {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

                .message("OK")
                .body("Hello".toResponseBody())
                .header("Content-Encoding", "piedpiper")
                .build()
            }.build()
    
        val response = client.newCall(Request("https://google.com/robots.txt".toHttpUrl())).execute()
    
        assertThat(response.header("Content-Encoding")).isEqualTo("piedpiper")
        assertThat(response.body.string()).isEqualTo("Hello")
      }
    
      @Test
      fun gzipThroughCall() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top