Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 770 for decoding (0.05 sec)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.dcerpc.ndr.NdrException;
    
    /**
     * Unit tests for {@link DcerpcMessage}. The tests exercise flag handling,
     * result extraction, header encoding/decoding, and the round-trip of an
     * encode/decode operation.
     */
    public class DcerpcMessageTest {
    
        /**
         * A trivial concrete subclass used for testing. It simply writes a
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

         *
         * @param buf the NDR buffer to decode from
         * @throws NdrException if decoding fails
         */
        protected abstract void decodeWitnessParameters(NdrBuffer buf) throws NdrException;
    
        @Override
        public void encode_in(NdrBuffer buf) throws NdrException {
            encodeWitnessParameters(buf);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            }
        }
    
        /**
         * Decodes a single notification from the NDR buffer.
         *
         * @param buf the NDR buffer
         * @return the decoded notification
         * @throws NdrException if decoding fails
         */
        private WitnessNotificationResponse decodeNotification(NdrBuffer buf) throws NdrException {
            WitnessNotificationResponse notification = new WitnessNotificationResponse();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/util/SMBUtil.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.util;
    
    import jcifs.SmbConstants;
    
    /**
     * SMB protocol utility class providing low-level data encoding and decoding operations.
     * Contains methods for reading and writing various data types (integers, strings, timestamps)
     * in SMB protocol format, handling endianness and data type conversions.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/Base64Util.java

     */
    package org.codelibs.core.misc;
    
    import org.codelibs.core.collection.ArrayUtil;
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * Utility class for handling Base64 encoding and decoding.
     *
     * @author higa
     */
    public abstract class Base64Util {
    
        /**
         * Do not instantiate.
         */
        protected Base64Util() {
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. cmd/streaming-v4-unsigned.go

    	}
    	return &s3UnsignedChunkedReader{
    		trailers: req.Trailer,
    		reader:   bufio.NewReader(req.Body),
    		buffer:   make([]byte, 64*1024),
    	}, ErrNone
    }
    
    // Represents the overall state that is required for decoding a
    // AWS Signature V4 chunked reader.
    type s3UnsignedChunkedReader struct {
    	reader   *bufio.Reader
    	trailers http.Header
    
    	buffer []byte
    	offset int
    	err    error
    	debug  bool
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 03 14:55:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            assertEquals(address, nic.getAddress());
    
            // Test scoring
            int score = nic.getScore();
            assertEquals(11000, score); // 10000 (link speed) + 1000 (RSS bonus)
    
            // Test encoding/decoding
            byte[] encoded = nic.encode();
            assertNotNull(encoded);
            assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

         *
         * @param <T> the type of the decoded response data
         * @param responseType the class of the expected response type
         * @return decoded data
         * @throws SmbException if decoding fails or the response type is incompatible
         */
        @SuppressWarnings("unchecked")
        public <T extends Decodable> T getOutputData(final Class<T> responseType) throws SmbException {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            FileEndOfFileInformation fileInfo = new FileEndOfFileInformation(endOfFile);
    
            // Test encoding
            byte[] buffer = new byte[8];
            int encoded = fileInfo.encode(buffer, 0);
            assertEquals(8, encoded);
    
            // Test decoding
            FileEndOfFileInformation decoded = new FileEndOfFileInformation();
            int decodedBytes = decoded.decode(buffer, 0, 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        public int getGrantedCredits() {
            return getCredit();
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException if there is an error decoding the response
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#haveResponse(byte[], int, int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top