- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 468 for Oplock (0.04 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
System.arraycopy(fileId, 0, buffer, 8, 16); return buffer; } } @Nested @DisplayName("Oplock Level Constants Tests") class OplockLevelTests { @ParameterizedTest @DisplayName("Should handle standard oplock levels") @MethodSource("provideOplockLevels") void testStandardOplockLevels(byte oplockLevel, String description) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
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 */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
import jcifs.internal.util.SMBUtil; /** * SMB1 COM_LOCKING_ANDX command implementation. * * This command locks or unlocks byte ranges within a file. It can also * be used to break oplocks and change oplock levels. * * @author mbechler */ public class SmbComLockingAndX extends AndXServerMessageBlock { private int fid; private byte typeOfLock; private byte newOpLockLevel;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java
*/ package jcifs.internal.smb2.lock; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB2 Oplock Break notification message. This server-initiated message notifies the client * that an opportunistic lock must be broken due to conflicting access from another client.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
} } public void releaseLease(Smb2LeaseKey key) { lock.writeLock().lock(); try { LeaseEntry entry = leases.remove(key); if (entry != null) { pathToLease.remove(entry.path); } } finally { lock.writeLock().unlock(); } } private void flushCachedWrites(String path) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0); assertEquals((byte) 0x01, buffer[2]); } @Test @DisplayName("Test oplock level setter") void testSetRequestedOplockLevel() { request = new Smb2CreateRequest(mockConfig, "test.txt"); request.setRequestedOplockLevel(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) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
private static byte[] buildCreateBodyNoContexts(byte oplock, byte openFlags, int createAction, long ctime, long atime, long mtime, long chtime, long allocSize, long eof, int attrs, byte[] fileId) { byte[] body = new byte[2 + 2 + 4 + 8 + 8 + 8 + 8 + 8 + 8 + 4 + 4 + 16 + 4 + 4]; int i = 0; SMBUtil.writeInt2(89, body, i); // StructureSize body[i + 2] = oplock; body[i + 3] = openFlags; i += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB1 NT Create AndX request message. * * This command is used to create or open a file with extended * capabilities including security descriptors and oplock support. */ public class SmbComNTCreateAndX extends AndXServerMessageBlock implements Request<SmbComNTCreateAndXResponse> { // share access specified in SmbFile // create disposition /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int FLAGS_NONE = 0x00; /** Lock and read write and unlock flag */ int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01; /** Receive buffer posted flag */ int FLAGS_RECEIVE_BUFFER_POSTED = 0x02; /** Path names are caseless flag */ int FLAGS_PATH_NAMES_CASELESS = 0x08; /** Path names canonicalized flag */ int FLAGS_PATH_NAMES_CANONICALIZED = 0x10; /** Oplock requested or granted flag */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
* * @param isExtended * the isExtended to set */ public final void setExtended(final boolean isExtended) { this.isExtended = isExtended; } /** * Gets the oplock level granted. * * @return the oplockLevel */ public final byte getOplockLevel() { return this.oplockLevel; } /** * Gets the file identifier. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0)