Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for ISO_8859_1 (0.11 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt

             *
             * See [PropertiesUtils.store].
             */
            fun store(properties: Properties, file: File, comment: String? = null) {
                PropertiesUtils.store(properties, file, comment, Charsets.ISO_8859_1, "\n")
            }
    
            private
            fun propertiesFrom(data: Map<String, Any>): Properties = Properties().apply {
                putAll(data.map { (key, value) -> key to value.toString() })
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            if (!artifactFile.getParentFile().exists()) {
                artifactFile.getParentFile().mkdirs();
            }
            try (Writer writer = new OutputStreamWriter(new FileOutputStream(artifactFile), StandardCharsets.ISO_8859_1)) {
                writer.write(artifact.getId());
            }
    
            MessageDigest md = MessageDigest.getInstance("MD5");
            md.update(artifact.getId().getBytes());
            byte[] digest = md.digest();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/CharsetsTest.java

        assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII);
      }
    
      @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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                    .reversed()
            }
    
    
    internal
    fun Properties.store(file: java.io.File, comment: String? = null) {
        PropertiesUtils.store(this, file, comment, Charsets.ISO_8859_1, "\n")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 09:17:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        DataInput in = new DataInputStream(new ByteArrayInputStream(data));
    
        /* Read in various values NORMALLY */
        byte[] b = new byte[6];
        in.readFully(b);
        assertEquals("r\u00C9sum\u00C9".getBytes(Charsets.ISO_8859_1), b);
      }
    
      @SuppressWarnings("deprecation") // testing a deprecated method
      public void testWriteBytes_discardHighOrderBytes() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        DataInput in = new DataInputStream(new ByteArrayInputStream(data));
    
        /* Read in various values NORMALLY */
        byte[] b = new byte[6];
        in.readFully(b);
        assertEquals("r\u00C9sum\u00C9".getBytes(Charsets.ISO_8859_1), b);
      }
    
      @SuppressWarnings("deprecation") // testing a deprecated method
      public void testWriteBytes_discardHighOrderBytes() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            PropertiesUtils.store(
                properties, libraryVersionFile.get().asFile,
                "Generated file, please do not edit - Version values used in build-init templates",
                Charsets.ISO_8859_1, "\n"
            )
        }
    
        private
        fun findLatest(name: String, notation: String, dest: Properties) {
            val libDependencies = arrayOf(project.dependencies.create(notation))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 11:19:07 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy

            spec.caseSensitive = false
            spec.includeEmptyDirs = false
            spec.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
            spec.fileMode = 1
            spec.dirMode = 2
            spec.filteringCharset = "ISO_8859_1"
    
            DefaultCopySpec child = unpackWrapper(spec."${method}"("child") {})
    
            then: //children still have these non defaults
            !child.caseSensitive
            !child.includeEmptyDirs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 08:05:50 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/FilterChainTest.java

            assertThat(IOUtils.toString(transformedReader), equalTo("[1][2][3]"));
        }
    
        @Test
        public void canFilterUsingISO88591() throws IOException {
            canFilterUsingCharset("ISO_8859_1");
        }
    
        @Test
        public void canFilterUsingUTF8() throws IOException {
            canFilterUsingCharset("UTF8");
        }
    
        private void canFilterUsingCharset(String charset) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 20 13:25:37 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/FormBodyTest.kt

        buffer.skip(3) // Skip "a=b" prefix.
        return buffer.readUtf8(buffer.size - 1) // Skip the "c" suffix.
      }
    
      @Test
      fun manualCharset() {
        val body =
          FormBody.Builder(StandardCharsets.ISO_8859_1)
            .add("name", "Nicolás")
            .build()
        val expected = "name=Nicol%E1s"
        assertThat(body.contentLength()).isEqualTo(expected.length.toLong())
        val out = Buffer()
        body.writeTo(out)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top