- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CONTEXT2 (0.05 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Test with RECURSIVE_TREE scope (recursive flag set) DirectoryLeaseContext context2 = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.RECURSIVE_TREE); context2.setNotificationEnabled(true); byte[] buffer2 = new byte[context2.size()]; context2.encode(buffer2, 0); int flags2 = SMBUtil.readInt4(buffer2, 68);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
SmbResourceLocator context2 = mock(SmbResourceLocator.class); when(context2.getShare()).thenReturn("share"); when(context2.getDfsReferral()).thenReturn(null); when(context2.getUNCPath()).thenReturn("\\"); when(context2.getURLPath()).thenReturn("/share/"); when(context2.getServer()).thenReturn("server");
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/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
Smb2EncryptionContext context2 = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, key2, key2); // When - Wipe keys from context1 context1.secureWipeKeys(); // Then - Context2 should still be functional assertDoesNotThrow(() -> { byte[] nonce = context2.generateNonce(); assertNotNull(nonce);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
byte[] buffer = new byte[300]; contexts[0] = new TestCreateContextResponse("CONTEXT1".getBytes(StandardCharsets.UTF_8)); contexts[1] = new TestCreateContextResponse("CONTEXT2".getBytes(StandardCharsets.UTF_8)); contexts[2] = new TestCreateContextResponse("CONTEXT3".getBytes(StandardCharsets.UTF_8)); // Decode each context
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
CreateContextRequest[] contexts = new CreateContextRequest[3]; contexts[0] = new TestCreateContextRequest("CONTEXT1".getBytes(StandardCharsets.UTF_8)); contexts[1] = new TestCreateContextRequest("CONTEXT2".getBytes(StandardCharsets.UTF_8)); contexts[2] = new TestCreateContextRequest("CONTEXT3".getBytes(StandardCharsets.UTF_8)); // Encode all contexts byte[] buffer = new byte[512];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0)