Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 232 for 0x91 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            buf[bodyStart + 2] = 0x02; // errorContextCount
            buf[bodyStart + 3] = 0x00; // reserved
            int bc = 4;
            SMBUtil.writeInt4(bc, buf, bodyStart + 4);
            byte[] err = new byte[] { 0x55, 0x66, 0x77, 0x01 };
            System.arraycopy(err, 0, buf, bodyStart + 8, bc);
    
            int decoded = resp.decode(buf, headerStart);
            assertTrue(decoded > 0);
    
            // When error path is taken, no blob should be parsed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            smb.mid = 123;
            smb.pid = 456;
            smb.tid = 789;
            smb.uid = 101;
            smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            smb.useUnicode = true;
    
            byte[] params = { 0x01, 0x02, 0x03, 0x04 };
            byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F };
            smb.setParamWords(params);
            smb.setBytes(bytes);
    
            byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. docs/features/events.md

    0.000 callStart
    0.010 dnsStart
    0.017 dnsEnd
    0.025 connectStart
    0.117 secureConnectStart
    0.586 secureConnectEnd
    0.586 connectEnd
    0.587 connectionAcquired
    0.588 requestHeadersStart
    0.590 requestHeadersEnd
    0.591 responseHeadersStart
    0.675 responseHeadersEnd
    0.676 responseBodyStart
    0.679 responseBodyEnd
    0.679 connectionReleased
    0.680 callEnd
    REQUEST 2 (pooled connection)
    0.000 callStart
    0.001 connectionAcquired
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            assertTrue(result.contains("filename=\\test\\path\\"));
        }
    
        @Test
        @DisplayName("Test constants values")
        void testConstants() {
            // Test flag constants
            assertEquals(0x01, Trans2FindFirst2.FLAGS_CLOSE_AFTER_THIS_REQUEST);
            assertEquals(0x02, Trans2FindFirst2.FLAGS_CLOSE_IF_END_REACHED);
            assertEquals(0x04, Trans2FindFirst2.FLAGS_RETURN_RESUME_KEYS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertByteArrayEquals(
            new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19},
            Longs.toByteArray(0x1213141516171819L));
        assertByteArrayEquals(
            new byte[] {
              (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC,
              (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88
            },
            Longs.toByteArray(0xFFEEDDCCBBAA9988L));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        void testHaveCapability() throws Exception {
            // Given
            setPrivateField(response, "commonCapabilities", 0x2F); // 0010 1111
    
            // Then
            assertTrue(response.haveCapabilitiy(0x01)); // Has this bit
            assertTrue(response.haveCapabilitiy(0x0F)); // Has all these bits
            assertFalse(response.haveCapabilitiy(0x10)); // Doesn't have this bit
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            // Skip header (already read by parent class)
            bais.skip(4);
            readPacket.type = buffer[0] & 0xFF;
            readPacket.length = ((buffer[1] & 0x01) << 16) + ((buffer[2] & 0xFF) << 8) + (buffer[3] & 0xFF);
    
            byte[] readBuffer = new byte[readPacket.length];
            bais.read(readBuffer, 0, readPacket.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        @Mock
        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
        void testSignWithValidParameters() {
            // Arrange
            int offset = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/HMACT64Test.java

            assertNotNull(hmac);
        }
    
        @Test
        void testEngineUpdateByte() {
            // Test engineUpdate(byte b)
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate((byte) 0x01);
            // No exception means success
        }
    
        @Test
        void testEngineUpdateByteArray() {
            // Test engineUpdate(byte[] input, int offset, int len)
            HMACT64 hmac = new HMACT64(TEST_KEY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                lock = new Smb2Lock(100L, 200L, sharedWithFailImmediately);
                lock.encode(buffer, 0);
    
                assertEquals(0x11, SMBUtil.readInt4(buffer, 16));
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
    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