Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,340 for connector (0.19 sec)

  1. src/net/rpc/client.go

    		}
    	}
    }
    
    // NewClient returns a new [Client] to handle requests to the
    // set of services at the other end of the connection.
    // It adds a buffer to the write side of the connection so
    // the header and payload are sent as a unit.
    //
    // The read and write halves of the connection are serialized independently,
    // so no interlocking is required. However each half may be accessed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. internal/grid/muxserver.go

    	cancel             context.CancelFunc
    	inbound            chan []byte
    	parent             *Connection
    	sendMu             sync.Mutex
    	recvMu             sync.Mutex
    	outBlock           chan struct{}
    	clientPingInterval time.Duration
    }
    
    func newMuxStateless(ctx context.Context, msg message, c *Connection, handler StatelessHandler) *muxServer {
    	var cancel context.CancelFunc
    	ctx = setCaller(ctx, c.remote)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. internal/store/store.go

    const (
    	retryInterval = 3 * time.Second
    )
    
    type logger = func(ctx context.Context, err error, id string, errKind ...interface{})
    
    // ErrNotConnected - indicates that the target connection is not active.
    var ErrNotConnected = errors.New("not connected to target server/service")
    
    // Target - store target interface
    type Target interface {
    	Name() string
    	SendFromStore(key Key) error
    }
    
    // Store - Used to persist items.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 25 16:44:20 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/net/http/httptest/server_test.go

    		c, err := net.Dial("tcp", ts.Listener.Addr().String())
    		if err != nil {
    			t.Fatal(err)
    		}
    		return c
    	}
    
    	// Keep one connection in StateNew (connected, but not sending anything)
    	cnew := dial()
    	defer cnew.Close()
    
    	// Keep one connection in StateIdle (idle after a request)
    	cidle := dial()
    	defer cidle.Close()
    	cidle.Write([]byte("HEAD / HTTP/1.1\r\nHost: foo\r\n\r\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. pilot/pkg/xds/monitoring.go

    		}
    	}
    }
    
    func isUnexpectedError(err error) bool {
    	s, ok := status.FromError(err)
    	// Unavailable or canceled code will be sent when a connection is closing down. This is very normal,
    	// due to the XDS connection being dropped every 30 minutes, or a pod shutting down.
    	isError := s.Code() != codes.Unavailable && s.Code() != codes.Canceled
    	return !ok || isError
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. src/net/tcpsock_posix.go

    		}
    	}
    	fd, err := internetSocket(ctx, sd.network, laddr, raddr, syscall.SOCK_STREAM, proto, "dial", ctrlCtxFn)
    
    	// TCP has a rarely used mechanism called a 'simultaneous connection' in
    	// which Dial("tcp", addr1, addr2) run on the machine at addr1 can
    	// connect to a simultaneous Dial("tcp", addr2, addr1) run on the machine
    	// at addr2, without either machine executing Listen. If laddr == nil,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/ConnectionListener.kt

        connection: Connection,
        route: Route,
        call: Call,
      ) {}
    
      /**
       * Invoked when a connection is released as no longer required.
       */
      open fun connectionClosed(connection: Connection) {}
    
      /**
       * Invoked when a call is assigned a particular connection.
       */
      open fun connectionAcquired(
        connection: Connection,
        call: Call,
      ) {}
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/loader/DefaultToolingImplementationLoader.java

    import org.gradle.tooling.internal.consumer.connection.AbstractConsumerConnection;
    import org.gradle.tooling.internal.consumer.connection.ConsumerConnection;
    import org.gradle.tooling.internal.consumer.connection.NoToolingApiConnection;
    import org.gradle.tooling.internal.consumer.connection.NotifyDaemonsAboutChangedPathsConsumerConnection;
    import org.gradle.tooling.internal.consumer.connection.ParameterAcceptingConsumerConnection;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/CollectorTester.java

      private final BiPredicate<? super R, ? super R> equivalence;
    
      private CollectorTester(
          Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) {
        this.collector = checkNotNull(collector);
        this.equivalence = checkNotNull(equivalence);
      }
    
      /**
       * Different orderings for combining the elements of an input array, which must all produce the
       * same result.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/rest/subresources.go

    )
    
    // ProxyREST implements the proxy subresource for a Pod
    type ProxyREST struct {
    	Store          *genericregistry.Store
    	ProxyTransport http.RoundTripper
    }
    
    // Implement Connecter
    var _ = rest.Connecter(&ProxyREST{})
    
    var proxyMethods = []string{"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"}
    
    // New returns an empty podProxyOptions object.
    func (r *ProxyREST) New() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top