Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,326 for connections (0.29 sec)

  1. src/os/rawconn_test.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test use of raw connections.
    //
    //go:build !plan9 && !js && !wasip1
    
    package os_test
    
    import (
    	"os"
    	"syscall"
    	"testing"
    )
    
    func TestRawConnReadWrite(t *testing.T) {
    	t.Parallel()
    
    	r, w, err := os.Pipe()
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/database/sql/doc.txt

      truncation or other loss of precision.
    
    * Handle concurrency well.  Users shouldn't need to care about the
      database's per-connection thread safety issues (or lack thereof),
      and shouldn't have to maintain their own free pools of connections.
      The 'sql' package should deal with that bookkeeping as needed.  Given
      an *sql.DB, it should be possible to share that instance between
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 06:48:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/database/sql/driver/driver.go

    //
    // If a [Conn] implements [Validator], then the IsValid method is called
    // before returning the connection to the connection pool. If an entry in the
    // connection pool implements [SessionResetter], then ResetSession
    // is called before reusing the connection for another query. If a connection is
    // never returned to the connection pool but is immediately reused, then
    // ResetSession is called prior to reuse but IsValid is not called.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 09:04:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/JavaSystemPropertiesHttpTimeoutSettings.java

        public static final int DEFAULT_SOCKET_TIMEOUT = 30000;
        /**
         * The default time in milliseconds for an idle connection to remain open.
         * <a href="https://azure.microsoft.com/en-us/blog/new-configurable-idle-timeout-for-azure-load-balancer/">Microsoft Azure closes idle connections after 4 min</a>,
         * so we set our default to be below that.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    		}
    	}()
    
    	return serverShutdownCh, listenerStoppedCh, nil
    }
    
    // tcpKeepAliveListener sets TCP keep-alive timeouts on accepted
    // connections. It's used by ListenAndServe and ListenAndServeTLS so
    // dead TCP connections (e.g. closing laptop mid-download) eventually
    // go away.
    //
    // Copied from Go 1.7.2 net/http/server.go
    type tcpKeepAliveListener struct {
    	net.Listener
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	common := new(commonFlags)
    	cmd := &cobra.Command{
    		Use:    "connections [<type>/]<name>[.<namespace>]",
    		Hidden: true,
    		Short:  "Retrieves connections for the specified Ztunnel pod.",
    		Long:   `Retrieve information about connections for the Ztunnel instance.`,
    		Example: `  # Retrieve summary about connections for the ztunnel on a specific node.
      istioctl ztunnel-config connections --node ambient-worker
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. src/net/http/export_test.go

    // ExportCloseTransportConnsAbruptly closes all idle connections from
    // tr in an abrupt way, just reaching into the underlying Conns and
    // closing them, without telling the Transport or its persistConns
    // that it's doing so. This is to simulate the server closing connections
    // on the Transport.
    func ExportCloseTransportConnsAbruptly(tr *Transport) {
    	tr.idleMu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/plugin/v1beta1/api.go

    // and plugin directory cleanup.
    type RegistrationHandler interface {
    	CleanupPluginDirectory(string) error
    }
    
    // ClientHandler is an interface for handling device plugin connections.
    type ClientHandler interface {
    	PluginConnected(string, DevicePlugin) error
    	PluginDisconnected(string)
    	PluginListAndWatchReceiver(string, *api.ListAndWatchResponse)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 11:05:20 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. pkg/hbone/server.go

    		err = r.Body.Close()
    		if err != nil {
    			log.Infof("connection to hbone client is not closed: %v", err)
    		}
    		wg.Done()
    	}()
    	// downstream (hbone client) --> upstream (app)
    	copyBuffered(dst, r.Body, log.WithLabels("name", "body to dst"))
    	wg.Wait()
    	log.Infof("connection closed in %v", time.Since(t0))
    	return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 10 02:05:07 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/InternalBuildActionAdapter.java

    import java.io.File;
    
    /**
     * Adapter to create {@link org.gradle.tooling.internal.protocol.InternalBuildAction}
     * from an instance of {@link org.gradle.tooling.BuildAction}.
     * Used by consumer connections 1.8+.
     */
    @SuppressWarnings("deprecation")
    public class InternalBuildActionAdapter<T> implements org.gradle.tooling.internal.protocol.InternalBuildAction<T>, InternalBuildActionVersion2<T> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top