Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 248 for 0x41 (0.01 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

    class AvPairTest {
    
        @Test
        void testConstructorAndGetters() {
            // Test with a valid type and raw data
            int type = AvPair.MsvAvTimestamp;
            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            byte[] headerData = { (byte) 0x81, (byte) 0x00, (byte) 0x00, (byte) 0x44 };
            ByteArrayInputStream bais = new ByteArrayInputStream(headerData);
            byte[] buffer = new byte[10];
    
            int type = SessionServicePacket.readPacketType(bais, buffer, 0);
    
            assertEquals(0x81, type);
            assertEquals((byte) 0x81, buffer[0]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

        class ToStringTests {
    
            @ParameterizedTest
            @DisplayName("Should format command name correctly")
            @ValueSource(shorts = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11,
                    0x12 })
            void testToStringCommandNames(short command) {
                testMessage.setCommand(command);
                String result = testMessage.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. .github/workflows/people.yml

    name: FastAPI People
    
    on:
      schedule:
        - cron: "0 14 1 * *"
      workflow_dispatch:
        inputs:
          debug_enabled:
            description: Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)
            required: false
            default: "false"
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      job:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        permissions:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                context = new PreauthIntegrityNegotiateContext();
                byte[] buffer = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // Padding
                        0x01, 0x00, // 1 hash algo
                        0x02, 0x00, // 2 bytes salt
                        0x01, 0x00, // SHA512
                        (byte) 0xAA, (byte) 0xBB // Salt
                };
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Write READ response body
            int dataLength = 20;
            int dataRemaining = 0;
            int dataOffsetFromHeader = 80;
    
            // Structure size (17 = 0x11)
            SMBUtil.writeInt2(17, buffer, bodyStart);
            // Data offset (byte - offset from header start)
            buffer[bodyStart + 2] = (byte) dataOffsetFromHeader;
            // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

    class AvChannelBindingsTest {
    
        /**
         * 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

                dst[dstIndex] = (byte) 0x01;
            }
            dstIndex++;
            writeInt2(length, dst, dstIndex);
            return HEADER_LENGTH;
        }
    
        int readHeaderWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            type = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            length = ((buffer[bufferIndex] & 0x01) << 16) + readInt2(buffer, bufferIndex + 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java

            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
            isLoggedInAsGuest = ((buffer[bufferIndex] & 0x01) == 0x01) == true;
            bufferIndex += 2;
            if (extendedSecurity) {
                final int blobLength = readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                blob = new byte[blobLength];
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3);
    
        /** No flags set */
        int FLAGS_NONE = 0x00;
        /** Lock and read write and unlock flag */
        int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01;
        /** Receive buffer posted flag */
        int FLAGS_RECEIVE_BUFFER_POSTED = 0x02;
        /** Path names are caseless flag */
        int FLAGS_PATH_NAMES_CASELESS = 0x08;
        /** Path names canonicalized flag */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top