Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for isOpen (0.19 sec)

  1. src/main/java/jcifs/SmbPipeHandle.java

         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close () throws CIFSException;
    
    
        /**
         * @return whether the FD is open and valid
         */
        boolean isOpen ();
    
    
        /**
         * @return whether the FD was previously open but became invalid
         */
        boolean isStale ();
    
    
        /**
         * @param type
         * @return unwrapped instance
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        }
    
    
        public String getUncPath () {
            return this.uncPath;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#isOpen()
         */
        @Override
        public boolean isOpen () {
            return this.open && this.handle != null && this.handle.isValid();
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeOutputStream.java

            this.handle = handle;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbFileOutputStream#isOpen()
         */
        @Override
        public boolean isOpen () {
            return this.handle.isOpen();
        }
    
    
        @Override
        protected synchronized SmbTreeHandleImpl ensureTreeConnected () throws CIFSException {
            return this.handle.ensureTreeConnected();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     */
    
        public void write( byte[] b ) throws IOException {
            write( b, 0, b.length );
        }
    
        public boolean isOpen()
        {
            return file.isOpen();
        }
        void ensureOpen() throws IOException {
            // ensure file is open
            if( file.isOpen() == false ) {
                file.open( openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0 );
                if( append ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js

    * MIT License 
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 04:21:06 GMT 2020
    - 18.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

        }
    
        protected void doSendFragment(byte[] buf,
                        int off,
                        int length,
                        boolean isDirect) throws IOException {
            if (out != null && out.isOpen() == false)
                throw new IOException("DCERPC pipe is no longer open");
    
            if (in == null)
                in = (SmbFileInputStream)pipe.getNamedPipeInputStream();
            if (out == null)
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        }
        public int read( byte b[], int off, int len ) throws SmbException {
            if( len <= 0 ) {
                return 0;
            }
            long start = fp;
    
            // ensure file is open
            if( file.isOpen() == false ) {
                file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options );
            }
    
            int r, n;
            SmbComReadAndXResponse response = new SmbComReadAndXResponse( b, off );
            do {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       *
       * Note that the input stream may continue to yield data even after a stream reports itself as
       * not open. This is because input data is buffered.
       */
      val isOpen: Boolean
        get() {
          this.withLock {
            if (errorCode != null) {
              return false
            }
            if ((source.finished || source.closed) &&
              (sink.finished || sink.closed) &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb/SmbFileOutputStream.java

        }
    
    
        /**
         * @return whether the stream is open
         */
        public boolean isOpen () {
            return this.handle != null && this.handle.isValid();
        }
    
    
        protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            if ( !isOpen() ) {
                // one extra acquire to keep this open till the stream is released
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTree.java

         */
        int connectionState;
        int tid;
    
        String share;
        String service = "?????";
        String service0;
        SmbSession session;
        boolean inDfs, inDomainDfs;
        int tree_num; // used by SmbFile.isOpen
    
        SmbTree( SmbSession session, String share, String service ) {
            this.session = session;
            this.share = share.toUpperCase();
            if( service != null && service.startsWith( "??" ) == false ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8K bytes
    - Viewed (0)
Back to top