Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 159 for reserved2 (0.74 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        public static final int STATUS_INSUFFICIENT_RESOURCES = 0x00000002;
    
        // Message fields
        private int minVersion;
        private int maxVersion;
        private int negotiatedVersion;
        private int reserved = 0;
        private int creditsGranted;
        private int creditsRequested;
        private int status = STATUS_SUCCESS;
        private int maxReadWriteSize;
        private int preferredSendSize;
        private int maxReceiveSize;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            ByteBuffer bb = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
            bb.putShort((short) fid);
            bb.put((byte) 0x00); // Reserved
            bb.put((byte) 0x00); // Reserved
            bb.putInt(securityInformation);
            return bb.array();
        }
    
        /**
         * Provide a range of values that are valid for the constructor.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

            final int start = bufferIndex;
    
            bufferIndex += 2; // reserved
            dataCompactionMode = readInt2(buffer, bufferIndex);
            bufferIndex += 4; // 2 reserved
            dataLength = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

         * @return the standard lease context size
         */
        protected int getStandardLeaseSize() {
            // Standard lease V2 size: LeaseKey(16) + LeaseState(4) + Flags(4) + reserved fields
            return 32;
        }
    
        @Override
        public int size() {
            // Context header: 16 bytes
            // Name: 4 bytes ("DLse")
            // Padding: 4 bytes (to align data to 8-byte boundary)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            // Offset 7: Reserved (1 byte)
            assertEquals(8, bytesWritten);
    
            // Check completion filter
            assertEquals(0x12345678, SMBUtil.readInt4(dst, 10));
    
            // Check FID
            assertEquals(0xABCD, SMBUtil.readInt2(dst, 14));
    
            // Check watch tree flag
            assertEquals(0x01, dst[16]);
    
            // Check reserved byte is zero
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                // The implementation skips 4 reserved bytes without writing zeros
                // This is consistent with the actual implementation behavior
                // The reserved bytes remain as they were in the buffer
                for (int i = 0; i < 4; i++) {
                    assertEquals((byte) 0xFF, buffer[startIndex + SOURCE_KEY_SIZE + 4 + i],
                            "Reserved byte at position " + i + " should remain unchanged");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            byte[] nameBytes = originalFileName.getBytes(StandardCharsets.UTF_16LE);
    
            byte[] buffer = new byte[100];
            buffer[0] = 1; // replaceIfExists = true
            // Skip 7 reserved bytes (1-7)
            // Skip 8 bytes for RootDirectory (8-15)
            SMBUtil.writeInt4(nameBytes.length, buffer, 16);
            System.arraycopy(nameBytes, 0, buffer, 20, nameBytes.length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * signing and sealing authenticated communication.
         */
        int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080;
    
        /**
         * ??? According to spec this is a reserved bit and must be set to zero
         */
        int NTLMSSP_NEGOTIATE_NETWARE = 0x00000100;
    
        /**
         * Indicates support for NTLM authentication.
         */
        int NTLMSSP_NEGOTIATE_NTLM = 0x00000200;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            // Arrange & Act
            SMBProtocolDecodingException ex = new SMBProtocolDecodingException(message);
    
            // Assert message and cause
            assertEquals(message, ex.getMessage(), "Message should be preserved as provided");
            assertNull(ex.getCause(), "Cause should be null when only message is provided");
    
            // toString should include the class name and (if non-null) the message
            String ts = ex.toString();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            SMBUtil.writeInt2(4, buffer, 0);
            // Write reserved field (any value is acceptable)
            buffer[2] = (byte) byte2;
            buffer[3] = (byte) byte3;
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then - should still read 4 bytes regardless of reserved field value
            assertEquals(4, bytesRead);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top