Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for 0x40 (2 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            void testDcerpcMaybe() {
                assertEquals(0x40, DcerpcConstants.DCERPC_MAYBE, "DCERPC_MAYBE should be 0x40");
            }
    
            @Test
            @DisplayName("DCERPC_OBJECT_UUID should have correct value")
            void testDcerpcObjectUuid() {
                assertEquals(0x80, DcerpcConstants.DCERPC_OBJECT_UUID, "DCERPC_OBJECT_UUID should be 0x80");
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x02, SmbConstants.TYPE_WORKGROUP);
            assertEquals(0x04, SmbConstants.TYPE_SERVER);
            assertEquals(0x08, SmbConstants.TYPE_SHARE);
            assertEquals(0x10, SmbConstants.TYPE_NAMED_PIPE);
            assertEquals(0x20, SmbConstants.TYPE_PRINTER);
            assertEquals(0x40, SmbConstants.TYPE_COMM);
        }
    
        @Test
        @DisplayName("Should define open flags constants")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Encryption capability should be 0x40")
            void testGlobalCapEncryption() {
                assertEquals(0x40, Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION, "Encryption capability must be 0x40");
            }
    
            @Test
            @DisplayName("All capability flags should be unique powers of 2")
            void testCapabilityFlagsUnique() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbConstants.java

         */
        int FLAGS_PATH_NAMES_CANONICALIZED = 0x10;
        /**
         * Opportunistic lock requested or granted flag.
         */
        int FLAGS_OPLOCK_REQUESTED_OR_GRANTED = 0x20;
        /**
         * Notify client of any action which modified the file flag.
         */
        int FLAGS_NOTIFY_OF_MODIFY_ACTION = 0x40;
        /**
         * Message is a response from server flag.
         */
        int FLAGS_RESPONSE = 0x80;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

         * Context flag for delegation capability
         */
        public static final int DELEGATION = 0x80;
        /**
         * Context flag for mutual authentication requirement
         */
        public static final int MUTUAL_AUTHENTICATION = 0x40;
        /**
         * Context flag for replay detection capability
         */
        public static final int REPLAY_DETECTION = 0x20;
        /**
         * Context flag for sequence checking capability
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // Put data at offset 0x20
            SMBUtil.writeInt2(0, ctx, ci); // Reserved
            SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset
            ci += 4;
            SMBUtil.writeInt4(8, ctx, ci); // DataLength
            ci += 4;
            // Name bytes at 0x10
            byte[] name = new byte[] { 'T', 'E', 'S', 'T' };
            System.arraycopy(name, 0, ctx, 0x10, name.length);
            // Data bytes at 0x20
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16)
                    0x01, // ShareType (DISK)
                    0x00, // Reserved
                    0x01, 0x00, 0x00, 0x00, // ShareFlags
                    0x08, 0x00, 0x00, 0x00, // Capabilities
                    (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess
            };
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertEquals(0x4, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_ATTRIBUTES);
            assertEquals(0x8, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_SIZE);
            assertEquals(0x10, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_LAST_WRITE);
            assertEquals(0x20, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_LAST_ACCESS);
            assertEquals(0x40, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_CREATION);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationTest.java

            SmbNegotiationResponse anotherResponse = mock(SmbNegotiationResponse.class);
            byte[] anotherRequestBuffer = new byte[] { 0x10, 0x20 };
            byte[] anotherResponseBuffer = new byte[] { 0x30, 0x40 };
    
            SmbNegotiation anotherNegotiation =
                    new SmbNegotiation(anotherRequest, anotherResponse, anotherRequestBuffer, anotherResponseBuffer);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            buffer[bufferIndex++] = 0;
            // maxBufferSize
            buffer[bufferIndex++] = (byte) 0x00;
            buffer[bufferIndex++] = (byte) 0x40;
            buffer[bufferIndex++] = 0;
            buffer[bufferIndex++] = 0;
            // maxRawSize
            buffer[bufferIndex++] = (byte) 0x00;
            buffer[bufferIndex++] = (byte) 0x10;
            buffer[bufferIndex++] = 0;
            buffer[bufferIndex++] = 0;
            // sessionKey
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top