Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 116 for Closing (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

            if (obj instanceof AutoCloseable) {
                try {
                    ((AutoCloseable) obj).close();
                } catch (final Exception e) {
                    logger.warn("Error closing pooled object for component: {}", componentName, e);
                    throw e;
                }
            }
        }
    
        /**
         * Listener interface for handling object destruction events.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            String str = response.toString();
    
            // Should start with the class name
            assertTrue(str.startsWith("Trans2SetFileInformationResponse["));
    
            // Should end with closing bracket
            assertTrue(str.endsWith("]"));
    
            // Should contain parent toString content
            // Note: The parent toString might include various fields
            assertNotNull(str);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertTrue(s.contains(",flags=0x00"), "toString should include flags in hex");
            assertTrue(s.endsWith("]"), "toString should end with closing bracket");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

                if (rdmaConnection != null) {
                    try {
                        rdmaConnection.close();
                    } catch (Exception e) {
                        log.warn("Error closing RDMA connection: {}", e.getMessage());
                    }
                    rdmaConnection = null;
                }
            }
            return delegate.disconnect(hard, inuse);
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

                throw new IOException("TCP RDMA write failed", e);
            }
        }
    
        @Override
        public void close() throws IOException {
            state = RdmaConnectionState.CLOSING;
    
            try {
                if (socketChannel != null) {
                    socketChannel.close();
                }
            } finally {
                state = RdmaConnectionState.CLOSED;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharStreams.java

        @Override
        public String toString() {
          return "CharStreams.nullWriter()";
        }
      }
    
      /**
       * Returns a Writer that sends all output to the given {@link Appendable} target. Closing the
       * writer will close the target if it is {@link Closeable}, and flushing the writer will flush the
       * target if it is {@link java.io.Flushable}.
       *
       * @param target the object to which output will be sent
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertFalse(auth.isClosed());
    
            // Close the authenticator
            auth.close();
    
            // Verify it's closed
            assertTrue(auth.isClosed());
            // Cannot check password after closing as it now throws IllegalStateException
            // This is actually good security practice - closed authenticators cannot be accessed
    
            // Verify multiple closes don't cause issues
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

            /** Connection is fully established and ready for RDMA operations */
            ESTABLISHED,
            /** Connection encountered an error */
            ERROR,
            /** Connection is being closed */
            CLOSING,
            /** Connection is closed */
            CLOSED
        }
    
        /** Remote endpoint address */
        protected final InetSocketAddress remoteAddress;
        /** Local endpoint address */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            MsrpcSamrCloseHandle capturedRpc = closeHandleCaptor.getValue();
            assertNotNull(capturedRpc);
            assertEquals(handle, capturedRpc.handle); // Ensure the handle itself is passed for closing
        }
    
        @Test
        void close_shouldDoNothingIfAlreadyClosed() throws IOException {
            // Arrange
            int access = 0x01;
            // Simulate successful open
            doAnswer(invocation -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * window will block.
       *
       * Zero [byteCount] writes are not subject to flow control and will not block. The only use case
       * for zero [byteCount] is closing a flushed output stream.
       */
      @Throws(IOException::class)
      fun writeData(
        streamId: Int,
        outFinished: Boolean,
        buffer: Buffer?,
        byteCount: Long,
      ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top