Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 692 for charAt (0.04 sec)

  1. src/main/java/org/codelibs/core/CoreLibConstants.java

     */
    package org.codelibs.core;
    
    import java.nio.charset.Charset;
    
    /**
     * Constants class.
     *
     * @author shinsuke
     *
     */
    public class CoreLibConstants {
    
        /**
         * UTF-8
         */
        public static final String UTF_8 = "UTF-8";
    
        /**
         * UTF-8 Charset.
         */
        public static final Charset CHARSET_UTF_8 = Charset.forName(UTF_8);
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Charsets.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.charset.Charset;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Contains constant definitions for the six standard {@link Charset} instances, which are
     * guaranteed to be supported by all Java platform implementations.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

        val mediaType = parse("text/plain; charset=utf-8; charset=UTF-8")
        assertEquals("UTF-8", mediaType.charsetName())
      }
    
      @Test fun testMultipleCharsetsReturnsFirstMatch() {
        val mediaType = parse("text/plain; charset=utf-8; charset=utf-16")
        assertEquals("UTF-8", mediaType.charsetName())
      }
    
      /**
       * This is invalid according to RFC 822. But it's what Chrome does and it avoids a potentially
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

      }
    
    internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> {
      var charset: Charset = Charsets.UTF_8
      var finalContentType: MediaType? = this
      if (this != null) {
        val resolvedCharset = this.charset()
        if (resolvedCharset == null) {
          charset = Charsets.UTF_8
          finalContentType = "$this; charset=utf-8".toMediaTypeOrNull()
        } else {
          charset = resolvedCharset
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. fess-crawler-lasta/src/main/resources/crawler/client.xml

    	<component name="fsClient"
    		class="org.codelibs.fess.crawler.client.fs.FileSystemClient" instance="prototype">
    		<property name="charset">"UTF-8"</property>
    	</component>
    
    	<component name="smbClient" class="org.codelibs.fess.crawler.client.smb.SmbClient"
    		instance="prototype">
    		<property name="charset">"UTF-8"</property>
    		<!-- ntlmPasswordAuthentication -->
    	</component>
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Tue Aug 08 12:54:47 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    	typedef struct {
    		[string] wchar_t *entry_path;
    	} DfsInfo1;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] DfsInfo1 *s;
    	} DfsEnumArray1;
    
    	typedef struct {
    		uint32_t state;
    		[string] wchar_t *server_name;
    		[string] wchar_t *share_name;
    	} DfsStorageInfo;
    
    	typedef struct {
    		[string] wchar_t *path;
    		[string] wchar_t *comment;
    		uint32_t state;
    		uint32_t num_stores;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  7. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/InputStreamThread.java

         *
         * @param is the input stream to read from
         * @param charset the character encoding to use for reading
         * @param bufferSize the maximum number of lines to keep in the buffer (0 to disable buffering)
         * @param outputCallback optional callback function to process each line (can be null)
         */
        public InputStreamThread(final InputStream is, final Charset charset, final int bufferSize, final Consumer<String> outputCallback) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

        }
    
        /**
         * Returns the preload size for charset detection.
         * @return The preload size for charset detection.
         */
        public int getPreloadSizeForCharset() {
            return preloadSizeForCharset;
        }
    
        /**
         * Sets the preload size for charset detection.
         * @param preloadSizeForCharset The preload size for charset detection to set.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top