Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 159 for 0x104 (0.98 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

    import jcifs.smb1.util.Hexdump;
    
    class Trans2QueryPathInformationResponse extends SmbComTransactionResponse {
    
        // information levels
        static final int SMB_QUERY_FILE_BASIC_INFO = 0x101;
        static final int SMB_QUERY_FILE_STANDARD_INFO = 0x102;
    
        class SmbQueryFileBasicInfo implements Info {
            long createTime;
            long lastAccessTime;
            long lastWriteTime;
            long changeTime;
            int attributes;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int ATTR_READONLY = 0x01;
        /** Hidden file attribute */
        int ATTR_HIDDEN = 0x02;
        /** System file attribute */
        int ATTR_SYSTEM = 0x04;
        /** Volume label attribute */
        int ATTR_VOLUME = 0x08;
        /** Directory attribute */
        int ATTR_DIRECTORY = 0x10;
        /** Archive attribute */
        int ATTR_ARCHIVE = 0x20;
    
        // extended file attribute encoding(others same as above)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

        }
    
        // SMB1 path: on error code 0x10B the handle should be marked closed
        @Test
        @DisplayName("watch() SMB1 marks handle closed on error 0x10B")
        void watch_smb1_marksClosed_onError10B() throws Exception {
            NotifyResponse resp = mock(NotifyResponse.class);
            when(resp.isReceived()).thenReturn(true);
            when(resp.getErrorCode()).thenReturn(0x10B);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                if (!resp.isReceived()) {
                    throw new CIFSException("Did not receive response");
                }
    
                if (resp.getErrorCode() == 0x10B) {
                    this.handle.markClosed();
                }
                if (resp.getErrorCode() == 0x10C) {
                    resp.getNotifyInformation().clear();
                }
                return resp.getNotifyInformation();
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java

         * Pending cancel flag - indicates cancel was pending at sender
         */
        int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */
        /**
         * Reserved flag for future use
         */
        int DCERPC_RESERVED_1 = 0x08;
        /**
         * Supports concurrent multiplexing flag
         */
        int DCERPC_CONC_MPX = 0x10; /* supports concurrent multiplexing */
        /**
         * Did not execute flag - indicates request was not executed
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                    ownerNodeType = (src[srcIndex + 16] & 0x60) >> 5;
                    isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true;
                    isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                    isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                    isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            int[] attributeFlags = { 0x01, // FILE_ATTRIBUTE_READONLY
                    0x02, // FILE_ATTRIBUTE_HIDDEN
                    0x04, // FILE_ATTRIBUTE_SYSTEM
                    0x10, // FILE_ATTRIBUTE_DIRECTORY
                    0x20, // FILE_ATTRIBUTE_ARCHIVE
                    0x80, // FILE_ATTRIBUTE_NORMAL
                    0x100, // FILE_ATTRIBUTE_TEMPORARY
                    0x21, // Combination: ARCHIVE | READONLY
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationTest.java

        private byte[] testResponseBuffer;
        private SmbNegotiation negotiation;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testRequestBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 };
            negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/MIENameTest.java

                    // Wrong TOK_ID
                    Arguments.of("wrong TOK_ID", new byte[] { 0x00, 0x02, 0x00, 0x01 }, IllegalArgumentException.class),
    
                    // OID length claims more than available
                    Arguments.of("oid length exceeds buffer", new byte[] { 0x04, 0x01, 0x00, 0x10, 0x06 }, IllegalArgumentException.class),
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            leaseContext = new LeaseV1CreateContextRequest(testKey, testState);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top