Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for 0x2000 (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x0001, SmbConstants.FLAGS2_LONG_FILENAMES);
            assertEquals(0x0002, SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES);
            assertEquals(0x0800, SmbConstants.FLAGS2_EXTENDED_SECURITY_NEGOTIATION);
            assertEquals(0x0004, SmbConstants.FLAGS2_SECURITY_SIGNATURES);
            assertEquals(0x4000, SmbConstants.FLAGS2_STATUS32);
            assertEquals(0x8000, SmbConstants.FLAGS2_UNICODE);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer");
        }
    
        @Test
        public void testToStringContainsCount() {
            // Little-endian: count = 512 (0x0200)
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x02; // count = 512 in little-endian
            resp.readParameterWordsWireFormat(buf, 0);
            String str = resp.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

        static final int SHARING_COMPATIBILITY = 0x00;
        static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10;
        static final int SHARING_DENY_WRITE = 0x20;
        static final int SHARING_DENY_READ_EXECUTE = 0x30;
        static final int SHARING_DENY_NONE = 0x40;
    
        static final int DO_NOT_CACHE = 0x1000; // bit 12
        static final int WRITE_THROUGH = 0x4000; // bit 14
    
        static final int OPEN_FN_CREATE = 0x10;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(0x00, dst[dstIndex + 2]);
            assertEquals(0x00, dst[dstIndex + 3]);
    
            // Verify security information (4 bytes)
            assertEquals(securityInfo, SMBUtil.readInt4(dst, dstIndex + 4));
        }
    
        @ParameterizedTest
        @DisplayName("Test writeParametersWireFormat with various FID values")
        @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        private static final int SHARING_COMPATIBILITY = 0x00;
        private static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10;
        private static final int SHARING_DENY_WRITE = 0x20;
        private static final int SHARING_DENY_READ_EXECUTE = 0x30;
        private static final int SHARING_DENY_NONE = 0x40;
    
        private static final int DO_NOT_CACHE = 0x1000; // bit 12
        private static final int WRITE_THROUGH = 0x4000; // bit 14
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.idl

    	version(3.0)
    ]
    interface netdfs
    {
    	import "../rpc.idl";
    
    	const uint32_t DFS_VOLUME_FLAVOR_STANDALONE = 0x100;
    	const uint32_t DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
    
    	const uint32_t DFS_STORAGE_STATE_OFFLINE = 0x0001;
    	const uint32_t DFS_STORAGE_STATE_ONLINE = 0x0002;
    	const uint32_t DFS_STORAGE_STATE_ACTIVE = 0x0004;
    
    	typedef struct {
    		[string] wchar_t *entry_path;
    	} DfsInfo1;
    
    	typedef struct {
    		uint32_t count;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertEquals(0x20, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_LAST_ACCESS);
            assertEquals(0x40, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_CREATION);
            assertEquals(0x80, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_EA);
            assertEquals(0x100, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_SECURITY);
            assertEquals(0x200, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_STREAM_NAME);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            // Hexdump.toHexString uses uppercase and produces only the specified width
            // Note: completionFilter is displayed with 4 hex chars, not 8
            assertTrue(result.contains("fid=0x0000"));
            assertTrue(result.contains("filter=0x0000")); // Only 4 hex chars are shown
            assertTrue(result.contains("watchTree=false"));
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat preserves other buffer content")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        void testConstructorWithConfigOnly() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            assertNotNull(request);
            // SMB2_QUERY_INFO command value is 0x0010
            assertEquals((short) 0x0010, request.getCommand());
    
            // Verify that default file ID is set
            byte[] expectedFileId = Smb2Constants.UNSPECIFIED_FILEID;
            Field fileIdField;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // Since FLAGS2_RESOLVE_PATHS_IN_DFS is 0x1000, when cast to byte it becomes 0
                // Therefore the method will always return false unless flags has all 0x00 bits set
                // This test verifies actual behavior
                testBlock.setFlags((byte) 0x00);
                assertFalse(testBlock.isResolveInDfs());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top