Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 340 for charset (0.11 sec)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertThat(MediaType.parse("text/plain; charset =utf-8").charset()).hasValue(UTF_8);
        assertThat(MediaType.parse("text/plain; charset= utf-8").charset()).hasValue(UTF_8);
        assertThat(MediaType.parse("text/plain; charset = utf-8").charset()).hasValue(UTF_8);
        assertThat(MediaType.parse("text/plain;charset =utf-8").charset()).hasValue(UTF_8);
      }
    
      public void testGetCharset() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        @Override
        public Hasher putString(CharSequence input, Charset charset) {
          if (UTF_8.equals(charset)) {
            int utf16Length = input.length();
            int i = 0;
    
            // This loop optimizes for pure ASCII.
            while (i + 4 <= utf16Length) {
              char c0 = input.charAt(i);
              char c1 = input.charAt(i + 1);
              char c2 = input.charAt(i + 2);
              char c3 = input.charAt(i + 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.logging
    
    import java.io.IOException
    import java.nio.charset.Charset
    import java.util.TreeSet
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.Response
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

        }
    
        public void setCharset(final String charset) {
            this.charset = charset;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.client.CrawlerClient#doHead(java.lang.String)
         */
        @Override
        public ResponseData doHead(final String url) {
            try {
                final ResponseData responseData = processRequest(url, false);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            this.resolveSids = resolveSids;
        }
    
        /**
         * @return the charset
         */
        public String getCharset() {
            return charset;
        }
    
        /**
         * @param charset
         *            the charset to set
         */
        public void setCharset(final String charset) {
            this.charset = charset;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharSource.java

      }
    
      /** A byte source that reads chars from this source and encodes them as bytes using a charset. */
      private final class AsByteSource extends ByteSource {
    
        final Charset charset;
    
        AsByteSource(Charset charset) {
          this.charset = checkNotNull(charset);
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (charset.equals(this.charset)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

      fun string(): String =
        source().use { source ->
          source.readString(charset = source.readBomAsCharset(charset()))
        }
    
      private fun charset() = contentType().charsetOrUtf8()
    
      override fun close() = commonClose()
    
      internal class BomAwareReader(
        private val source: BufferedSource,
        private val charset: Charset,
      ) : Reader() {
        private var closed: Boolean = false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top