Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 87 for 0x40000000 (1.91 sec)

  1. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

            assertThrows(IllegalArgumentException.class, () -> {
                HandleType.fromValue(99);
            });
        }
    
        @Test
        public void testHandleCapabilities() {
            assertEquals(0x00000002, Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT);
            assertEquals(120000, Smb2HandleCapabilities.DEFAULT_DURABLE_TIMEOUT);
            assertEquals(300000, Smb2HandleCapabilities.MAX_DURABLE_TIMEOUT);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbException.java

                message = "0x" + Hexdump.toHexString(errcode, 8);
            }
            return message;
        }
    
        static int getStatusByCode(final int errcode) {
            int statusCode;
            if ((errcode & 0xC0000000) != 0) {
                statusCode = errcode;
            } else if (dosErrorCodeStatuses.containsKey(errcode)) {
                statusCode = dosErrorCodeStatuses.get(errcode);
            } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

         *         value and the corresponding little-endian byte array.
         */
        static java.util.stream.Stream<Arguments> int32Provider() {
            return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }),
                    Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }),
                    Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. 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.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/UUIDTest.java

                String boundaryUuid = "80000000-8000-8000-8080-808080808080";
    
                // Act
                UUID uuid = new UUID(boundaryUuid);
    
                // Assert
                assertEquals(0x80000000, uuid.time_low);
                assertEquals((short) 0x8000, uuid.time_mid);
                assertEquals((short) 0x8000, uuid.time_hi_and_version);
                assertEquals((byte) 0x80, uuid.clock_seq_hi_and_reserved);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtStatus.java

        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
        int NT_STATUS_INVALID_PARAMETER = 0xC000000d;
        /** The system cannot find the device specified */
        int NT_STATUS_NO_SUCH_DEVICE = 0xC000000e;
        /** The system cannot find the file specified */
        int NT_STATUS_NO_SUCH_FILE = 0xC000000f;
        /** More processing is required to complete this request */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. 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
    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. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  10. 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)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top