Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for decoder (5.34 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

            }
        }
    
        public void test_decode() {
            assertNull(permissionHelper.decode(null));
            assertNull(permissionHelper.decode(""));
            assertNull(permissionHelper.decode(" "));
            assertNull(permissionHelper.decode("D"));
    
            assertEquals("{user}guest", permissionHelper.decode("1guest"));
            assertEquals("{role}guest", permissionHelper.decode("Rguest"));
    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)
  3. src/main/java/org/codelibs/core/misc/Base64Util.java

        }
    
        private static void decode(final String inData, final int inIndex, final byte[] outData, final int outIndex) {
    
            final byte b0 = DECODE_TABLE[inData.charAt(inIndex)];
            final byte b1 = DECODE_TABLE[inData.charAt(inIndex + 1)];
            final byte b2 = DECODE_TABLE[inData.charAt(inIndex + 2)];
            final byte b3 = DECODE_TABLE[inData.charAt(inIndex + 3)];
    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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/core/net/URLUtil.java

         *            エンコーディング。{@literal null}や空文字列であってはいけません
         * @return デコードされた文字列
         */
        public static String decode(final String s, final String enc) {
            assertArgumentNotEmpty("s", s);
            assertArgumentNotEmpty("enc", enc);
    
            try {
                return URLDecoder.decode(s, enc);
            } catch (final UnsupportedEncodingException e) {
                throw new IORuntimeException(e);
            }
        }
    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)
  8. src/main/java/jcifs/dcerpc/ndr/NdrHyper.java

            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

            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);
            for (int i = 0; i < decodedData.length; i++) {
                assertEquals("2", BINARY_DATA[i], decodedData[i]);
            }
        }
    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/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            int start = bufferIndex;
            FileInformation inf = createFileInformation();
            if ( inf != null ) {
                bufferIndex += inf.decode(buffer, bufferIndex, getDataCount());
                this.info = inf;
            }
            return bufferIndex - start;
        }
    
    
        private FileInformation createFileInformation () {
            FileInformation inf;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
Back to top