Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for CLOSING (0.04 sec)

  1. src/main/java/jcifs/SmbFileHandle.java

         * @throws CIFSException if an error occurs while closing the file
         */
        void close(long lastWriteTime) throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close() throws CIFSException;
    
        /**
         * Releases this file handle without closing it
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                    this.next = null;
                    this.treeHandle.release();
                }
            }
        }
    
        /**
         * Performs the internal closing operations specific to the implementation.
         *
         * @throws CIFSException if an error occurs during internal closing
         */
        protected abstract void doCloseInternal() throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ResourceManagerTest.java

        @Timeout(value = 5, unit = TimeUnit.SECONDS)
        void testLeakDetection() throws InterruptedException {
            // Create resource that will be garbage collected without closing
            createLeakyResource();
    
            // Force garbage collection
            System.gc();
            Thread.sleep(200);
    
            // Check for leaks
            resourceManager.checkForLeaks();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                } catch (Exception e) {
                    log.debug("Error closing connection: {}", e.getMessage());
                }
            });
            connections.clear();
    
            nonPooledConnections.forEach(conn -> {
                try {
                    conn.disconnect(true, true);
                } catch (Exception e) {
                    log.debug("Error closing non-pooled connection: {}", e.getMessage());
                }
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelState.java

         * Channel is actively transferring data
         */
        ACTIVE(5),
    
        /**
         * Channel connection has failed
         */
        FAILED(6),
    
        /**
         * Channel is being closed
         */
        CLOSING(7);
    
        private final int value;
    
        ChannelState(int value) {
            this.value = value;
        }
    
        /**
         * Get the numeric value of this state
         *
         * @return state value
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbFileHandleTest.java

            assertThrows(CIFSException.class, () -> smbFileHandle.close(lastWriteTime),
                    "close(long) should throw CIFSException when closing fails.");
            verify(smbFileHandle, times(1)).close(lastWriteTime);
        }
    
        /**
         * Test close() successfully.
         *
         * @throws CIFSException
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

         */
        @Override
        protected boolean isDone() {
            return false;
        }
    
        /**
         * Performs internal closing operations for SMB2 enumeration.
         *
         * @throws CIFSException if an error occurs during closing
         */
        @Override
        protected void doCloseInternal() throws CIFSException {
            try {
                @SuppressWarnings("resource")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         */
        protected FessFunctions() {
            // nothing
        }
    
        /**
         * Generates an HTML opening or closing tag with appropriate language attribute.
         *
         * @param isOpen true to generate opening HTML tag, false for closing tag
         * @return HTML opening tag with language attribute or closing tag
         */
        public static String html(final boolean isOpen) {
            if (isOpen) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarClose.java

     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    /**
     * Microsoft RPC LSA close handle request.
     * This class implements the LSARPC close handle operation for closing
     * LSA policy handles when they are no longer needed.
     */
    public class MsrpcLsarClose extends lsarpc.LsarClose {
    
        /**
         * Creates a new request to close an LSA policy handle.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     *  6. Read from and close that source.
     *
     * Exchanges that do not have a request body may skip creating and closing the request body.
     * Exchanges that do not have a response body can call
     * [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source.
     */
    class Http1ExchangeCodec(
      /** The client that configures this stream. May be null for HTTPS proxy tunnels. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
Back to top