- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for topLocks (0.04 sec)
-
cmd/admin-handlers.go
peerLocks := globalNotificationSys.GetLocks(ctx, r) topLocks := topLockEntries(peerLocks, stale) // Marshal API response upto requested count. if len(topLocks) > count && count > 0 { topLocks = topLocks[:count] } jsonBytes, err := json.Marshal(topLocks) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K 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/tree/Smb2TreeConnectResponse.java
/** * Share flag indicating that access-based directory enumeration is enabled. */ public static final int SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM = 0x800; /** * Share flag indicating that level 2 oplocks are forced on this share. */ public static final int SMB2_SHAREFLAG_FORCE_LEVEL2_OPLOCK = 0x1000; /** * Share flag indicating that hash generation V1 is enabled for this share. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int CAP_NT_SMBS = 0x0010; /** RPC remote APIs capability */ int CAP_RPC_REMOTE_APIS = 0x0020; /** 32-bit status codes capability */ int CAP_STATUS32 = 0x0040; /** Level II oplocks capability */ int CAP_LEVEL_II_OPLOCKS = 0x0080; /** Lock and read capability */ int CAP_LOCK_AND_READ = 0x0100; /** NT find capability */ int CAP_NT_FIND = 0x0200; /** DFS capability */
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/smb1/smb1/SmbFileInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int CAP_RPC_REMOTE_APIS = 0x0020; /** * NT status codes are supported capability. */ int CAP_STATUS32 = 0x0040; /** * Level II oplocks are supported capability. */ int CAP_LEVEL_II_OPLOCKS = 0x0080; /** * Lock and read operation is supported capability. */ int CAP_LOCK_AND_READ = 0x0100; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
// Force lease release if break handling times out releaseLease(key); log.warn("Lease break timeout for key: {}", key); } } ``` ### 10.2 Fallback to Oplocks ```java if (!context.getConfig().isUseLeases() || !session.supports(SMB3_0)) { // Fall back to traditional oplock mechanism useOplockInstead(); } ``` ## 11. Monitoring and Metrics
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0)