Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 443 for Encodings (0.07 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

        /**
         * Field name for data.
         */
        public static final String DATA = "data";
    
        /**
         * Field name for encoding.
         */
        public static final String ENCODING = "encoding";
    
        /**
         * Creates a new instance of OpenSearchAccessResultData.
         */
        public OpenSearchAccessResultData() {
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                }
                if (dstIndex + encodedSize > dst.length) {
                    throw new ArrayIndexOutOfBoundsException("Buffer overflow");
                }
    
                // Simulate encoding: write header (8 bytes)
                Arrays.fill(dst, dstIndex, dstIndex + 8, (byte) 0xFF);
                int offset = dstIndex + 8;
    
                // Write name if present
                if (name != null && name.length > 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. docs/features/interceptors.md

    User-Agent: OkHttp Example
    Host: publicobject.com
    Connection: Keep-Alive
    Accept-Encoding: gzip
    
    INFO: Received response for https://publicobject.com/helloworld.txt in 80.9ms
    Server: nginx/1.4.6 (Ubuntu)
    Content-Type: text/plain
    Content-Length: 1759
    Connection: keep-alive
    ```
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/net/URLUtil.java

        }
    
        /**
         * Converts a string into <code>application/x-www-form-urlencoded</code>
         * format using the specified encoding scheme.
         *
         * @param s
         *            The string to be converted. Must not be {@literal null} or empty.
         * @param enc
         *            The encoding scheme. Must not be {@literal null} or empty.
         * @return The string encoded in <code>application/x-www-form-urlencoded</code> format.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            // Verify the raw bytes are the UTF-16LE encoding of the input string
            assertArrayEquals(targetName.getBytes(StandardCharsets.UTF_16LE), avTargetName.getRaw(),
                    "Raw bytes should be UTF-16LE encoded string");
        }
    
        /**
         * Test getTargetName() method with a string input.
         * Verifies that the original string is returned after encoding and decoding.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                assertNotNull("Resource should exist", is);
    
                // Read with UTF-8 encoding
                final String content = new String(is.readAllBytes(), StandardCharsets.UTF_8);
    
                // Verify encoding doesn't corrupt content
                assertTrue("Content should be valid", content.length() > 0);
                assertTrue("Should not contain encoding errors", !content.contains("\uFFFD"));
    
                // Verify JSON structure is intact
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java

            }
        }
    
        /**
         * Test that TextExtractor throws exception with encoding information.
         */
        public void test_TextExtractor_includesEncodingInErrorMessage() {
            final TextExtractor extractor = container.getComponent("textExtractor");
            // Create a stream that will cause an encoding error
            final InputStream errorStream = new InputStream() {
                @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

            .addInterceptor { chain ->
              assertThat(chain.request().header("Accept-Encoding")).isNull()
              Response
                .Builder()
                .request(chain.request())
                .protocol(Protocol.HTTP_1_1)
                .code(200)
                .message("OK")
                .body("Hello".toResponseBody())
                .header("Content-Encoding", "piedpiper")
                .build()
            }.build()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

        }
    
        // If we add an "Accept-Encoding: gzip" header field we're responsible for also decompressing
        // the transfer stream.
        var transparentGzip = false
        if (userRequest.header("Accept-Encoding") == null && userRequest.header("Range") == null) {
          transparentGzip = true
          requestBuilder.header("Accept-Encoding", "gzip")
        }
    
        val cookies = cookieJar.loadForRequest(userRequest.url)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
Back to top