Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for 0_07 (0.7 sec)

  1. 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)
  2. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.setIndex(10);
            byte[] partialData = { 0x05, 0x06, 0x07, 0x08, 0x09 };
            ndrBuffer.writeOctetArray(partialData, 1, 3); // Write 0x06, 0x07, 0x08
    
            assertEquals(13, ndrBuffer.getIndex());
            assertEquals(13, ndrBuffer.getLength());
            assertEquals(0x06, buffer[10]);
            assertEquals(0x07, buffer[11]);
            assertEquals(0x08, buffer[12]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

         * Read and Write caching (RW)
         */
        public static final int SMB2_LEASE_READ_WRITE = 0x05;
    
        /**
         * Full caching - Read, Write and Handle (RWH)
         */
        public static final int SMB2_LEASE_FULL = 0x07;
    
        private Smb2LeaseState() {
            // Utility class
        }
    
        /**
         * Check if state has read caching
         * @param state lease state
         * @return true if read caching is enabled
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.idl

    			[out] policy_handle *handle);
    
    	[op(0x3e)]
    	int SamrConnect4([in,string,unique] wchar_t *system_name,
    			[in] uint32_t unknown,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x07)]
    	int SamrOpenDomain([in] policy_handle *handle,
    			[in] uint32_t access_mask,
    			[in] sid_t *sid,
    			[out] policy_handle *domain_handle);
    
    	typedef struct {
    		uint32_t idx;
    		unicode_string name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

        /**
         * Test that the constructor correctly initializes with a valid channel binding hash.
         */
        @Test
        void testConstructorWithValidHash() {
            byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            AvChannelBindings avChannelBindings = new AvChannelBindings(testHash);
    
            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

            assertEquals(0x04, Smb2LeaseState.SMB2_LEASE_WRITE_CACHING);
            assertEquals(0x03, Smb2LeaseState.SMB2_LEASE_READ_HANDLE);
            assertEquals(0x05, Smb2LeaseState.SMB2_LEASE_READ_WRITE);
            assertEquals(0x07, Smb2LeaseState.SMB2_LEASE_FULL);
        }
    
        @Test
        @DisplayName("Should detect read caching correctly")
        void testHasReadCaching() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    			[out] policy_handle *handle);
    
    	[op(0x3e)]
    	int SamrConnect4([in,string,unique] wchar_t *system_name,
    			[in] uint32_t unknown,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x07)]
    	int SamrOpenDomain([in] policy_handle *handle,
    			[in] uint32_t access_mask,
    			[in] sid_t *sid,
    			[out] policy_handle *domain_handle);
    
    	typedef struct {
    		uint32_t idx;
    		unicode_string name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacMacTest.java

            assertEquals(outlen, expanded.length);
    
            // Test vectors from RFC 3961 Appendix A.1
            // 64-fold("012345")
            verifyNfold("012345", 8,
                    new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 });
    
            // 56-fold("password")
            verifyNfold("password", 7,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Act
            int opnum = queryPolicy.getOpnum();
    
            // Assert
            assertEquals(0x07, opnum); // Expected opnum for LsarQueryInformationPolicy
        }
    
        @Test
        void multipleInstances_shouldBeIndependent() {
            // Arrange
            short level1 = 1;
            short level2 = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/rpcTest.java

                when(mockNdrBuffer.dec_ndr_small()).thenReturn((int) (byte) 0x55, (int) (byte) 0x66, // clock seq bytes
                        (int) (byte) 0x07, (int) (byte) 0x08, (int) (byte) 0x09, (int) (byte) 0x0A, (int) (byte) 0x0B, (int) (byte) 0x0C // node bytes
                );
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top