Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 79 of 79 for 0x00400000 (0.04 seconds)

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

        /* Don't bother to edit this. Everthing within the interface
         * block is automatically generated from the ntstatus package.
         */
    
        /** The operation completed successfully */
        int NT_STATUS_SUCCESS = 0x00000000;
        /** The requested operation was unsuccessful */
        int NT_STATUS_UNSUCCESSFUL = 0xC0000001;
        /** The requested operation is not implemented */
        int NT_STATUS_NOT_IMPLEMENTED = 0xC0000002;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        @DisplayName("Test readDataWireFormat with single share")
        void testReadDataWireFormatSingleShare() throws Exception {
            // Prepare test data
            String shareName = "SHARE1";
            int shareType = 0x00000000; // Disk share
            String remark = "Test share";
    
            // Calculate buffer size
            int shareNameSize = 14; // 13 bytes + null terminator (fixed field)
            int typeSize = 2;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

         */
        private static byte[] buildSmb2Header() {
            byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length);
            // Mark as server->client response for realism
            SMBUtil.writeInt4(0x00000001, header, 16); // Flags
            // Command SMB2_CREATE (0x0005)
            SMBUtil.writeInt2(0x0005, header, 12);
            // Some message id
            SMBUtil.writeInt8(1L, header, 24);
            return header;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SIDCacheImpl.java

                    final SamrPolicyHandle policyHandle = new SamrPolicyHandle(handle, authorityServerName, 0x00000030);
                    final SamrDomainHandle domainHandle = new SamrDomainHandle(handle, policyHandle, 0x00000200, domsid.unwrap(sid_t.class));
                    try (SamrAliasHandle aliasHandle = new SamrAliasHandle(handle, domainHandle, 0x0002000c, rid)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test file attributes setter")
        void testSetFileAttributes() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            int attributes = 0x00000020; // FILE_ATTRIBUTE_ARCHIVE
            request.setFileAttributes(attributes);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        int flags2 = FLAGS2;
        int maxMpxCount = MAX_MPX_COUNT;
        int snd_buf_size = SND_BUF_SIZE;
        int rcv_buf_size = RCV_BUF_SIZE;
        int capabilities = CAPABILITIES;
        int sessionKey = 0x00000000;
        boolean useUnicode = USE_UNICODE;
        String tconHostName = null;
    
        SmbTransport(final UniAddress address, final int port, final InetAddress localAddr, final int localPort) {
            this.address = address;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(null, storedFileId);
        }
    
        @Test
        @DisplayName("setCloseFlags should update close flags")
        void testSetCloseFlags() throws Exception {
            int testFlags = 0x00000001; // SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB
            request.setCloseFlags(testFlags);
    
            Field closeFlagsField = Smb2CloseRequest.class.getDeclaredField("closeFlags");
            closeFlagsField.setAccessible(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  8. docs/smb3-features/02-persistent-handles-design.md

            this.value = value;
        }
    }
    ```
    
    ### 3.2 Handle Capabilities
    ```java
    public class Smb2HandleCapabilities {
        // Durable handle flags
        public static final int SMB2_DHANDLE_FLAG_PERSISTENT = 0x00000002;
        
        // Timeout values (milliseconds)
        public static final long DEFAULT_DURABLE_TIMEOUT = 120000;  // 2 minutes
        public static final long MAX_DURABLE_TIMEOUT = 300000;      // 5 minutes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

                    handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\samr]", auth);
                    policyHandle = new SamrPolicyHandle(handle, authorityServerName, 0x00000030);
                    domainHandle = new SamrDomainHandle(handle, policyHandle, 0x00000200, domsid);
                    return SID.getGroupMemberSids0(handle, domainHandle, domsid, getRid(), flags);
                } finally {
                    if (handle != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
Back to Top