Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 598 for charlen (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

          "UTF-8",
          noCharset.charset(Charsets.UTF_8)!!.name(),
        )
        assertEquals(
          "US-ASCII",
          noCharset.charset(Charsets.US_ASCII)!!.name(),
        )
        val charset = parse("text/plain; charset=iso-8859-1")
        assertEquals(
          "ISO-8859-1",
          charset.charset(Charsets.UTF_8)!!.name(),
        )
        assertEquals(
          "ISO-8859-1",
          charset.charset(Charsets.US_ASCII)!!.name(),
        )
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/Resources.java

       * @param url the URL to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return a string containing all the characters from the URL
       * @throws IOException if an I/O error occurs.
       */
      public static String toString(URL url, Charset charset) throws IOException {
        return asCharSource(url, charset).read();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSink.java

        }
      }
    
      /**
       * A char sink that encodes written characters with a charset and writes resulting bytes to this
       * byte sink.
       */
      private final class AsCharSink extends CharSink {
    
        private final Charset charset;
    
        private AsCharSink(Charset charset) {
          this.charset = checkNotNull(charset);
        }
    
        @Override
        public Writer openStream() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteSink.java

        }
      }
    
      /**
       * A char sink that encodes written characters with a charset and writes resulting bytes to this
       * byte sink.
       */
      private final class AsCharSink extends CharSink {
    
        private final Charset charset;
    
        private AsCharSink(Charset charset) {
          this.charset = checkNotNull(charset);
        }
    
        @Override
        public Writer openStream() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

        void shouldHandleNullTerminal() {
            // Should fall back to system default charset
            for (ConsoleIcon icon : ConsoleIcon.values()) {
                String result = icon.getIcon(null);
                assertNotNull(result, "Icon result should not be null for " + icon);
    
                // Result should be either Unicode or ASCII fallback depending on default charset
                String expectedUnicode = String.valueOf(icon.getUnicodeChar());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public
      static void copy(File from, Charset charset, Appendable to) throws IOException {
        asCharSource(from, charset).copyTo(to);
      }
    
      /**
       * Appends a character sequence (such as a string) to a file using the given character set.
       *
       * @param from the character sequence to append
       * @param to the destination file
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  7. fess-crawler-lasta/src/main/resources/crawler/client.xml

    	</component>
    
    	<component name="s3Client"
    		class="org.codelibs.fess.crawler.client.s3.S3Client" instance="prototype">
    		<property name="charset">"UTF-8"</property>
    	</component>
    
    	<component name="gcsClient"
    		class="org.codelibs.fess.crawler.client.gcs.GcsClient" instance="prototype">
    		<property name="charset">"UTF-8"</property>
    	</component>
    
    	<component name="crawlerClientCreator"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/ConsoleIcon.java

        }
    
        /**
         * Gets the charset used by the terminal for output.
         * Falls back to the system default charset if terminal charset is not available.
         *
         * @param terminal the terminal to get the charset from
         * @return the terminal's output charset or the system default charset
         */
        private static Charset getTerminalCharset(Terminal terminal) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/MediaType.java

       * charset} parameter set to the {@link Charset#name name} of the given charset. Only one {@code
       * charset} parameter will be present on the new instance regardless of the number set on this
       * one.
       *
       * <p>If a charset must be specified that is not supported on this JVM (and thus is not
       * representable as a {@link Charset} instance), use {@link #withParameter}.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

                plusIsSpace = false,
                charset = charset,
              )
            values +=
              value.canonicalizeWithCharset(
                encodeSet = FORM_ENCODE_SET,
                // Plus is encoded as `%2B`, space is encoded as plus.
                plusIsSpace = false,
                charset = charset,
              )
          }
    
          fun addEncoded(
            name: String,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top