Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 238 for decodeId (0.25 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Decodes a base64 encoded ID back to the original object name.
         *
         * @param id the encoded ID to decode
         * @return the decoded object name
         */
        protected static String decodeId(final String id) {
            if (id == null) {
                return StringUtil.EMPTY;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/Base64Util.java

        }
    
        /**
         * Decodes data encoded in Base64.
         * <p>
         * This method uses {@link java.util.Base64.Decoder} for decoding.
         * </p>
         *
         * @param inData
         *            The data to decode
         * @return The decoded data, or null if the input is null or empty
         */
        public static byte[] decode(final String inData) {
            if (StringUtil.isEmpty(inData)) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Encdec.java

            dst[di] = (byte) (i >> 24 & 0xFF);
            return 4;
        }
    
        /*
         * Decode integers
         */
    
        /**
         * Decodes a 16-bit unsigned integer from big-endian byte order.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @return the decoded short value
         */
        public static short dec_uint16be(final byte[] src, final int si) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/Encdec.java

            dst[di] = (byte) (i >> 24 & 0xFF);
            return 4;
        }
    
        /* Decode integers
         */
    
        /**
         * Decodes a 16-bit unsigned integer from big-endian byte order.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @return the decoded short value
         */
        public static short dec_uint16be(final byte[] src, final int si) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  5. 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(final String string) {
            final int length = string.length();
            if (length == 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/FacetResponse.java

            }
    
            /**
             * Gets the decoded name of this field facet.
             *
             * @return the field name
             */
            public String getName() {
                return name;
            }
    
        }
    
        /**
         * Gets the map of query facet counts.
         *
         * @return the queryCountMap containing decoded query strings and their counts
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 11:39:05 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @return the number of bytes decoded
         * @throws IOException if an I/O error occurs during decoding
         */
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws IOException {
            final int start = bufferIndex;
    
            bufferIndex++; // revision
            bufferIndex++;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

        }
    
        /**
         * Decodes a security descriptor from a byte buffer.
         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @return the number of bytes decoded
         * @throws SMBProtocolDecodingException if the data cannot be properly decoded
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(40, bytesWritten);
    
            // Decode to verify encoding
            FileBasicInfo decoded = new FileBasicInfo();
            decoded.decode(buffer, offset, 36);
    
            assertEquals(TEST_CREATE_TIME, decoded.getCreateTime());
            assertEquals(TEST_LAST_ACCESS_TIME, decoded.getLastAccessTime());
            assertEquals(TEST_LAST_WRITE_TIME, decoded.getLastWriteTime());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

            assertNotNull("Encoded result should not be null", encoded);
            final byte[] decoded = Base64Util.decode(encoded);
            assertEquals("Decoded should have same length", 1, decoded.length);
            assertEquals("Decoded byte should match", singleByte[0], decoded[0]);
        }
    
        /**
         * Test encode with two bytes
         *
         * @throws Exception
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top