Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 65 for 0x00A80001 (0.11 seconds)

  1. src/main/java/jcifs/internal/witness/WitnessNotification.java

        /** Resource state is unknown */
        public static final int WITNESS_RESOURCE_STATE_UNKNOWN = 0x00000000;
        /** Resource is available for use */
        public static final int WITNESS_RESOURCE_STATE_AVAILABLE = 0x00000001;
        /** Resource is unavailable */
        public static final int WITNESS_RESOURCE_STATE_UNAVAILABLE = 0x000000FF;
    
        /**
         * Creates a new empty witness notification.
         */
        public WitnessNotification() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        private CIFSContext mockContext;
        private Smb2SessionSetupRequest request;
    
        // Test constants
        private static final int TEST_SECURITY_MODE = 0x01;
        private static final int TEST_CAPABILITIES = 0x00000001;
        private static final long TEST_PREVIOUS_SESSION_ID = 0x1234567890ABCDEFL;
        private static final byte[] TEST_TOKEN = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    
        @BeforeEach
        void setUp() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock.setErrorCode(0x00000001);
    
                String result = testBlock.toString();
    
                assertTrue(result.contains("command=SMB_COM_TREE_CONNECT_ANDX"));
                assertTrue(result.contains("errorCode="));
                // Should show non-zero error code
                assertTrue(result.contains("errorCode=0x00000001") || result.contains("errorCode=1"));
            }
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        /** Status indicating successful negotiation */
        public static final int STATUS_SUCCESS = 0x00000000;
        /** Status indicating SMB Direct is not supported */
        public static final int STATUS_NOT_SUPPORTED = 0x00000001;
        /** Status indicating insufficient resources for SMB Direct */
        public static final int STATUS_INSUFFICIENT_RESOURCES = 0x00000002;
    
        // Message fields
        private int minVersion;
        private int maxVersion;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            SMBUtil.writeInt4(status, buf, start + 8);
            // Command at +12
            SMBUtil.writeInt2(command, buf, start + 12);
            // Flags at +16: server-to-redirector
            SMBUtil.writeInt4(0x00000001, buf, start + 16);
            // SessionId at +40 (sync header)
            SMBUtil.writeInt8(sessionId, buf, start + 40);
        }
    
        /**
         * Build a SESSION_SETUP response body with specified flags and security blob.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

        }
    
        @Test
        @DisplayName("Test with various file attributes")
        void testVariousFileAttributes() {
            // Test common file attribute combinations
            int[] attributes = { 0x00000001, // FILE_ATTRIBUTE_READONLY
                    0x00000002, // FILE_ATTRIBUTE_HIDDEN
                    0x00000004, // FILE_ATTRIBUTE_SYSTEM
                    0x00000010, // FILE_ATTRIBUTE_DIRECTORY
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

        private static final byte[] CONTEXT_NAME_BYTES = NAME_DIRECTORY_REQUEST.getBytes();
    
        /**
         * Directory lease flag for recursive caching
         */
        public static final int DIRECTORY_LEASE_FLAG_RECURSIVE = 0x00000001;
    
        /**
         * Directory lease flag for enabling notifications
         */
        public static final int DIRECTORY_LEASE_FLAG_NOTIFICATIONS = 0x00000002;
    
        private Smb2LeaseKey leaseKey;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertTrue(str.contains("remark=null"));
            assertTrue(str.endsWith("]"));
        }
    
        @ParameterizedTest
        @DisplayName("Test toString with various type values")
        @ValueSource(ints = { 0x00000000, 0x00000001, 0x00000003, 0x80000000, 0x80000001, 0xFFFFFFFF })
        void testToStringWithVariousTypes(int type) {
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, type, TEST_REMARK);
            String str = info.toString();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // Write Command = SMB2_IOCTL (0x000B) at offset 12
            SMBUtil.writeInt2(0x000B, hdr, 12);
            // Mark as server response to be realistic (optional)
            SMBUtil.writeInt4(0x00000001, hdr, 16); // Flags = SMB2_FLAGS_SERVER_TO_REDIR
            return hdr;
        }
    
        // Helper: build SMB2 IOCTL response body (without header) with structureSize=49
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // Then
            assertEquals(16, bytesRead);
            assertEquals(wireData.length, bytesRead);
            assertEquals((byte) 0x01, response.getShareType());
            assertEquals(0x00000001, response.getShareFlags());
            assertEquals(0x00000008, response.getCapabilities());
            assertEquals(0x001F01FF, response.getMaximalAccess());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
Back to Top