Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 255 for 0x10 (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

    package jcifs.smb1.smb1;
    
    class Trans2QueryFSInformationResponse extends SmbComTransactionResponse {
    
        // information levels
        static final int SMB_INFO_ALLOCATION = 1;
        static final int SMB_QUERY_FS_SIZE_INFO = 0x103;
        static final int SMB_FS_FULL_SIZE_INFORMATION = 1007;
    
        class SmbInfoAllocation implements AllocInfo {
            long alloc; // Also handles SmbQueryFSSizeInfo
            long free;
            int sectPerAlloc;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals(2, written, "writeParametersWireFormat should write exactly 2 bytes");
    
            // Verify little-endian encoding (0x1234 -> 0x34 0x12)
            assertEquals((byte) 0x34, buf[0], "First byte should be low byte of level");
            assertEquals((byte) 0x12, buf[1], "Second byte should be high byte of level");
        }
    
        @Test
        @DisplayName("all read* methods return zero")
        void testReadMethodsReturnZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            void setup() throws GeneralSecurityException {
                digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null);
                data = new byte[128];
                Arrays.fill(data, (byte) 0x00);
    
                // Set up mock messages
                request = mock(CommonServerMessageBlock.class);
                response = mock(CommonServerMessageBlock.class);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/rpcTest.java

                uuid.time_low = 0x12345678;
                uuid.time_mid = (short) 0x9ABC;
                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 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            SMBUtil.writeInt2(this.count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
            System.arraycopy(this.b, this.off, dst, dstIndex, this.count);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            byte[] bufferData = buf.getBuffer();
            assertEquals((byte) 0xCD, bufferData[startIndex + alignmentBytes], "Least significant byte should be first");
            assertEquals((byte) 0x00, bufferData[startIndex + alignmentBytes + 1], "Most significant byte should be second");
        }
    
        /**
         * When given a buffer with sufficient length, decode performs
         * the inverse of encode.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        // relative to headerStart
        static final int SETUP_OFFSET = 61;
    
        static final int DISCONNECT_TID = 0x01;
        static final int ONE_WAY_TRANSACTION = 0x02;
    
        private int pad;
        private int pad1;
        private boolean parametersDone, dataDone;
    
        /** Total number of parameter bytes the server is returning */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

        }
    
        /**
         * Test constructor with a malformed token.
         */
        @Test
        void testConstructorMalformed() {
            byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            assertThrows(PACDecodingException.class, () -> new KerberosEncData(malformedToken, Collections.emptyMap()));
        }
    
        /**
         * Test constructor with an unknown field.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessNotification.java

         */
        public static class WitnessIPAddress {
            private final InetAddress address;
            private final int flags;
    
            /** Flag indicating IPv4 address type */
            public static final int IPV4 = 0x01;
            /** Flag indicating IPv6 address type */
            public static final int IPV6 = 0x02;
    
            /**
             * Creates a new witness IP address.
             *
             * @param address the IP address
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            // Assert
            assertEquals(10, bytesWritten, "Should write 10 bytes");
            // Check FID (little-endian)
            assertEquals(0x34, dst[0] & 0xFF);
            assertEquals(0x12, dst[1] & 0xFF);
            // Check count
            assertEquals(10, dst[2] & 0xFF);
            assertEquals(0, dst[3] & 0xFF);
            // Check offset
            assertEquals(0x78, dst[4] & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top