Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 136 for CLOSING (0.2 seconds)

  1. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. 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());
                }
            });
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/package-info.java

     * CharSource CharSource}, {@link ByteSink ByteSink} and {@link CharSink CharSink}. They are
     * factories for I/O streams that provide many convenience methods that handle both opening and
     * closing streams for you.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library. For more information on Sources and Sinks as well as other features of this package, see
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  4. 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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. internal/http/close.go

    	// connection to the server for a subsequent "keep-alive" request.
    	if respBody != nil {
    		// Drain any remaining Body and then close the connection.
    		// Without this closing connection would disallow re-using
    		// the same connection for future uses.
    		//  - http://stackoverflow.com/a/17961593/4465767
    		defer respBody.Close()
    		xioutil.DiscardReader(respBody)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/CharSource.java

     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
     *       typically implemented by opening a reader using one of the methods in the first category,
     *       doing something and finally closing the reader that was opened.
     * </ul>
     *
     * <p>Several methods in this class, such as {@link #readLines()}, break the contents of the source
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  7. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
     */
    @Deprecated(since = "4.0.0")
    public interface Source {
    
        /**
         * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller.
         *
         * @return A byte stream to the source contents, never {@code null}.
         * @throws IOException in case of IO issue
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

            assertEquals(initialReferral, appendedReferral.next,
                    "The 'next' property of the appended referral should point back to the initial referral, closing the loop.");
        }
    
        /**
         * Tests the toString method of the DfsReferral class.
         * It verifies that the toString method returns a string representation of the object
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. 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();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top