Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for decode (0.15 sec)

  1. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

            assertEquals("{role}guest", permissionHelper.decode("Rguest"));
            assertEquals("{group}guest", permissionHelper.decode("2guest"));
            assertEquals("(deny){user}guest", permissionHelper.decode("D1guest"));
            assertEquals("(deny){role}guest", permissionHelper.decode("DRguest"));
            assertEquals("(deny){group}guest", permissionHelper.decode("D2guest"));
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/Base64Util.java

        private static final char PAD = '=';
    
        private static final byte[] DECODE_TABLE = new byte[128];
        static {
            for (int i = 0; i < DECODE_TABLE.length; i++) {
                DECODE_TABLE[i] = Byte.MAX_VALUE;
            }
            for (int i = 0; i < ENCODE_TABLE.length; i++) {
                DECODE_TABLE[ENCODE_TABLE[i]] = (byte) i;
            }
        }
    
        /**
         * Base64でエンコードします。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                        final String key = urlCodec.decode(pair.substring(0, pos), enc);
                        List<String> list = paramListMap.get(key);
                        if (list == null) {
                            list = new ArrayList<>();
                            paramListMap.put(key, list);
                        }
                        if (pos + 1 < pair.length()) {
                            list.add(urlCodec.decode(pair.substring(pos + 1), enc));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

         */
        public long getLengthInBytes () {
            return this.lengthInBytes;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            if ( this.largeFile ) {
                this.pid = SMBUtil.readInt2(buffer, bufferIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

        }
    
    
        @Override
        public long getSize () {
            return 0L;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.createTime = SMBUtil.readTime(buffer, bufferIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/net/URLUtil.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * 文字列表現から<code>URL</code>オブジェクトを作成します。
         *
         * @param spec
         *            <code>URL</code>として構文解析される文字列。{@literal null}や空文字列であってはいけません
         * @return <code>URL</code>
         */
        public static URL create(final String spec) {
            assertArgumentNotEmpty("spec", spec);
    
            try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/Base64.java

            buffer.append("=");
            return buffer.toString();
        }
    
        /**
         * Decodes the supplied Base-64 encoded string.
         *
         * @param string The Base-64 encoded string that is to be decoded.
         * @return A <code>byte[]</code> containing the decoded data block.
         */
        public static byte[] decode(String string) {
            int length = string.length();
            if (length == 0) return new byte[0];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrHyper.java

        public long value;
    
    
        public NdrHyper ( long value ) {
            this.value = value;
        }
    
    
        @Override
        public void encode ( NdrBuffer dst ) throws NdrException {
            dst.enc_ndr_hyper(this.value);
        }
    
    
        @Override
        public void decode ( NdrBuffer src ) throws NdrException {
            this.value = src.dec_ndr_hyper();
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

        public void testEncode() throws Exception {
            assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA));
            System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' }));
        }
    
        /**
         * @throws Exception
         */
        public void testDecode() throws Exception {
            final byte[] decodedData = Base64Util.decode(ENCODED_DATA);
            assertEquals("1", BINARY_DATA.length, decodedData.length);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                }
            }
    
            final String targetUrl = pathMappingHelper.replaceUrl(url);
    
            String hash;
            if (StringUtil.isNotBlank(form.hash)) {
                final String value = URLUtil.decode(form.hash, Constants.UTF_8);
                if (targetUrl.indexOf('#') == -1) {
                    final StringBuilder buf = new StringBuilder(value.length() + 100);
                    for (final char c : value.toCharArray()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top