Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for sendrecv (0.07 sec)

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

            throw new IOException("Failed to establish session with " + this.address);
        }
    
    
        private SmbNegotiation negotiate ( int prt ) throws IOException {
            /*
             * We cannot use Transport.sendrecv() yet because
             * the Transport thread is not setup until doConnect()
             * returns and we want to suppress all communication
             * until we have properly negotiated.
             */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        getAddress().getHostAddress() +
                        "[\\PIPE\\netdfs]", auth);
            try {
                rpc = new MsrpcDfsRootEnum(getServer());
                handle.sendrecv(rpc);
                if (rpc.retval != 0)
                    throw new SmbException(rpc.retval, true);
                return rpc.getEntries();
            } finally {
                try {
                    handle.close();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    		w.writeType(buf, typ.Elem())
    
    	case *types.Chan:
    		var s string
    		switch typ.Dir() {
    		case types.SendOnly:
    			s = "chan<- "
    		case types.RecvOnly:
    			s = "<-chan "
    		case types.SendRecv:
    			s = "chan "
    		default:
    			panic("unreachable")
    		}
    		buf.WriteString(s)
    		w.writeType(buf, typ.Elem())
    
    	case *types.Alias:
    		w.writeType(buf, types.Unalias(typ))
    
    	case *types.Named:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                }
                try ( DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + server + "[\\PIPE\\srvsvc]", getContext()) ) {
                    handle.sendrecv(rpc);
                    if ( rpc.retval != 0 ) {
                        throw new SmbException(rpc.retval, true);
                    }
                    aces = rpc.getSecurity();
                    if ( aces != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  5. internal/grid/muxclient.go

    				}
    				break reqLoop
    			}
    			// Grab a send token.
    		sendReq:
    			select {
    			case <-m.ctx.Done():
    				m.addErrorNonBlockingClose(errResp, context.Cause(m.ctx))
    				errState = true
    				continue
    			case <-pingTimer:
    				if !m.doPing(errResp) {
    					errState = true
    					continue
    				}
    				goto sendReq
    			case <-m.outBlock:
    			}
    			msg := message{
    				Op:      OpMuxClientMsg,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. internal/grid/grid_test.go

    		}(t)
    		start := time.Now()
    		if st.Requests != nil {
    			defer close(st.Requests)
    		}
    		// Fill up queue.
    		for sendReq {
    			select {
    			case st.Requests <- []byte("Hello"):
    				time.Sleep(10 * time.Millisecond)
    			default:
    				sendReq = false
    			}
    		}
    		cancel()
    		<-serverCanceled
    		t.Log("server cancel time:", time.Since(start))
    		clientEnd := <-clientCanceled
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top