Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 109 for 0x48 (0.81 sec)

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

            }
    
            @Test
            @DisplayName("Test command property")
            void testCommandProperty() {
                testBlock.setCommand(0x42);
                assertEquals(0x42, testBlock.getCommand());
            }
    
            @Test
            @DisplayName("Test flags property")
            void testFlagsProperty() {
                testBlock.setFlags((byte) 0x12);
    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/ntlmssp/Type2MessageTest.java

                Type2Message message = new Type2Message(mockContext);
                byte[] testContext =
                        new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
    
                // When
                message.setContext(testContext);
    
                // Then
                assertArrayEquals(testContext, message.getContext());
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

        void testEncodeWithAndxBatchingEnabled() {
            when(mockConfig.isUseBatching()).thenReturn(true);
            when(mockAndxCommand.getCommand()).thenReturn(0x42);
    
            TestAndXServerMessageBlock andxBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x42);
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25, andxBlock);
            testBlock.batchLevel = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            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);
            assertEquals(0xC853, serverData.sflags2);
            assertEquals(50, serverData.smaxMpxCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor() {
            byte[] customData = new byte[8];
            customData[0] = 0x01;
            customData[7] = 0x08;
    
            byte[] machineId = new byte[32];
            machineId[0] = 0x10;
            machineId[31] = 0x20;
    
            AvSingleHost avSingleHost = new AvSingleHost(customData, machineId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/DES.java

            }
    
            return clearText;
        }
    
        // Tables, permutations, S-boxes, etc.
    
        private static byte[] bytebit =
                { (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x10, (byte) 0x08, (byte) 0x04, (byte) 0x02, (byte) 0x01 };
        private static int[] bigbyte = { 0x800000, 0x400000, 0x200000, 0x100000, 0x080000, 0x040000, 0x020000, 0x010000, 0x008000, 0x004000,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                  val index = readInt(b, PREFIX_7_BITS)
                  readIndexedHeader(index - 1)
                }
                b == 0x40 -> {
                  // 01000000
                  readLiteralHeaderWithIncrementalIndexingNewName()
                }
                b and 0x40 == 0x40 -> {
                  // 01NNNNNN
                  val index = readInt(b, PREFIX_6_BITS)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x08, SmbConstants.ATTR_VOLUME);
            assertEquals(0x10, SmbConstants.ATTR_DIRECTORY);
        }
    
        /**
         * Test FLAGS constants.
         */
        @Test
        @DisplayName("FLAGS constants are correct")
        void flagsTest() {
            assertEquals(0x00, SmbConstants.FLAGS_NONE);
            assertEquals(0x08, SmbConstants.FLAGS_PATH_NAMES_CASELESS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NodeStatusResponse.java

                ownerNodeType = (src[srcIndex + 16] & 0x60) >> 5;
                isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true;
                isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    
                /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SmbNegotiationTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testRequestBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 };
            negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer);
        }
    
        @Test
        @DisplayName("Constructor should properly initialize all fields")
    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