Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for 0x10 (0.4 sec)

  1. 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)
  2. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            byte[] expectedCustomData = { 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
            byte[] actualCustomData = new byte[8];
            System.arraycopy(value, 8, actualCustomData, 0, 8);
            assertArrayEquals(expectedCustomData, actualCustomData);
    
            // Verify machineId part
            byte[] expectedMachineId = new byte[32];
            expectedMachineId[0] = 0x10;
            expectedMachineId[1] = 0x11;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         */
        int RPC_PT_SHUTDOWN = 0x11;
        /**
         * Cancel packet type
         */
        int RPC_PT_CANCEL = 0x12;
        /**
         * Acknowledgment packet type
         */
        int RPC_PT_ACK = 0x13;
        /**
         * Reject packet type
         */
        int RPC_PT_REJECT = 0x14;
        /**
         * Connection-oriented cancel packet type
         */
        int RPC_PT_CO_CANCEL = 0x15;
        /**
         * Orphaned packet type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        private static final int SHARING_DENY_NONE = 0x40;
    
        private static final int DO_NOT_CACHE = 0x1000; // bit 12
        private static final int WRITE_THROUGH = 0x4000; // bit 14
    
        private static final int OPEN_FN_CREATE = 0x10;
        private static final int OPEN_FN_FAIL_IF_EXISTS = 0x00;
        private static final int OPEN_FN_OPEN = 0x01;
        private static final int OPEN_FN_TRUNC = 0x02;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3;
        static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101;
        static final int SMB_FIND_FILE_FULL_DIRECTORY_INFO = 0x102;
        static final int SMB_FILE_NAMES_INFO = 0x103;
        static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104;
    
        /**
         * Constructs a Trans2FindFirst2 request for finding files.
         *
         * @param config the configuration to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

        static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        static final int FLAGS_REQUEST_OPLOCK = 0x02;
        static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
        // Access Mode Encoding for desiredAccess
        static final int SHARING_COMPATIBILITY = 0x00;
        static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10;
        static final int SHARING_DENY_WRITE = 0x20;
        static final int SHARING_DENY_READ_EXECUTE = 0x30;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

        void flagsTest() {
            assertEquals(0x00, SmbConstants.FLAGS_NONE);
            assertEquals(0x08, SmbConstants.FLAGS_PATH_NAMES_CASELESS);
            assertEquals(0x10, SmbConstants.FLAGS_PATH_NAMES_CANONICALIZED);
            assertEquals(0x80, SmbConstants.FLAGS_RESPONSE);
        }
    
        /**
         * Test interaction with SmbTransport using Mockito.
         * This demonstrates mocking capabilities for testing.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         */
        public static final int SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY = 0x10;
    
        /**
         * Share capability indicating scale-out support.
         */
        public static final int SMB2_SHARE_CAP_SCALEOUT = 0x20;
    
        /**
         * Share capability indicating cluster support.
         */
        public static final int SMB2_SHARE_CAP_CLUSTER = 0x40;
    
        /**
         * Share capability indicating asymmetric support.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            final int start = bufferIndex;
    
            this.fid = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.typeOfLock = buffer[bufferIndex];
    
            if ((this.typeOfLock & 0x10) == 0x10) {
                this.largeFile = true;
            }
    
            this.newOpLockLevel = buffer[bufferIndex + 1];
            bufferIndex += 2;
    
            this.timeout = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            assertEquals(1, SMBUtil.readInt2(buffer, 8));
            assertEquals(1, SMBUtil.readInt2(buffer, 10));
        }
    
        /**
         * Test that a large file lock (bit 0x10 set) is encoded and decoded correctly.
         */
        @ParameterizedTest
        @ValueSource(ints = { 0x10, 0x11 })
        void largeFileFlagSet_and_decoded_according_to_type(int type) throws Exception {
            Configuration cfg = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top