Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 88 for Decodable (1.04 sec)

  1. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

         *            the file information to set
         */
        public <T extends FileInformation & Encodable> void setFileInformation(final T fi) {
            setInfoType(Smb2Constants.SMB2_0_INFO_FILE);
            setFileInfoClass(fi.getFileInformationLevel());
            setInfo(fi);
        }
    
        /**
         * Sets the encodable information object for this request
         *
         * @param info
         *            the info to set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/EncodableTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    
    import jcifs.util.ByteEncodable;
    
    @DisplayName("Encodable contract tests using ByteEncodable")
    class EncodableTest {
    
        // Generates a few representative slices and destination indices.
        static Stream<Arguments> byteEncodableArgs() {
            return Stream.of(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ByteEncodable.java

     */
    package jcifs.util;
    
    import jcifs.Encodable;
    
    /**
     * Interface for objects that can be encoded to byte arrays.
     * Provides standardized method for converting objects to their binary representation.
     *
     * @author mbechler
     */
    public class ByteEncodable implements Encodable {
    
        private final byte[] bytes;
        private final int off;
        private final int len;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_COPYCHUNK data structure. This structure represents a single chunk specification
     * for server-side copy operations.
     *
     * @author mbechler
     *
     */
    public class SrvCopychunk implements Encodable {
    
        private final long sourceOffset;
        private final long targetOffset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_COPYCHUNK_COPY data structure. This structure is used to perform server-side
     * copy operations with multiple chunk specifications.
     *
     * @author mbechler
     *
     */
    public class SrvCopychunkCopy implements Encodable {
    
        private final byte[] sourceKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

     */
    package jcifs.internal.smb2.lock;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Lock data structure.
     *
     * This class represents a single lock element used in
     * SMB2 Lock requests for byte-range locking.
     *
     * @author mbechler
     */
    public class Smb2Lock implements Encodable {
    
        /**
         * Flag indicating a shared lock that allows concurrent read access.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        void testSizeWithInputBuffer() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            // Set an input buffer using reflection
            Encodable mockInputBuffer = mock(Encodable.class);
            when(mockInputBuffer.size()).thenReturn(100);
    
            try {
                Field inputBufferField = Smb2QueryInfoRequest.class.getDeclaredField("inputBuffer");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Validate Negotiate Info request data structure. This structure is used to validate
     * that the negotiated SMB2 dialect matches what was originally negotiated.
     *
     * @author mbechler
     *
     */
    public class ValidateNegotiateInfoRequest implements Encodable {
    
        private final int capabilities;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * File System Control Code (FSCC) request for pipe wait operations.
     * Implements the FSCTL_PIPE_WAIT control code used to wait for a named pipe
     * to become available when attempting to connect to a busy pipe.
     *
     * @author mbechler
     */
    public class FsctlPipeWaitRequest implements Encodable {
    
        private final byte[] nameBytes;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java

     */
    package jcifs.internal.smb2.nego;
    
    import jcifs.Encodable;
    
    /**
     * SMB2 Negotiate Context request data structure.
     *
     * This class represents negotiate contexts used in SMB 3.1.1
     * for capability negotiation and security enhancements.
     *
     * @author mbechler
     */
    public interface NegotiateContextRequest extends Encodable {
    
        /**
         * Gets the negotiate context type.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top