Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for decodeId (0.31 sec)

  1. 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)
  2. src/main/java/jcifs/util/Strings.java

            }
        }
    
        /**
         * Decodes a string from UTF-16LE (Unicode Little Endian) bytes.
         *
         * @param src the byte array containing the encoded string
         * @param srcIndex the starting offset in the byte array
         * @param len the number of bytes to decode
         * @return decoded string
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

        }
    
        /**
         * Decodes the given host string using the specified encoding.
         *
         * @param host the host string to decode
         * @return the decoded host string
         */
        protected String decode(final String host) {
            if (host.indexOf('%') == -1) {
                return host;
            }
            try {
                return URLDecoder.decode(host, encoding);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

            buf.reset();
            NdrHyper decoded = new NdrHyper(0);
            decoded.decode(buf);
            assertEquals(original, decoded.value, "Decoded value should match encoded value");
        }
    
        /**
         * Parameterised test for a selection of edge and typical values.
         */
        @ParameterizedTest(name = "Encode and decode {0}")
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            ns.encode(buf);
    
            // Reset buffer to start for decoding
            buf.reset();
    
            // Prepare a new object to decode into
            NdrShort decoded = new NdrShort(0);
            decoded.decode(buf);
            assertEquals(123, decoded.value, "decoded value should equal original");
        }
    
        /**
         * Verify that encode invokes NdrBuffer.enc_ndr_short via a mocked
         * (spied) buffer.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top