- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 653 for HANDLE (0.07 sec)
-
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
} @Test @DisplayName("Should handle null root cause") void testConstructorWithNullRootCause() { TransportException exception = new TransportException((Throwable) null); assertNotNull(exception); assertNull(exception.getRootCause()); } @Test @DisplayName("Should handle null message with root cause")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(16, bytesRead); assertEquals(2048, response.getCount()); assertEquals(1024, response.getRemaining()); } @Test @DisplayName("Should handle zero count and remaining") void testReadZeroValues() throws SMBProtocolDecodingException { byte[] buffer = createValidWriteResponse(0, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
@NullAndEmptySource @DisplayName("Should handle null and empty FQDN in fixupHost") void testFixupHostWithNullAndEmpty(String fqdn) { // Test with mock doNothing().when(mockReferralData).fixupHost(fqdn); assertDoesNotThrow(() -> mockReferralData.fixupHost(fqdn)); // Test with concrete implementation - fixupHost doesn't handle null fqdn if (fqdn == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java
* Verifies that the handle, ptype, and flags are correctly initialized. */ @Test void testConstructor() { // Create an instance of MsrpcLsarClose with the mock handle MsrpcLsarClose lsarClose = new MsrpcLsarClose(mockHandle); // Verify that the handle passed to the constructor is correctly set in the superclass
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
@Test @DisplayName("Should handle null domain and workstation") void testNullDomainAndWorkstation() { // When Type1Message type1 = new Type1Message(mockContext, 0, null, null); // Then assertNull(type1.getSuppliedDomain()); assertNull(type1.getSuppliedWorkstation()); } @Test @DisplayName("Should handle case sensitivity in domain and workstation")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
import jcifs.internal.smb2.create.CreateContextRequest; import jcifs.internal.util.SMBUtil; /** * SMB2 Durable Handle V2 Request Create Context (DH2Q) * * MS-SMB2 Section 2.2.13.2.4 */ public class DurableHandleV2Request implements CreateContextRequest { /** * Context name for durable handle V2 request */ public static final String CONTEXT_NAME = "DH2Q";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
cmd/metrics-router.go
auth = NoAuthMiddleware } metricsRouter.Handle(prometheusMetricsPathLegacy, auth(metricsHandler())) metricsRouter.Handle(prometheusMetricsV2ClusterPath, auth(metricsServerHandler())) metricsRouter.Handle(prometheusMetricsV2BucketPath, auth(metricsBucketHandler())) metricsRouter.Handle(prometheusMetricsV2NodePath, auth(metricsNodeHandler())) metricsRouter.Handle(prometheusMetricsV2ResourcePath, auth(metricsResourceHandler()))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java
import jcifs.internal.smb2.create.CreateContextResponse; /** * SMB2 Durable Handle Reconnect Response Create Context * * MS-SMB2 Section 2.2.14.2.5 */ public class DurableHandleReconnectResponse implements CreateContextResponse { /** * Context name for durable handle reconnect response */ public static final String CONTEXT_NAME = "DHnC";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
assertEquals(transport, result); verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, true); } @Test @DisplayName("Should handle UnknownHostException") void testGetSmbTransportUnknownHost() throws UnknownHostException, IOException { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertArrayEquals(expectedName, actualName); verify(response, times(1)).getName(); } @Test @DisplayName("getName() should handle null return value") void testGetNameWithNull() { CreateContextResponse response = mock(CreateContextResponse.class); when(response.getName()).thenReturn(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0)