Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for enc (0.38 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java

            enc = "UTF-8";
            assertEquals("UTF-8", encodingHelper.normalize(enc));
    
            enc = "Shift_JIS";
            assertEquals("Shift_JIS", encodingHelper.normalize(enc));
    
            enc = "S-JIS";
            assertEquals("Shift_JIS", encodingHelper.normalize(enc));
        }
    
        public void test_normalize_null() {
            String enc;
    
            enc = null;
            assertNull(encodingHelper.normalize(enc));
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                return URLDecoder.decode(escapedUrl, enc);
            } catch (final Exception e) {
                return url;
            }
        }
    
        default String getParentEncoding(final String parentUrl, final String sessionId) {
            final String key = sessionId + ":" + parentUrl;
            String enc = parentEncodingMap.get(key);
            if (enc != null) {
                return enc;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. docs/site-replication/run-ssec-object-replication-with-compression.sh

    echo "Loading objects to source MinIO instance"
    ./mc cp /tmp/data/plainfile minio1/test-bucket --insecure
    ./mc cp /tmp/data/encrypted minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure
    ./mc cp /tmp/data/defpartsize minio1/test-bucket/defpartsize --enc-c "minio1/test-bucket/defpartsize=${TEST_MINIO_ENC_KEY}" --insecure
    
    # Below should fail as compression and SSEC used at the same time
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/av/AvSingleHost.java

            int size = 8 + 8 + 32;
            byte[] enc = new byte[size];
            SMBUtil.writeInt4(size, enc, 0);
            SMBUtil.writeInt4(0, enc, 4);
            System.arraycopy(customData, 0, enc, 8, 8);
            System.arraycopy(machineId, 0, enc, 16, 32);
            return enc;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/net/URLUtil.java

         * @param enc
         *            エンコーディング。{@literal null}や空文字列であってはいけません
         * @return <code>application/x-www-form-urlencoded</code>でエンコード文字列
         */
        public static String encode(final String s, final String enc) {
            assertArgumentNotEmpty("s", s);
            assertArgumentNotEmpty("enc", enc);
    
            try {
                return URLEncoder.encode(s, enc);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            }
            buf.append("; charset=");
            final String enc;
            if (encoding == null) {
                enc = LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getCharacterEncoding).orElse(Constants.UTF_8);
            } else {
                enc = encoding;
            }
            buf.append(enc);
            final HttpServletResponse response = LaResponseUtil.getResponse();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

        protected Map<String, String> encodingMap = new HashMap<>();
    
        public String normalize(final String enc) {
            if (StringUtil.isBlank(enc)) {
                return defaultEncoding;
            }
    
            final String newEnc = encodingMap.get(toLowerCase(enc));
            if (StringUtil.isBlank(newEnc)) {
                return enc;
            }
            return newEnc;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. buildscripts/heal-manual.go

    	}
    
    	start, _, err := madmClnt.Heal(context.Background(), "healing-rewrite-bucket", "", opts, "", false, false)
    	if err != nil {
    		log.Fatalln(err)
    	}
    	fmt.Println("Healstart sequence ===")
    	enc := json.NewEncoder(os.Stdout)
    	if err = enc.Encode(&start); err != nil {
    		log.Fatalln(err)
    	}
    
    	fmt.Println()
    	for {
    		_, status, err := madmClnt.Heal(context.Background(), "healing-rewrite-bucket", "", opts, start.ClientToken, false, false)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 09:47:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            }
            size += 4;
    
            byte[] enc = new byte[size];
            int pos = 0;
            for ( AvPair p : pairs ) {
                byte[] raw = p.getRaw();
                SMBUtil.writeInt2(p.getType(), enc, pos);
                SMBUtil.writeInt2(raw.length, enc, pos + 2);
                System.arraycopy(raw, 0, enc, pos + 4, raw.length);
                pos += 4 + raw.length;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

                }
                final Matcher matcher = getEncodingPattern().matcher(head);
                if (matcher.find()) {
                    final String enc = matcher.group(1);
                    if (Charset.isSupported(enc)) {
                        return enc;
                    }
                }
            } catch (final Exception e) {
                if (logger.isInfoEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top