Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 524 for decoder (0.06 sec)

  1. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

         * Extracts and parses parameters from the request query string.
         * Applies the specified character encoding to decode parameter values.
         *
         * @param request the HTTP request containing the query string
         * @param enc the character encoding to use for decoding
         * @return a map of parameter names to their decoded values
         * @throws IOException if an error occurs during parameter parsing
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

     */
    package jcifs.internal.dfs;
    
    import java.util.Arrays;
    
    import jcifs.Decodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * DFS (Distributed File System) referral response buffer parser.
     * Decodes server responses to DFS referral requests, extracting information about
     * available DFS targets, path consumption details, and referral flags.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                Arrays.fill(buffer2, (byte) 0x22);
    
                // First decode
                response.decode(buffer1, 0, 50);
                byte[] data1 = response.getData();
    
                // Second decode should overwrite
                response.decode(buffer2, 10, 60);
                byte[] data2 = response.getData();
    
                // Verify second decode overwrote first
                assertEquals(60, data2.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            Smb2IoctlResponse resp = new Smb2IoctlResponse(config);
    
            int read = resp.decode(packet, 0);
            assertTrue(read >= packet.length, "Decoded length should cover entire packet");
            assertNotNull(resp.getErrorData(), "Error data should be decoded");
            assertEquals(3, resp.getErrorData().length);
            assertEquals(2, resp.getErrorContextCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        @Test
        @DisplayName("Test decode with valid single entry")
        void testDecodeValidSingleEntry() throws SMBProtocolDecodingException {
            String fileName = "document.pdf";
            int action = FileNotifyInformation.FILE_ACTION_MODIFIED;
            byte[] buffer = createValidNotificationBuffer(fileName, action);
    
            int bytesRead = notifyInfo.decode(buffer, 0, buffer.length);
    
            assertTrue(bytesRead > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

        class IntegrationTests {
    
            @Test
            @DisplayName("Should maintain state after multiple decodes")
            void testMultipleDecodes() throws SMBProtocolDecodingException {
                // First decode
                byte[] buffer1 = createValidCopyChunkResponse(1, 1024, 1024);
                response.decode(buffer1, 0, buffer1.length);
                assertEquals(1, response.getChunksWritten());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

            SMBUtil.writeInt4(length, dst, dstIndex + 12);
            return 16;
        }
    
        /**
         * Decode from byte array
         *
         * @param buffer source buffer
         * @param bufferIndex starting index
         * @return decoded transform
         */
        public static Smb2RdmaTransform decode(byte[] buffer, int bufferIndex) {
            long offset = SMBUtil.readInt8(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrObject.java

         */
        public abstract void encode(NdrBuffer dst) throws NdrException;
    
        /**
         * Decodes this NDR object from the specified buffer
         * @param src the source buffer for decoding
         * @throws NdrException if decoding fails
         */
        public abstract void decode(NdrBuffer src) throws NdrException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java

         */
        public abstract void encode(NdrBuffer dst) throws NdrException;
    
        /**
         * Decodes this NDR object from the specified buffer
         * @param src the source buffer for decoding
         * @throws NdrException if decoding fails
         */
        public abstract void decode(NdrBuffer src) throws NdrException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            originalContext.encode(buffer, 0);
    
            // Create a new context and decode
            DirectoryLeaseContext decodedContext = new DirectoryLeaseContext(new Smb2LeaseKey(), 0, DirectoryCacheScope.IMMEDIATE_CHILDREN);
            decodedContext.decode(buffer, 0, buffer.length);
    
            // Verify decoded values
            assertArrayEquals(originalKey.getKey(), decodedContext.getLeaseKey().getKey());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top