Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 186 for 0x15 (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertEquals(0x25, testBlock.getCommand());
                assertNull(testBlock.getPath());
            }
    
            @Test
            @DisplayName("Test constructor with config, command, and path")
            void testConstructorWithPath() {
                testBlock = new TestServerMessageBlock(mockConfig, (byte) 0x25, "\\test\\path");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            request = new Smb2QueryInfoRequest(mockConfig);
    
            // Initially set a different info type
            request.setInfoType((byte) 0x05);
    
            // Call setFileInfoClass which should override info type
            request.setFileInfoClass((byte) 0x10);
    
            try {
                Field infoTypeField = Smb2QueryInfoRequest.class.getDeclaredField("infoType");
                infoTypeField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        private byte[] testMacSigningKey;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testMacSigningKey = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key and bypass flag")
        void testConstructorWithBypass() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            assertEquals((byte) 0x02, SmbComTransaction.TRANS2_FIND_NEXT2);
            assertEquals((byte) 0x03, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
            assertEquals((byte) 0x05, SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION);
            assertEquals((byte) 0x10, SmbComTransaction.TRANS2_GET_DFS_REFERRAL);
            assertEquals((byte) 0x08, SmbComTransaction.TRANS2_SET_FILE_INFORMATION);
    
            // Test NET subcommands
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[0] = 0x01; // Deny ACE (non-zero)
            testBuffer[1] = 0x10; // FLAGS_INHERITED
            testBuffer[2] = 0x24; // Size low byte (36)
            testBuffer[3] = 0x00; // Size high byte
            testBuffer[4] = (byte) 0xFF; // Access mask byte 0
            testBuffer[5] = 0x01; // Access mask byte 1
            testBuffer[6] = 0x1F; // Access mask byte 2
            testBuffer[7] = 0x00; // Access mask byte 3
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.serverTime = System.currentTimeMillis();
            serverData.serverTimeZone = -480; // PST
            serverData.encryptionKeyLength = 8;
            serverData.encryptionKey = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88 };
            serverData.guid = new byte[16];
    
            // Then - verify all values are set correctly
            assertEquals((byte) 0x98, serverData.sflags);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

        static final byte TRANS2_FIND_NEXT2 = (byte) 0x02;
        static final byte TRANS2_QUERY_FS_INFORMATION = (byte) 0x03;
        static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05;
        static final byte TRANS2_GET_DFS_REFERRAL = (byte) 0x10;
        static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08;
    
        static final int NET_SHARE_ENUM = 0x0000;
        static final int NET_SERVER_ENUM2 = 0x0068;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashCodeTest.java

                    (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01
                  },
                  0x89abcdef,
                  0x0123456789abcdefL,
                  "efcdab8967452301"),
              new ExpectedHashCode(
                  new byte[] {
                    (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x89,
                    (byte) 0x67, (byte) 0x45, (byte) 0x23,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            request.writeBytesWireFormat(buffer, 0);
    
            // Then
            int readFilter = SMBUtil.readInt4(buffer, 24);
            assertEquals(combinedFilter, readFilter);
            assertEquals(0x1F, readFilter); // 1 + 2 + 4 + 8 + 16 = 31 = 0x1F
        }
    
        @Test
        @DisplayName("Should handle all file change notifications")
        void testAllFileChangeNotifications() {
            // Given - all possible filters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            }
    
            @Test
            @DisplayName("Should have correct fail immediately flag value")
            void testFailImmediatelyFlag() {
                assertEquals(0x10, Smb2Lock.SMB2_LOCKFLAG_FAIL_IMMEDIATELY);
            }
    
            @Test
            @DisplayName("Should allow flag combinations")
            void testFlagCombinations() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top