Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SMB2_OPLOCK_LEVEL_II (0.41 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                // Write structure size (24)
                SMBUtil.writeInt2(24, buffer, bufferIndex);
    
                // Write oplock level at offset 2
                byte expectedOplockLevel = (byte) 0x02; // SMB2_OPLOCK_LEVEL_II
                buffer[bufferIndex + 2] = expectedOplockLevel;
    
                // Write reserved field (4 bytes at offset 4)
                bufferIndex += 4;
    
                // Write Reserved2 (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        @DisplayName("Test all oplock level constants")
        void testOplockLevelConstants() {
            assertEquals((byte) 0x0, Smb2CreateRequest.SMB2_OPLOCK_LEVEL_NONE);
            assertEquals((byte) 0x1, Smb2CreateRequest.SMB2_OPLOCK_LEVEL_II);
            assertEquals((byte) 0x8, Smb2CreateRequest.SMB2_OPLOCK_LEVEL_EXCLUSIVE);
            assertEquals((byte) 0x9, Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * No oplock
         */
        public static final byte SMB2_OPLOCK_LEVEL_NONE = 0x0;
        /**
         * Level II oplock
         */
        public static final byte SMB2_OPLOCK_LEVEL_II = 0x1;
        /**
         * Exclusive oplock
         */
        public static final byte SMB2_OPLOCK_LEVEL_EXCLUSIVE = 0x8;
        /**
         * Batch oplock
         */
        public static final byte SMB2_OPLOCK_LEVEL_BATCH = 0x9;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top