- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 572 for bundle (0.07 sec)
-
guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
} public static class StringSubscriber { @Subscribe public void handle(String s) {} } public static class IntegerSubscriber { @Subscribe public void handle(Integer i) {} } public static class ObjectSubscriber { @Subscribe public void handle(Object o) {} } public void testFlattenHierarchy() { assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
} @Test @DisplayName("readLength should handle maximum length") void testReadLengthMaximum() { byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF }; int length = SessionServicePacket.readLength(src, 0); assertEquals(0x01FFFF, length); } @Test @DisplayName("readLength should handle zero length") void testReadLengthZero() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
import jcifs.SmbTreeHandle; /** * Internal interface for SMB tree handle operations. * * This interface provides internal methods for managing * SMB tree connections and their lifecycle. * * @author mbechler */ public interface SmbTreeHandleInternal extends SmbTreeHandle { /** * Releases this tree handle back to the pool for reuse */ void release(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// Then assertNotNull(signingKey, "Should handle empty session key"); assertEquals(16, signingKey.length, "Should still produce 16-byte key"); } @Test @DisplayName("Should handle null preauth integrity for SMB 3.0.0") void testDeriveKeys_NullPreauthForSMB300() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
protected DcerpcSecurityProvider securityProvider = null; private static int call_id = 1; /** * Gets a DCERPC handle for the specified URL and authentication * @param url the DCERPC URL to connect to * @param auth the NTLM authentication credentials * @return a DCERPC handle for the connection * @throws UnknownHostException if the host cannot be resolved
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
@Test @DisplayName("Should handle self unwrap") void shouldHandleSelfUnwrap() { SmbSession mockSession = mock(SmbSession.class); when(mockSession.unwrap(SmbSession.class)).thenReturn(mockSession); SmbSession result = mockSession.unwrap(SmbSession.class); assertSame(mockSession, result, "unwrap should handle self unwrapping"); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
void testConstructorAndOpnum() { // When: Creating close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // Then: Should have correct opnum and handle assertEquals(0x01, message.getOpnum()); assertEquals(mockPolicyHandle, message.handle); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java
import jcifs.internal.smb2.create.CreateContextRequest; import jcifs.internal.util.SMBUtil; /** * SMB2 Durable Handle Request Create Context (DHnQ) * * MS-SMB2 Section 2.2.13.2.3 */ public class DurableHandleRequest implements CreateContextRequest { /** * Context name for durable handle request */ public static final String CONTEXT_NAME = "DHnQ";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.idl
[op(0x01)] int SamrCloseHandle([in] policy_handle *handle); [op(0x39)] int SamrConnect2([in,string,unique] wchar_t *system_name, [in] uint32_t access_mask, [out] policy_handle *handle); [op(0x3e)] int SamrConnect4([in,string,unique] wchar_t *system_name, [in] uint32_t unknown, [in] uint32_t access_mask, [out] policy_handle *handle); [op(0x07)] int SamrOpenDomain([in] policy_handle *handle,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals("Expected structureSize = 9", exception.getMessage()); } @Test @DisplayName("Should handle empty notification list") void testEmptyNotificationList() throws Exception { // Given byte[] buffer = new byte[256]; int offset = 0; setHeaderStart(response, 64);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0)