Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for ISO_8859_1 (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava-tests/test/com/google/common/hash/HashTestUtils.java

        assertEquals(hashFunction.hashLong(l), hashFunction.newHasher().putLong(l).hash());
      }
    
      private static final ImmutableSet<Charset> CHARSETS =
          ImmutableSet.of(
              Charsets.ISO_8859_1,
              Charsets.US_ASCII,
              Charsets.UTF_16,
              Charsets.UTF_16BE,
              Charsets.UTF_16LE,
              Charsets.UTF_8);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    loadProperties(java.io.File); public static java.util.Properties loadProperties(java.io.InputStream); } org/codehaus/plexus/util/ReaderFactory.class package org.codehaus.plexus.util; public synchronized class ReaderFactory { public static final String ISO_8859_1 = ISO-8859-1; public static final String US_ASCII = US-ASCII; public static final String UTF_16 = UTF-16; public static final String UTF_16BE = UTF-16BE; public static final String UTF_16LE = UTF-16LE; public static final String UTF_8 = UTF-8; public...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 200.2K bytes
    - Viewed (0)
Back to top