Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 87 of 87 for 0x00000020 (0.07 sec)

  1. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        void testGetAttributes() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
            int expectedAttributes = 0x00000021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE
            SMBUtil.writeInt4(expectedAttributes, buffer, 56);
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (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;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  6. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. docs/smb3-features/03-multi-channel-design.md

        private boolean rssCapable;  // Receive Side Scaling
        private boolean rdmaCapable;
        
        // Capability flags
        public static final int NETWORK_INTERFACE_CAP_RSS = 0x00000001;
        public static final int NETWORK_INTERFACE_CAP_RDMA = 0x00000002;
        
        public NetworkInterfaceInfo(InetAddress address, int linkSpeed) {
            this.address = address;
            this.linkSpeed = linkSpeed;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top