Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for encodings (0.04 sec)

  1. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded);
      }
    
      private static void assertFailsToDecode(BaseEncoding encoding, String cannotDecode) {
        assertFailsToDecode(encoding, cannotDecode, null);
      }
    
      private static void assertFailsToDecode(
          BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. pom.xml

    				<artifactId>maven-compiler-plugin</artifactId>
    				<version>3.14.0</version>
    				<configuration>
    					<encoding>UTF-8</encoding>
    					<release>21</release>
    				</configuration>
    			</plugin>
    			<plugin>
    				<artifactId>maven-javadoc-plugin</artifactId>
    				<version>3.11.2</version>
    				<configuration>
    					<encoding>UTF-8</encoding>
    					<docencoding>UTF-8</docencoding>
    					<charset>UTF-8</charset>
    				</configuration>
    			</plugin>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 03:01:32 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

          response("https://httpbin.org/brotli", s.decodeHex()) {
            header("Content-Encoding", "br")
          }
    
        val uncompressed = brotliInterceptor.decompress(response)
    
        val responseString = uncompressed.body.string()
        assertThat(responseString).contains("\"brotli\": true,")
        assertThat(responseString).contains("\"Accept-Encoding\": \"br\"")
      }
    
      @Test
      fun testUncompressGzip() {
        val s =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded);
      }
    
      private static void assertFailsToDecode(BaseEncoding encoding, String cannotDecode) {
        assertFailsToDecode(encoding, cannotDecode, null);
      }
    
      private static void assertFailsToDecode(
          BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         *     has a 'Content-Encoding' header.
         */
        fun gzip() =
          apply {
            val identityBody =
              body
                ?: throw IllegalStateException("cannot gzip a request that has no body")
    
            val contentEncoding = headers["Content-Encoding"]
            check(contentEncoding == null) {
              "Content-Encoding already set: $contentEncoding"
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        responseBody.close()
        networkLogs
          .assertLogEqual("--> POST $url http/1.1")
          .assertLogEqual("Content-Encoding: gzip")
          .assertLogEqual("Transfer-Encoding: chunked")
          .assertLogEqual("Host: $host")
          .assertLogEqual("Connection: Keep-Alive")
          .assertLogEqual("Accept-Encoding: gzip")
          .assertLogMatch(Regex("""User-Agent: okhttp/.+"""))
          .assertLogEqual("")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

            } else {
              var buffer = Buffer()
              requestBody.writeTo(buffer)
    
              var gzippedLength: Long? = null
              if ("gzip".equals(headers["Content-Encoding"], ignoreCase = true)) {
                gzippedLength = buffer.size
                GzipSource(buffer).use { gzippedResponseBody ->
                  buffer = Buffer()
                  buffer.writeAll(gzippedResponseBody)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            return roleTypeList;
        }
    
        /**
         * Get the site on file.
         * @param url The URL.
         * @param encoding The encoding.
         * @return The site on file.
         */
        protected String getSiteOnFile(final String url, final String encoding) {
            if (StringUtil.isBlank(url)) {
                return StringUtil.EMPTY; // empty
            }
    
            if (url.startsWith("file:////")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                }
                return (T) Boolean.valueOf(value.toString());
            }
            return null;
        }
    
        /**
         * Encodes a URL by encoding non-URL-safe characters.
         * Uses the request's character encoding if available, otherwise defaults to UTF-8.
         * Only encodes characters that are not considered URL-safe according to CharUtil.
         *
         * @param url the URL to encode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/test/resources/test_app.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<include path="convention.xml" />
    	<include path="lastaflute.xml" />
    	
    	<!-- Register systemProperties for test environment -->
    	<component name="systemProperties" class="org.codelibs.fess.unit.TestSystemProperties" />
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 390 bytes
    - Viewed (0)
Back to top