Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,068 for Encodings (0.07 seconds)

  1. cmd/api-utils.go

    	switch c {
    	case '-', '_', '.', '/', '*':
    		return false
    	}
    	return true
    }
    
    // s3URLEncode is based on Golang's url.QueryEscape() code,
    // while considering some S3 exceptions:
    //   - Avoid encoding '/' and '*'
    //   - Force encoding of '~'
    func s3URLEncode(s string) string {
    	spaceCount, hexCount := 0, 0
    	for i := range len(s) {
    		c := s[i]
    		if shouldEscape(c) {
    			if c == ' ' {
    				spaceCount++
    			} else {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. cmd/dummy-handlers.go

    	_, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	const accelerateDefaultConfig = `<?xml version="1.0" encoding="UTF-8"?><AccelerateConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"/>`
    	writeSuccessResponseXML(w, []byte(accelerateDefaultConfig))
    }
    
    // GetBucketRequestPaymentHandler - GET bucket requestPayment, a dummy api
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 13 15:25:16 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  3. 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
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. 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
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. 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
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild.verify-build-environment.gradle.kts

    tasks.register("verifyIsProductionBuildEnvironment") {
        doLast {
            val systemCharset = Charset.defaultCharset().name()
            assert(systemCharset == "UTF-8") {
                "Platform encoding must be UTF-8. Is currently $systemCharset. Set -Dfile.encoding=UTF-8"
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Feb 01 09:48:30 GMT 2021
    - 941 bytes
    - Click Count (0)
  7. docs/features/calls.md

    OkHttp may add headers that are absent from the original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present. If you’ve got cookies, OkHttp will add a `Cookie` header with them.
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.9K bytes
    - Click Count (0)
  8. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. src/test/resources/org/codelibs/core/xml/include.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <foo xmlns:xi="http://www.w3.org/2001/XInclude">
    	<xi:include href="/included.xml"/>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sun Dec 28 09:01:06 GMT 2014
    - 131 bytes
    - Click Count (0)
  10. src/test/resources/org/codelibs/core/xml/included.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <foo>
    	<bar/>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sun Dec 28 09:01:06 GMT 2014
    - 60 bytes
    - Click Count (0)
Back to Top