Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 652 for lose (0.02 sec)

  1. src/main/java/jcifs/util/ResourceManager.java

                    AutoCloseable resource = holder.resourceRef.get();
                    if (resource != null) {
                        try {
                            log.warn("Auto-closing abandoned resource: {} ({}, age: {} ms)", holder.resourceId, holder.resourceType,
                                    holder.getAge());
                            resource.close();
                            holder.closed = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/EmptyIteratorTest.java

            }
        }
    
        @Test
        @DisplayName("EmptyIterator should handle close operations multiple times")
        void testMultipleCloseOperations() {
            // When & Then
            assertDoesNotThrow(() -> {
                try {
                    emptyIterator.close();
                    emptyIterator.close();
                    emptyIterator.close();
                } catch (CIFSException e) {
                    throw new RuntimeException(e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("close calls release and decrements usage; double release throws")
        void closeAndReleaseBehavior() {
            // Validates usage counting and that an extra release() throws RuntimeCIFSException
            // First close -> usage 1 -> 0, triggers treeConnection.release()
            handle.close();
            verify(treeConnection, times(1)).release();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. apache-maven/src/main/appended-resources/licenses/EPL-1.0.txt

    to or loss of data, programs or equipment, and unavailability or interruption
    of operations.
    
       6. DISCLAIMER OF LIABILITY
    
    EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
    CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Sep 17 05:50:12 UTC 2018
    - 11.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     *     [chunked][newChunkedSink].
     *  3. Write to and then close that sink.
     *  4. [Read response headers][readResponseHeaders].
     *  5. Open a source to read the response body. Either [fixed-length][newFixedLengthSource],
     *     [chunked][newChunkedSource] or [unknown][newUnknownLengthSource].
     *  6. Read from and close that source.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashingOutputStream.java

      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
        out.close();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. 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.
         *
         * @param policyHandle the policy handle to close
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                verify(mockHandle, times(1)).close();
                verify(mockHandle, atLeastOnce()).acquire();
            }
    
            @Test
            @DisplayName("close() closes handle; does not close file when not unshared")
            void closeClosesHandle() throws Exception {
                SmbFileInputStream in = newStream();
                in.close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            client.close();
        }
    
        @Test
        void testGetWitnessServer() throws Exception {
            WitnessRpcClient mockRpc = mock(WitnessRpcClient.class);
            TestWitnessClient client = new TestWitnessClient(witnessServer, mockContext, mockRpc);
    
            assertEquals(witnessServer, client.getWitnessServer());
    
            client.close();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top