- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 411 for FLAGS (0.01 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
this.extFileAttributes = extFileAttributes; // shareAccess this.shareAccess = shareAccess; // createDisposition if ((flags & SmbFile.O_TRUNC) == SmbFile.O_TRUNC) { // truncate the file if ((flags & SmbFile.O_CREAT) == SmbFile.O_CREAT) { // create it if necessary createDisposition = FILE_OVERWRITE_IF; } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
// Path consumed (2 bytes) - value: 10 * 2 = 20 SMBUtil.writeInt2(20, buffer, 0); // Number of referrals (2 bytes) - value: 1 SMBUtil.writeInt2(1, buffer, 2); // Flags (2 bytes) SMBUtil.writeInt2(0x0003, buffer, 4); // Padding (2 bytes) buffer[6] = 0; buffer[7] = 0; // First referral (minimal structure)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
} @Test @DisplayName("Should set and get flags") void testFlags() { // Given int flags = 0x0001; // Encrypted flag // When transformHeader.setFlags(flags); // Then assertEquals(flags, transformHeader.getFlags()); } @Test @DisplayName("Should set and get session ID")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// When - Create new request Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, TEST_PATH); // Then - Tree flags should be initialized to 0 int flags = (int) treeFlagsField.get(req); assertEquals(0, flags); } @Test @DisplayName("Should handle maximum path length") void testMaximumPathLength() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java
* @return the break reason */ public int getBreakReason() { return breakReason; } /** * Gets the lease flags from the notification * @return the lease flags */ public int getLeaseFlags() { return flags; } /** * Gets the access mask hint for optimizing lease handling * @return the access mask hint */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
} /** * Gets the lease flags for this request * @return the lease flags */ public int getLeaseFlags() { return leaseFlags; } /** * Sets the lease flags for this request * @param leaseFlags the lease flags to set */ public void setLeaseFlags(int leaseFlags) { this.leaseFlags = leaseFlags; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
Field flagsField = DcerpcMessage.class.getDeclaredField("flags"); flagsField.setAccessible(true); int flagsValue = (int) flagsField.get(msrpcSamrConnect2); int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG; assertEquals(expectedFlags, flagsValue, "The 'flags' field should be set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
cmd/batch-replicate.go
return false } } // BatchJobReplicateV1 v1 of batch job replication type BatchJobReplicateV1 struct { APIVersion string `yaml:"apiVersion" json:"apiVersion"` Flags BatchJobReplicateFlags `yaml:"flags" json:"flags"` Target BatchJobReplicateTarget `yaml:"target" json:"target"` Source BatchJobReplicateSource `yaml:"source" json:"source"` clnt *miniogo.Core `msg:"-"` }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// Test with both flags setPrivateField(response, "shareFlags", Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS | Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS_ROOT); assertTrue(response.isShareDfs(), "Should detect DFS from combined flags"); // Test without DFS flags setPrivateField(response, "shareFlags", 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
@Mock CIFSContext mockContext; /** * Helper that creates a request instance with the supplied flags. * The other arguments are simple constants. */ private SmbComNTCreateAndX createRequest(int flags, int createOptions) { return new SmbComNTCreateAndX(mockConfig, "test.txt", flags, SmbConstants.FILE_READ_EA, // desired access 0, // shareAccess 0, // extFileAttributes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)