Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for testUtf8 (0.1 sec)

  1. guava-tests/test/com/google/common/base/CharsetsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testIso88591() {
        assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1);
      }
    
      public void testUtf8() {
        assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUtf16be() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
          assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s));
        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
          assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s));
        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
          assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s));
        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/resources/extractor/test_utf8.html

    Shinsuke Sugaya <******@****.***> 1444529815 +0900
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 162 bytes
    - Viewed (0)
  6. fess-crawler/src/test/resources/extractor/test_utf8.xml

    Shinsuke Sugaya <******@****.***> 1444529815 +0900
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 161 bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            xmlExtractor = container.getComponent("xmlExtractor");
        }
    
        public void test_getXml_utf8() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_utf8.xml");
            final String content = xmlExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

            htmlExtractor.addMetadata("title", "//TITLE");
        }
    
        public void test_getHtml_utf8() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_utf8.html");
            final ExtractData data = htmlExtractor.getText(in, null);
            final String content = data.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

            htmlXpathExtractor.init();
        }
    
        public void test_getHtml_utf8() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_utf8.html");
            final String content = htmlXpathExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

        // logger.info(content);
        // assertTrue(content.contains("テスト"));
        // }
    
        public void test_getTika_html() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_utf8.html");
            final ExtractData extractData = tikaExtractor.getText(in, null);
            final String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top