Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for isopen (0.27 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

            boolean wasOpen = isOpen();
            this.open = false;
            if ( this.input != null ) {
                this.input.close();
                this.input = null;
            }
    
            if ( this.output != null ) {
                this.output.close();
                this.output = null;
            }
    
            try {
                if ( wasOpen ) {
                    this.handle.close();
    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/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)
  4. src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js

    this.showMeridian?" "+this.meridian:"")},hideWidget:function(){this.isOpen!==!1&&(this.$element.trigger({type:"hide.timepicker",time:{value:this.getTime(),hours:this.hour,minutes:this.minute,seconds:this.second,meridian:this.meridian}}),"modal"===this.template&&this.$widget.modal?this.$widget.modal("hide"):this.$widget.removeClass("open"),a(c).off("mousedown.timepicker, touchend.timepicker",this.handleDocumentClick),this.isOpen=!1,this.$widget.detach())},highlightUnit:function(){this.position=th...
    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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

                        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)
  8. 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)
  9. src/main/java/jcifs/smb/SmbCopyUtil.java

                            if ( dfd == null || !dfd.isValid() ) {
                                // don't reopen the file for every round if it's not necessary, keep the lock
                                dfd = openCopyTargetFile(dest, src.getAttributes(), !write);
                            }
    
                            // FSCTL_SRV_COPYCHUNK_WRITE allows to open the file for writing only, FSCTL_SRV_COPYCHUNK also
                            // needs read access
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                return 0;
            }
            long start = fp;
    
            if( tmp == null ) {
                throw new IOException( "Bad file descriptor" );
            }
            // ensure file is open
            file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 );
    
            /*
             * Read AndX Request / Response
             */
    
            if( file.log.level >= 4 )
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
Back to top