Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 228 for 0x71 (0.01 sec)

  1. 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)
  2. src/test/java/jcifs/pac/ASN1UtilTest.java

            // Tag [1] IMPLICIT, content is 0x01 0x02 0x03
            byte[] data = new byte[] { (byte) 0xA1, 0x03, 0x01, 0x02, 0x03 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
            ASN1InputStream ais = new ASN1InputStream(bais);
            byte[] result = ASN1Util.readUnparsedTagged(1, 10, ais);
            assertArrayEquals(new byte[] { 0x01, 0x02, 0x03 }, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
            this.isLoggedInAsGuest = ((buffer[bufferIndex] & 0x01) == 0x01) == true;
            bufferIndex += 2;
            if (this.isExtendedSecurity()) {
                final int blobLength = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            // Set up the buffer with test data
            // sid (2 bytes)
            buffer[0] = 0x01;
            buffer[1] = 0x00;
            // numEntries (2 bytes)
            buffer[2] = 0x05;
            buffer[3] = 0x00;
            // isEndOfSearch (2 bytes, bit 0 of first byte)
            buffer[4] = 0x01; // end of search = true
            buffer[5] = 0x00;
            // eaErrorOffset (2 bytes)
            buffer[6] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            buffer.position(20);
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x01); // SubAuthorityCount
            buffer.put(new byte[] { 0, 0, 0, 0, 0, 1 }); // IdentifierAuthority
            buffer.putInt(0); // SubAuthority
    
            // Group SID at offset 40
            buffer.position(40);
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x01); // SubAuthorityCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

    import jcifs.smb1.util.Hexdump;
    
    class SmbComOpenAndX extends AndXServerMessageBlock {
    
        // flags (not the same as flags constructor argument)
        private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        private static final int FLAGS_REQUEST_OPLOCK = 0x02;
        private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
        // Access Mode Encoding for desiredAccess
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbConstantsTest.java

        }
    
        @Test
        @DisplayName("Should define SMB flags constants")
        void testSmbFlags() {
            assertEquals(0x00, SmbConstants.FLAGS_NONE);
            assertEquals(0x01, SmbConstants.FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK);
            assertEquals(0x02, SmbConstants.FLAGS_RECEIVE_BUFFER_POSTED);
            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
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/MIENameTest.java

                    // Wrong TOK_ID
                    Arguments.of("wrong TOK_ID", new byte[] { 0x00, 0x02, 0x00, 0x01 }, IllegalArgumentException.class),
    
                    // OID length claims more than available
                    Arguments.of("oid length exceeds buffer", new byte[] { 0x04, 0x01, 0x00, 0x10, 0x06 }, IllegalArgumentException.class),
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
            assertDoesNotThrow(() -> digest.update(data, 0, data.length));
        }
    
        @Test
        @DisplayName("Test update method with zero length")
        void testUpdateWithZeroLength() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashCodeTest.java

                    (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01
                  },
                  0x89abcdef,
                  0x0123456789abcdefL,
                  "efcdab8967452301"),
              new ExpectedHashCode(
                  new byte[] {
                    (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x89,
                    (byte) 0x67, (byte) 0x45, (byte) 0x23,
                        (byte) 0x01, // up to here, same bytes as above
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top