Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,329 for connectTo (0.24 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/UserHomeDirCrossVersionSpec.groovy

            when:
            toolingApi.withUserHome(userHomeDir)
            toolingApi.withConnector { connector ->
                connector.useGradleUserHomeDir(userHomeDir)
            }
            toolingApi.withConnection { connection ->
                BuildLauncher build = connection.newBuild()
                build.forTasks("gradleBuild");
                build.standardOutput = baos
                build.run()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/plugin/v1beta1/client.go

    	return &client{
    		resource: r,
    		socket:   socketPath,
    		handler:  h,
    	}
    }
    
    // Connect is for establishing a gRPC connection between device manager and device plugin.
    func (c *client) Connect() error {
    	client, conn, err := dial(c.socket)
    	if err != nil {
    		klog.ErrorS(err, "Unable to connect to device plugin client with socket path", "path", c.socket)
    		return err
    	}
    	c.mutex.Lock()
    	c.grpc = conn
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:35:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/syscall/tables_wasip1.go

    	EALREADY:        "Socket already connected",
    	EBADF:           "Bad file number",
    	EBADMSG:         "Trying to read unreadable message",
    	EBUSY:           "Device or resource busy",
    	ECANCELED:       "Operation canceled.",
    	ECHILD:          "No child processes",
    	ECONNABORTED:    "Connection aborted",
    	ECONNREFUSED:    "Connection refused",
    	ECONNRESET:      "Connection reset by peer",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt

      )
    
      fun connectionConnectEnd(
        connection: Connection,
        route: Route,
      )
    
      fun connectFailed(
        route: Route,
        protocol: Protocol?,
        e: IOException,
      )
    
      fun connectionAcquired(connection: Connection)
    
      fun acquireConnectionNoEvents(connection: RealConnection)
    
      fun releaseConnectionNoEvents(): Socket?
    
      fun connectionReleased(connection: Connection)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHubBackedClient.java

    public class MessageHubBackedClient implements MessagingClient {
        private final OutgoingConnector connector;
        private final ExecutorFactory executorFactory;
    
        public MessageHubBackedClient(OutgoingConnector connector, ExecutorFactory executorFactory) {
            this.connector = connector;
            this.executorFactory = executorFactory;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

      override fun connectionConnectEnd(
        connection: Connection,
        route: Route,
      ) {
        poolConnectionListener.connectEnd(connection, route, call)
      }
    
      override fun connectionAcquired(connection: Connection) {
        eventListener.connectionAcquired(call, connection)
      }
    
      override fun acquireConnectionNoEvents(connection: RealConnection) {
        call.acquireConnectionNoEvents(connection)
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/database/sql/example_cli_test.go

    package sql_test
    
    import (
    	"context"
    	"database/sql"
    	"flag"
    	"log"
    	"os"
    	"os/signal"
    	"time"
    )
    
    var pool *sql.DB // Database connection pool.
    
    func Example_openDBCLI() {
    	id := flag.Int64("id", 0, "person ID to find")
    	dsn := flag.String("dsn", os.Getenv("DSN"), "connection data source name")
    	flag.Parse()
    
    	if len(*dsn) == 0 {
    		log.Fatal("missing dsn flag")
    	}
    	if *id == 0 {
    		log.Fatal("missing person ID")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 08 17:27:54 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/proxy/doc.go

    // these proxies allow the inter-connection of WebSocket and SPDY
    // streaming connections.
    //
    // The stream translator proxy is used for the RemoteCommand
    // subprotocol (e.g. kubectl exec, cp, and attach), and it connects
    // the output streams of a WebSocket connection (e.g. STDIN, STDOUT,
    // STDERR, TTY resize, and error streams) to the input streams of a
    // SPDY connection.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 17:56:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. docs_src/websockets/tutorial003.py

        async def broadcast(self, message: str):
            for connection in self.active_connections:
                await connection.send_text(message)
    
    
    manager = ConnectionManager()
    
    
    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    @app.websocket("/ws/{client_id}")
    async def websocket_endpoint(websocket: WebSocket, client_id: int):
        await manager.connect(websocket)
        try:
            while True:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Aug 09 13:52:19 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/MessagingClient.java

    /**
     * A {@code MessagingClient} maintains a single bi-directional uni-cast object connection with some peer.
     */
    @ServiceScope(Scope.Global.class)
    public interface MessagingClient {
        /**
         * Creates a connection to the given address. Blocks until the connection has been established.
         *
         * @param address The address to connect to.
         */
        ObjectConnection getConnection(Address address);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top