Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 982 for utf8 (0.02 seconds)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path fooPath = fs.getPath("foo");
          Path barPath = fs.getPath("bar");
          MoreFiles.asCharSink(fooPath, UTF_8).write("foo");
          MoreFiles.asCharSink(barPath, UTF_8).write("barbar");
    
          assertThat(MoreFiles.equal(fooPath, barPath)).isFalse();
          assertThat(MoreFiles.equal(fooPath, fooPath)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                return buckets.stream().map(e -> {
                    final Map<String, Object> map = new HashMap<>();
                    map.put(ID, Base64.getUrlEncoder().encodeToString(e.getKeyAsString().getBytes(StandardCharsets.UTF_8)));
                    map.put(KEY, e.getKeyAsString());
                    map.put(COUNT, e.getDocCount());
                    return map;
                }).collect(Collectors.toList());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

         */
        @Test
        public void testLoadPropertiesReader() {
            final InputStreamReader inputStreamReader =
                    ReaderUtil.create(ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties"), "UTF-8");
            final Properties properties = new Properties();
            PropertiesUtil.load(properties, inputStreamReader);
            assertThat(properties.getProperty("hoge"), is("ほげ"));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_lines_number_mismatch.py

        )
        assert result.exit_code == 1, result.output
    
        fixed_content = (root_dir / "docs" / "lang" / "docs" / "doc.md").read_text("utf-8")
        expected_content = Path(f"{data_path}/translated_doc_lines_number_gt.md").read_text(
            "utf-8"
        )
    
        assert fixed_content == expected_content  # Translated doc remains unchanged
        assert "Error processing docs/lang/docs/doc.md" in result.output
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  5. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_wrong_lang_code.py

        )
        assert result.exit_code == 1, result.output
    
        fixed_content = (root_dir / "docs" / "lang" / "docs" / "doc.md").read_text("utf-8")
        expected_content = Path(f"{data_path}/translated_doc_wrong_lang_code.md").read_text(
            "utf-8"
        )
    
        assert fixed_content == expected_content  # Translated doc remains unchanged
        assert "Error processing docs/lang/docs/doc.md" in result.output
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. scripts/tests/test_translation_fixer/test_header_permalinks/test_header_level_mismatch.py

            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        assert result.exit_code == 1
    
        fixed_content = (root_dir / "docs" / "lang" / "docs" / "doc.md").read_text("utf-8")
        expected_content = Path(
            f"{data_path}/translated_doc_level_mismatch_1.md"
        ).read_text("utf-8")
    
        assert fixed_content == expected_content  # Translated doc remains unchanged
        assert "Error processing docs/lang/docs/doc.md" in result.output
        assert (
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 2K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml

    under the License.
    -->
    
    <!-- START SNIPPET: superpom -->
    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <!-- Fixed date for reproducible build -->
        <project.build.outputTimestamp>1980-02-01T00:00:00Z</project.build.outputTimestamp>
      </properties>
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 07 13:30:22 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. scripts/docs.py

                input=base_content.encode("utf-8"),
                capture_output=True,
            )
            content_target = version_result.stdout.decode("utf-8")
            format_result = subprocess.run(
                [find_ruff_bin(), "format", "-"],
                input=content_target.encode("utf-8"),
                capture_output=True,
            )
            content_format = format_result.stdout.decode("utf-8")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts

            !source.matching {
                exclude("**/package-info.java")
            }.isEmpty
        }
    
        options {
            this as StandardJavadocDocletOptions
    
            encoding = "utf-8"
            docEncoding = "utf-8"
            charSet = "utf-8"
    
            // Enable all javadoc warnings, except for:
            // - missing: Classes and methods are not required to have javadoc
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

    import static com.google.common.hash.Funnels.byteArrayFunnel;
    import static com.google.common.hash.Hashing.murmur3_128;
    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.hash.HashTestUtils.HashFn;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 3.3K bytes
    - Click Count (0)
Back to Top