- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,113 for handles (0.08 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java
* This handler automatically registers itself for origins configured in the system * and applies standard CORS headers based on the application configuration. */ public class DefaultCorsHandler extends CorsHandler { /** * Creates a new instance of DefaultCorsHandler. * This constructor initializes the default CORS handler for applying
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class)); DcerpcHandle handle = mock(DcerpcHandle.class); LsaPolicyHandle policy = mock(LsaPolicyHandle.class); jcifs.SID[] none = new jcifs.SID[0]; cache.resolveSids(handle, policy, none); verify(handle, times(1)).sendrecv(any(jcifs.dcerpc.msrpc.MsrpcLookupSids.class)); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @Test @DisplayName("Should handle null file ID in setter") void testSetNullFileId() { assertDoesNotThrow(() -> request.setFileId(null)); } @Test @DisplayName("Should handle various file ID sizes") void testVariousFileIdSizes() { byte[] shortFileId = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// When response.prepare(mockNext); // Then verify(mockNext, times(0)).setTreeId(any(Integer.class)); } @DisplayName("Should handle various share flag combinations") @ParameterizedTest @MethodSource("provideFlagCombinations") void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K 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/main/java/jcifs/smb/SmbRandomAccessFile.java
// ensure file is open if (this.handle == null || !this.handle.isValid()) { // one extra acquire to keep this open till the stream is released this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, this.options).acquire(); return this.handle; } return this.handle.acquire(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
cmd/healthcheck-router.go
healthCheckPathPrefix = minioReservedBucketPath + healthCheckPath ) // registerHealthCheckRouter - add handler functions for liveness and readiness routes. func registerHealthCheckRouter(router *mux.Router) { // Healthcheck router healthRouter := router.PathPrefix(healthCheckPathPrefix).Subrouter() // Cluster check handler to verify cluster is active
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jan 23 11:12:47 UTC 2023 - 2.3K bytes - Viewed (0) -
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)