Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for doClose (0.19 sec)

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

            this.treeHandle = th.acquire();
            try {
                this.next = open();
                if ( this.next == null ) {
                    doClose();
                }
            }
            catch ( Exception e ) {
                doClose();
                throw e;
            }
    
        }
    
    
        /**
         * @return the treeHandle
         */
        public final SmbTreeHandleImpl getTreeHandle () {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        setupCloseable(false);
        doClose(mockCloseable, false, false);
    
        setupCloseable(false);
        doClose(mockCloseable, true, false);
      }
    
      public void testClose_closeableWithEatenException() throws IOException {
        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception.
        setupCloseable(true);
        doClose(mockCloseable, true);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CloseablesTest.java

        setupCloseable(false);
        doClose(mockCloseable, false, false);
    
        setupCloseable(false);
        doClose(mockCloseable, true, false);
      }
    
      public void testClose_closeableWithEatenException() throws IOException {
        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception.
        setupCloseable(true);
        doClose(mockCloseable, true);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NetServerEnumIterator.java

         * @see jcifs.CloseableIterator#close()
         */
        @Override
        public void close () throws CIFSException {
            if ( this.next != null ) {
                doClose();
            }
        }
    
    
        /**
         * 
         */
        private void doClose () {
            this.treeHandle.release();
            this.next = null;
        }
    
    
        @Override
        public void remove () {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                    doClose();
                    return null;
                }
                throw e;
            }
    
            this.response.setSubCommand(SmbComTransaction.TRANS2_FIND_NEXT2);
            FileEntry n = advance(false);
            if ( n == null ) {
                doClose();
            }
            return n;
        }
    
    
        /**
         * {@inheritDoc}
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

                    // this simply indicates an empty listing
                    doClose();
                    return null;
                }
    
                throw e;
            }
            this.fileId = createResp.getFileId();
            this.response = query.getResponse();
            FileEntry n = advance(false);
            if ( n == null ) {
                doClose();
            }
            return n;
        }
    
    
        /**
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 16:15:08 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  7. architecture-standards/0001-use-architectural-decision-records.md

    20YY-MM-DD
    
    ## Context
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
    occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Wed Feb 07 00:43:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. architecture/standards/0001-use-architectural-decision-records.md

    20YY-MM-DD
    
    ## Context
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
    occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Mar 02 21:54:40 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        public boolean close () throws CIFSException {
            boolean inUse = false;
    
            List<SmbTransportImpl> toClose;
            synchronized ( this.connections ) {
                cleanup();
                log.debug("Closing pool");
                toClose = new LinkedList<>(this.connections);
                toClose.addAll(this.nonPooledConnections);
                this.connections.clear();
                this.nonPooledConnections.clear();
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        if (connectionUser.candidateConnection() != null) {
          check(toClose == null)
          return ReusePlan(candidate)
        }
    
        // The call's connection was released.
        toClose?.closeQuietly()
        connectionUser.connectionReleased(candidate)
        connectionUser.connectionConnectionReleased(candidate)
        if (toClose != null) {
          connectionUser.connectionConnectionClosed(candidate)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top