Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 201 for decoding (0.09 sec)

  1. src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java

     * This abstract class defines the interface for encoding and decoding NDR data types.
     */
    public abstract class NdrObject {
    
        /**
         * Default constructor for NDR object
         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/ndr/NdrObject.java

     * This abstract class defines the interface for encoding and decoding NDR data types.
     */
    public abstract class NdrObject {
    
        /**
         * Default constructor for NDR object
         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

         */
        public void setFlag(final int flag) {
            this.flag = flag;
        }
    
        /**
         * Sets the encoding for URL decoding.
         *
         * @param encoding the encoding to set
         */
        public void setEncoding(final String encoding) {
            this.encoding = 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)
  4. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        }
    
        @Test
        @DisplayName("Test context encoding")
        public void testEncoding() {
            byte[] buffer = new byte[256];
            int encodedSize = context.encode(buffer, 0);
    
            assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms
            assertEquals(context.size(), encodedSize);
        }
    
        @Test
        @DisplayName("Test context decoding")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PACDecodingException.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new PAC decoding exception with no detail message.
         */
        public PACDecodingException() {
            this(null, null);
        }
    
        /**
         * Constructs a new PAC decoding exception with the specified detail message.
         * @param message the detail message
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (1)
  6. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

     * <p>
     * The class only contains an encode/decode pair that delegates to
     * {@link NdrBuffer#enc_ndr_hyper(long)} and {@link NdrBuffer#dec_ndr_hyper()}.
     * The tests verify that:
     * <ul>
     *   <li>encoding and decoding round‑trip correctly handle typical, zero,
     *       and extreme {@code long} values.</li>
     *   <li>encode/decode methods interact correctly with a mocked
     *       {@link NdrBuffer} so that the correct method is called with
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

         * Applies URL decoding with the specified character encoding.
         *
         * @param queryString the query string to parse
         * @param enc the character encoding to use for URL decoding
         * @return a map of parameter names to their decoded values
         * @throws IOException if an error occurs during URL decoding
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

        }
    
        /**
         * Creates a security descriptor by decoding 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
         * @throws IOException if an I/O error occurs during decoding
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            // Close the static mock
            mockedStaticAuthData.close();
        }
    
        /**
         * Test constructor with a valid ASN.1 token.
         *
         * @throws IOException if ASN.1 encoding fails.
         * @throws PACDecodingException if PAC decoding fails.
         */
        @Test
        void testConstructor_ValidToken() throws IOException, PACDecodingException {
            // 1. GIVEN
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for {@link NdrShort}.  The tests cover construction,
     * encoding and decoding logic, masking behaviour, alignment handling and
     * interaction with {@link NdrBuffer}.  All public behaviour is exercised.
     */
    @ExtendWith(MockitoExtension.class)
    class NdrShortTest {
    
        /**
    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