Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for 0xcc (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // This is expected behavior as seen in the implementation at line 131
            assertEquals((byte) 0xCC, buffer[4]);
            assertEquals((byte) 0xCC, buffer[5]);
            assertEquals((byte) 0xCC, buffer[6]);
            assertEquals((byte) 0xCC, buffer[7]);
    
            // FileId (16 bytes) - should match our test file ID
            byte[] wireFileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/rpcTest.java

                uuid.time_hi_and_version = (short) 0xDEF0;
                uuid.clock_seq_hi_and_reserved = (byte) 0x11;
                uuid.clock_seq_low = (byte) 0x22;
                uuid.node = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
    
                // Mock the derive method to return a buffer for node encoding
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertEquals(24, SMBUtil.readInt2(buffer, 0));
    
            // Reserved1 (2 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
            // This is expected behavior - the reserved fields are not explicitly written to 0
    
            // Reserved2 (4 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
            // This is expected behavior - the reserved fields are not explicitly written to 0
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

        void testEquals() {
            byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);
            byte[] testBytes3 = new byte[] { 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20 };
    
            Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/UUIDTest.java

        private static final byte CLOCK_SEQ_HI_AND_RESERVED = (byte) 0x88;
        private static final byte CLOCK_SEQ_LOW = (byte) 0x99;
        private static final byte[] NODE = { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            byte[] header = buildHeader(NtStatus.NT_STATUS_INVALID_PARAMETER);
            byte[] body = buildErrorBody(2, 3, new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC });
            byte[] packet = new byte[header.length + body.length];
            System.arraycopy(header, 0, packet, 0, header.length);
            System.arraycopy(body, 0, packet, header.length, body.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                buffer[2] = 0x01; // Oplock level
                buffer[3] = (byte) 0xAA; // Reserved byte
    
                // Reserved2 field (4 bytes at offset 4)
                buffer[4] = (byte) 0xBB;
                buffer[5] = (byte) 0xCC;
                buffer[6] = (byte) 0xDD;
                buffer[7] = (byte) 0xEE;
    
                byte[] fileId = createTestData(16);
                System.arraycopy(fileId, 0, buffer, 8, 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/spnego/NegTokenInitTest.java

                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);
                byte[] firstEncoding = original.toByteArray();
    
                // Multiple round-trips should produce identical results
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            Configuration config = Mockito.mock(Configuration.class);
            Smb2CreateResponse resp = new Smb2CreateResponse(config, "file.txt");
    
            byte[] fileId = new byte[16];
            Arrays.fill(fileId, (byte) 0xCC);
    
            byte[] header = buildSmb2Header();
            int ctxOffsetFromHeader = 256; // arbitrary aligned location beyond header
            byte[] baseBody = buildCreateBodyWithContext(fileId, ctxOffsetFromHeader);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            int namedPipeState = 0x02;
            int readDataAvailable = 256;
            int numberOfMessages = 5;
            int messageLength = 128;
            byte[] testData = { (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC, (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88 };
    
            // Write values to buffer at offset
            SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top