Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 118 for 0x46 (0.47 sec)

  1. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Then
            assertEquals(52, encoded);
    
            // Verify protocol ID (first 4 bytes) - 0xFD534D42 in little-endian
            assertEquals((byte) 0x42, buffer[0]);
            assertEquals((byte) 0x4D, buffer[1]);
            assertEquals((byte) 0x53, buffer[2]);
            assertEquals((byte) 0xFD, buffer[3]);
        }
    
        @Test
        @DisplayName("Should decode transform header from byte buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

        override val rangeStart: Int,
        val codepointDelta: Int,
      ) : MappedRange {
        private val absoluteDelta = abs(codepointDelta)
    
        val b1: Int
          get() =
            when {
              codepointDelta < 0 -> 0x40 or (absoluteDelta shr 14)
              codepointDelta > 0 -> 0x50 or (absoluteDelta shr 14)
              else -> error("Unexpected codepointDelta of 0")
            }
    
        val b2: Int
          get() = absoluteDelta shr 7 and 0x7f
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            // Write with offset and length
            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]);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x10, SmbConstants.FLAGS_PATH_NAMES_CANONICALIZED);
            assertEquals(0x20, SmbConstants.FLAGS_OPLOCK_REQUESTED_OR_GRANTED);
            assertEquals(0x40, SmbConstants.FLAGS_NOTIFY_OF_MODIFY_ACTION);
            assertEquals(0x80, SmbConstants.FLAGS_RESPONSE);
        }
    
        @Test
        @DisplayName("Should define SMB flags2 constants")
        void testSmbFlags2() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java

         * Did not execute flag - indicates request was not executed
         */
        int DCERPC_DID_NOT_EXECUTE = 0x20;
        /**
         * Maybe flag - indicates 'maybe' call semantics requested
         */
        int DCERPC_MAYBE = 0x40; /* `maybe' call semantics requested */
        /**
         * Object UUID flag - if true, a non-nil object UUID is present
         */
        int DCERPC_OBJECT_UUID = 0x80; /* if true, a non-nil object UUID */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

            assertEquals(Smb2LeaseState.SMB2_LEASE_FULL, fullLease);
        }
    
        @Test
        @DisplayName("Should handle custom state combinations")
        void testCustomStateCombinations() {
            int customState = 0x06; // Write + Handle but no Read
    
            assertFalse(Smb2LeaseState.hasReadCaching(customState));
            assertTrue(Smb2LeaseState.hasWriteCaching(customState));
            assertTrue(Smb2LeaseState.hasHandleCaching(customState));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final int SMB2_GLOBAL_CAP_DIRECTORY_LEASING = 0x20;
    
        /**
         * Server supports SMB3 encryption
         */
        public static final int SMB2_GLOBAL_CAP_ENCRYPTION = 0x40;
    
        /**
         * File information class
         */
        public static final byte SMB2_0_INFO_FILE = 1;
    
        /**
         * Filesystem information class
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top