Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 769 for closest (0.04 sec)

  1. src/main/java/jcifs/smb/SmbPipeInputStream.java

                }
                return resp.getAvailable();
            } catch (final SmbException se) {
                throw seToIoe(se);
            }
        }
    
        @Override
        public void close() {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

        class ResourceManagementTests {
    
            @Test
            @DisplayName("close operation should work correctly")
            void testClose() {
                // When/Then
                assertDoesNotThrow(() -> mockResource.close(), "Close operation should not throw exception");
                verify(mockResource).close();
            }
    
            @Test
            @DisplayName("resource should be AutoCloseable")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. .github/workflows/create_issue.js

        owner,
        repo,
        pull_number: pr_number
      });
      if (pr_resp.status != 200 || pr_resp.data.state != 'closed') {
        console.log(`PR:{pr_number} is not found or closed.  Not a valid condition to create an issue.`);
        console.log(pr_resp);
        throw `PR:{pr_number} needs to be valid and closed (merged)`;
      }
      const pr_title = pr_resp.data.title;
      // Assign to PR owner and reviewers
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Oct 18 23:04:59 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTransportPool#close()
         */
        @Override
        public boolean close() throws CIFSException {
            boolean inUse = false;
    
            // Cleanup first
            cleanup();
            log.debug("Closing pool");
    
            // Create a snapshot of connections to close
            List<SmbTransportImpl> toClose = new ArrayList<>(this.connections);
    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/context/AbstractCIFSContext.java

            return false;
        }
    
        /**
         * {@inheritDoc}
         *
         *
         * @see jcifs.CIFSContext#close()
         */
        @Override
        public boolean close() throws CIFSException {
            if (!this.closed) {
                Runtime.getRuntime().removeShutdownHook(this);
            }
            return false;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbNamedPipe.java

     * writes to, reads from, and closes the pipe in a single operation.
     * <li><code>TransactNamedPipe</code> A message-type pipe call that
     * writes to and reads from an existing pipe descriptor in one operation.
     * <li><code>CreateFile</code>, <code>ReadFile</code>,
     * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can
     * be opened, written to, read from and closed using the standard Win32
     * file operations.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedMultisets.java

          return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet();
        }
    
        @Override
        public SortedSet<E> headSet(@ParametricNullness E toElement) {
          return multiset().headMultiset(toElement, OPEN).elementSet();
        }
    
        @Override
        public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
          return multiset().tailMultiset(fromElement, CLOSED).elementSet();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            }
            return ioe;
        }
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public void close() throws IOException {
            try {
                file.close();
                tmp = null;
            } catch (final SmbException se) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt

    package okhttp3.internal.connection
    
    import okhttp3.Call
    import okhttp3.Connection
    import okhttp3.Route
    import okio.IOException
    
    /**
     * Listener for connection events. Extend this class to monitor the new connections and closes.
     *
     * All event methods must execute fast, without external locking, cannot throw exceptions,
     * attempt to mutate the event parameters, or be reentrant back into the client.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
        }
    
        /**
         * Closes the LSA policy handle.
         *
         * @throws IOException if an I/O error occurs
         */
        public void close() throws IOException {
            final MsrpcLsarClose rpc = new MsrpcLsarClose(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top