Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 114 for 0x00FF (0.15 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(req);
            assertEquals(0x0001, command); // SMB2_SESSION_SETUP command value
    
            Field securityModeField = Smb2SessionSetupRequest.class.getDeclaredField("securityMode");
            securityModeField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Bit 2: active (1)
            // Bit 1: permanent (1)
    
            // MAC address
            byte[] testMac = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
            System.arraycopy(testMac, 0, src, srcIndex + 19, 6);
    
            // Statistics
            byte[] stats = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
            System.arraycopy(stats, 0, src, srcIndex + 25, 6);
    
            response.readRDataWireFormat(src, srcIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

    @DisplayName("Smb2LeaseState Tests")
    class Smb2LeaseStateTest {
    
        @Test
        @DisplayName("Should define correct lease state constants")
        void testLeaseStateConstants() {
            assertEquals(0x00, Smb2LeaseState.SMB2_LEASE_NONE);
            assertEquals(0x01, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
            assertEquals(0x02, Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            expected[0] = 0x04; // Buffer format
            System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length());
            expected[directoryName.length() + 1] = 0x00; // Null terminator
    
            byte[] dst = new byte[100];
            int bytesWritten = smbCom.writeBytesWireFormat(dst, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should handle ciphers with maximum value")
            void testMaximumCipherValues() throws SMBProtocolDecodingException {
                int[] ciphers = { 0xFFFF, 0x0000, 0x7FFF };
                EncryptionNegotiateContext originalContext = new EncryptionNegotiateContext(mockConfig, ciphers);
    
                int encoded = originalContext.encode(buffer, 0);
    
    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/01-smb3-lease-design.md

    import jcifs.internal.smb2.ServerMessageBlock2;
    
    public class Smb2LeaseBreakNotification extends ServerMessageBlock2 {
        // Command code for lease break
        public static final int SMB2_OPLOCK_BREAK = 0x0012;
        
        private int structureSize;
        private int flags;
        private Smb2LeaseKey leaseKey;
        private int currentLeaseState;
        private int newLeaseState;
        private int breakReason;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Encdec.java

            final int start = di;
            int ch;
            final int strlen = str.length();
    
            for (int i = 0; di < dlim && i < strlen; i++) {
                ch = str.charAt(i);
                if (ch >= 0x0001 && ch <= 0x007F) {
                    dst[di] = (byte) ch;
                    di++;
                } else {
                    if (ch > 0x07FF) {
                        if (dlim - di < 3) {
                            break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

        class HexConversionTests {
    
            @Test
            @DisplayName("Various byte values are converted to uppercase hex")
            void testHexConversion() {
                byte[] challenge = new byte[] { (byte) 0x00, (byte) 0x0F, (byte) 0x10, (byte) 0x7F, (byte) 0x80, (byte) 0xFF };
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("DC");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/SessionServicePacket.java

         * Creates a new session service packet instance.
         */
        public SessionServicePacket() {
            // Default constructor
        }
    
        // session service packet types
        static final int SESSION_MESSAGE = 0x00;
        static final int SESSION_REQUEST = 0x81;
    
        /**
         * NetBIOS positive session response packet type.
         */
        public static final int POSITIVE_SESSION_RESPONSE = 0x82;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top