- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,418 for Handle (0.09 sec)
-
src/main/java/jcifs/internal/smb2/persistent/HandleType.java
package jcifs.internal.smb2.persistent; /** * Enumeration of SMB2/3 handle types supporting durability and persistence. */ public enum HandleType { /** * No durability - standard handle */ NONE(0), /** * SMB 2.1 durable handle - survives network loss */ DURABLE_V1(1), /** * SMB 3.0 durable handle V2 - with timeout configuration */ DURABLE_V2(2),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
throw new IOException("Witness async notify RPC failed", e); } } /** * Generates a registration ID from context handle and share name. * * @param contextHandle the context handle * @param shareName the share name * @return the registration ID */ private String generateRegistrationId(byte[] contextHandle, String shareName) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
assertEquals(rootNames[i], entries[i].getName()); assertEquals(8, entries[i].getType()); // TYPE_SHARE constant value } } @Test @DisplayName("getEntries should handle single DFS root correctly") void testGetEntries_singleEntry() throws Exception { // Create array with single entry netdfs.DfsEnumArray200 singleArray = new netdfs.DfsEnumArray200();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java
package jcifs.internal.smb2.persistent; /** * Constants for SMB2/3 durable and persistent handle capabilities. */ public final class Smb2HandleCapabilities { /** * Flag indicating persistent handle capability */ public static final int SMB2_DHANDLE_FLAG_PERSISTENT = 0x00000002; /** * Default timeout for durable handles (2 minutes) */ public static final long DEFAULT_DURABLE_TIMEOUT = 120000;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// When request.setSessionBinding(false); // Then assertFalse((boolean) sessionBindingField.get(request)); } @Test @DisplayName("Should handle chain operation correctly") void testChain() { // Given ServerMessageBlock2 nextMessage = mock(ServerMessageBlock2.class); // When boolean result = request.chain(nextMessage);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
// When String stringRep = version.toString(); // Then assertNotNull(stringRep); assertFalse(stringRep.isEmpty()); } @Test @DisplayName("Should handle version comparison") void testVersionComparison() { // Test equality assertEquals(DialectVersion.SMB311, DialectVersion.SMB311); assertNotEquals(DialectVersion.SMB1, DialectVersion.SMB311);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java
package jcifs.dcerpc.msrpc; /** * MSRPC implementation for opening an LSA policy handle. * This class provides functionality to open a handle to the LSA policy * database on a remote server using the LSA RPC interface. */ public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 { /** * Creates a new request to open an LSA policy handle. * * @param server the server name to connect toRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertEquals(28, bytesRead); // Header + one referral structure assertNotNull(response.getDfsResponse()); } @Test @DisplayName("Should handle readDataWireFormat with offset") void testReadDataWireFormatWithOffset() { byte[] fullBuffer = new byte[200]; byte[] dfsData = createValidDfsReferralBuffer(); int offset = 50;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
assertNotNull(type3.getNTResponse()); assertTrue(type3.getLMResponse().length > 0); assertTrue(type3.getNTResponse().length > 0); } @Test @DisplayName("Should handle Unicode strings") void testUnicodeStrings() throws Exception { // Given Type2Message type2 = createMockType2Message(); String unicodeDomain = "TËSTDØMÄIN";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
assertEquals(Smb2LeaseState.SMB2_LEASE_FULL, fullLease); } @Test @DisplayName("Should handle custom state combinations") void testCustomStateCombinations() { int customState = 0x06; // Write + Handle but no Read assertFalse(Smb2LeaseState.hasReadCaching(customState)); assertTrue(Smb2LeaseState.hasWriteCaching(customState));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0)