Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 265 for isopen (0.22 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/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)
  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/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)
  5. 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)
  6. internal/ioutil/read_file.go

    	"io"
    	"io/fs"
    	"os"
    
    	"github.com/minio/minio/internal/disk"
    )
    
    var (
    	// OpenFileDirectIO allows overriding default function.
    	OpenFileDirectIO = disk.OpenFileDirectIO
    	// OsOpen allows overriding default function.
    	OsOpen = os.Open
    	// OsOpenFile allows overriding default function.
    	OsOpenFile = os.OpenFile
    )
    
    // ReadFileWithFileInfo reads the named file and returns the contents.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 09 18:17:51 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      private val events = LinkedBlockingDeque<Any>()
      private var cancel = false
    
      fun enqueueCancel() {
        cancel = true
      }
    
      override fun onOpen(
        eventSource: EventSource,
        response: Response,
      ) {
        get().log("[ES] onOpen", Platform.INFO, null)
        events.add(Open(eventSource, response))
        drainCancelQueue(eventSource)
      }
    
      override fun onEvent(
        eventSource: EventSource,
        id: String?,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/swig/testdata/stdio/main.go

    	"os"
    )
    
    func F() int { return int(C.F()) }
    
    func main() {
    	if x := int(C.F()); x != 1 {
    		fatal("x = %d, want 1", x)
    	}
    
    	// Open this file itself and verify that the first few characters are
    	// as expected.
    	f := Fopen("main.go", "r")
    	if f.Swigcptr() == 0 {
    		fatal("fopen failed")
    	}
    	if Fgetc(f) != '/' || Fgetc(f) != '/' || Fgetc(f) != ' ' || Fgetc(f) != 'C' {
    		fatal("read unexpected characters")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 975 bytes
    - Viewed (0)
  9. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

      }
    
      // TODO(jwilson): can I read the response body? Do I have to?
      //                the body from slack is a 0-byte-buffer
      @Override public synchronized void onOpen(WebSocket webSocket, Response response) {
        System.out.println("onOpen: " + response);
      }
    
      // TOOD(jwilson): decode incoming messages and dispatch them somewhere.
      @Override public void onMessage(WebSocket webSocket, String text) {
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Nov 19 20:16:58 GMT 2016
    - 2.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/WebSocketListener.kt

       * messages.
       */
      open fun onOpen(
        webSocket: WebSocket,
        response: Response,
      ) {
      }
    
      /** Invoked when a text (type `0x1`) message has been received. */
      open fun onMessage(
        webSocket: WebSocket,
        text: String,
      ) {
      }
    
      /** Invoked when a binary (type `0x2`) message has been received. */
      open fun onMessage(
        webSocket: WebSocket,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top