Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 321 for 0x02 (0.02 sec)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

                ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB, OID_NTLM };
                int flags = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY;
                byte[] mechToken = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };
                byte[] mic = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC };
    
                NegTokenInit original = new NegTokenInit(mechs, flags, mechToken, mic);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        void testReadUShortOutOfBounds() {
            byte[] a = new byte[] { 0x02 };
            assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readUShort(a, 0));
        }
    
        @Test
        @DisplayName("readULong throws on too short array")
        void testReadULongOutOfBounds() {
            byte[] a = new byte[] { 0x01, 0x02, 0x03 };
            assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readULong(a, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NodeStatusResponse.java

                isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true;
                isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    
                /*
                 * The NbtAddress object used to query this node will be in the list
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                // Skip idFileSystem (4 bytes)
                buffer[4] = 0x08; // sectPerAlloc = 8
                buffer[8] = 0x00;
                buffer[9] = 0x10; // alloc = 4096
                buffer[12] = 0x00;
                buffer[13] = 0x08; // free = 2048
                buffer[16] = 0x00;
                buffer[17] = 0x02; // bytesPerSect = 512
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            // Group SID with 2 sub-authorities
            testBuffer[44] = 0x01; // revision
            testBuffer[45] = 0x02; // sub-authority count
            testBuffer[46] = 0x00; // identifier authority
            testBuffer[47] = 0x00;
            testBuffer[48] = 0x00;
            testBuffer[49] = 0x00;
            testBuffer[50] = 0x00;
            testBuffer[51] = 0x05;
            SMBUtil.writeInt4(32, testBuffer, 52); // sub-authority 1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            // Verify that flags are set correctly (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG)
            // The actual values for DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG are typically 0x01 and 0x02 respectively.
            int expectedFlags = 0x01 | 0x02; // DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG
            assertEquals(expectedFlags, msrpcSamrOpenDomain.getFlags(), "flags should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should read different oplock levels correctly")
            @ValueSource(bytes = { 0x00, 0x01, 0x02, 0x08, (byte) 0xFF })
            void testReadDifferentOplockLevels(byte oplockLevel) throws Exception {
                byte[] buffer = createValidOplockBreakBuffer(oplockLevel, createTestData(16));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            byte[] params = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00 };
            response.readParametersWireFormat(params, 0, params.length);
    
            // Data block: 2 entries
            byte[] data = new byte[100];
            // Entry 1: SHARE1, type 0 (Disk), remark "Remark 1"
            System.arraycopy("SHARE1".getBytes(StandardCharsets.US_ASCII), 0, data, 0, 6);
            data[14] = 0x00;
            data[15] = 0x00; // type = 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/hash/HashCodeTest.java

                    (byte) 0x05, (byte) 0x06, (byte) 0x07, (byte) 0x08
                  },
                  0x89abcdef,
                  0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
                  "efcdab89674523010102030405060708"),
              new ExpectedHashCode(
                  new byte[] {(byte) 0xdf, (byte) 0x9b, (byte) 0x57, (byte) 0x13},
                  0x13579bdf,
                  null,
    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