- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 1,113 for handles (0.06 sec)
-
src/main/java/jcifs/context/SingletonContext.java
SingletonContext.getInstance(); String pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs"); } else if (pkgs.indexOf("jcifs") == -1) { pkgs += "|jcifs"; System.setProperty("java.protocol.handler.pkgs", pkgs); } } /** * */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
@Test @DisplayName("Should handle zero values") void shouldHandleZeroValues() { // Given TestAllocInfo allocInfo = new TestAllocInfo(0L, 0L); // When & Then assertEquals(0L, allocInfo.getCapacity()); assertEquals(0L, allocInfo.getFree()); } @Test @DisplayName("Should handle maximum long values")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// When int bytesWritten = response.writeBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesWritten); } @Test @DisplayName("Should handle error response structure size 9") void testReadBytesWireFormatErrorResponse() throws Exception { // Given byte[] buffer = new byte[256]; int bufferIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
configField.setAccessible(true); assertEquals(mockConfig, configField.get(request)); } @Test @DisplayName("Should handle null configuration") void testConstructorWithNullConfig() { assertDoesNotThrow(() -> { Smb2EchoRequest request = new Smb2EchoRequest(null); assertNotNull(request);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
* @throws SmbException */ synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { if (this.handle == null || !this.handle.isValid()) { // one extra acquire to keep this open till the stream is released if (this.file instanceof SmbNamedPipe) { this.handle = this.file.openUnshared(SmbConstants.O_EXCL, ((SmbNamedPipe) this.file).getPipeType() & 0xFF0000, this.sharing,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
t.Fatalf("Test %d: %s: Failed to create HTTP request for GetBucketLocationHandler: <ERROR> %v", i+1, instanceType, err) } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(rec, req) if rec.Code != testCase.expectedRespStatus {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should handle different cipher IDs") void testDifferentCipherIds() { // Test cipher ID 1 (AES-CCM) Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey); assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1"); // Test cipher ID 2 (AES-GCM)
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/main/java/jcifs/smb/SmbPipeHandleInternal.java
* @throws CIFSException if an error occurs connecting to the tree */ SmbTreeHandleInternal ensureTreeConnected() throws CIFSException; /** * Ensures that the file handle is open and returns it. * * @return file handle * @throws CIFSException if an error occurs opening the file */ SmbFileHandle ensureOpen() throws CIFSException; /** * Receive data from the pipe *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
@Test @DisplayName("Should handle null buffer in decode") void testNullBuffer() { FileFsSizeInformation info = new FileFsSizeInformation(); assertThrows(NullPointerException.class, () -> { info.decode(null, 0, 0); }); } @Test @DisplayName("Should handle insufficient buffer length")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java
private final EventBus eventBus; private final Object event; private final Object subscriber; private final Method subscriberMethod; /** * @param eventBus The {@link EventBus} that handled the event and the subscriber. Useful for * broadcasting a new event based on the error. * @param event The event object that caused the subscriber to throw. * @param subscriber The source subscriber context.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 2.2K bytes - Viewed (0)