Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 366 for connc (0.05 sec)

  1. src/database/sql/driver/driver.go

    // Pinger is an optional interface that may be implemented by a [Conn].
    //
    // If a [Conn] does not implement Pinger, the [database/sql.DB.Ping] and
    // [database/sql.DB.PingContext] will check if there is at least one [Conn] available.
    //
    // If Conn.Ping returns [ErrBadConn], [database/sql.DB.Ping] and [database/sql.DB.PingContext] will remove
    // the [Conn] from pool.
    type Pinger interface {
    	Ping(ctx context.Context) error
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 09:04:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  2. pilot/pkg/autoregistration/controller.go

    				return nil
    			}
    			conns := c.adsConnections.ConnectionsForGroup(key)
    			for _, conn := range conns {
    				proxy := conn.Proxy()
    				entryName := autoregisteredWorkloadEntryName(proxy)
    				if entryName == "" {
    					continue
    				}
    				if err := c.registerWorkload(entryName, proxy, conn.ConnectedAt()); err != nil {
    					log.Error(err)
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  3. src/net/http/transport.go

    		f(w)
    	}
    }
    
    func (t *Transport) customDialTLS(ctx context.Context, network, addr string) (conn net.Conn, err error) {
    	if t.DialTLSContext != nil {
    		conn, err = t.DialTLSContext(ctx, network, addr)
    	} else {
    		conn, err = t.DialTLS(network, addr)
    	}
    	if conn == nil && err == nil {
    		err = errors.New("net/http: Transport.DialTLS or DialTLSContext returned (nil, nil)")
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  4. src/net/net.go

    	// A zero value for t means Write will not time out.
    	SetWriteDeadline(t time.Time) error
    }
    
    type conn struct {
    	fd *netFD
    }
    
    func (c *conn) ok() bool { return c != nil && c.fd != nil }
    
    // Implementation of the Conn interface.
    
    // Read implements the Conn Read method.
    func (c *conn) Read(b []byte) (int, error) {
    	if !c.ok() {
    		return 0, syscall.EINVAL
    	}
    	n, err := c.fd.Read(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. src/net/textproto/textproto.go

    func NewConn(conn io.ReadWriteCloser) *Conn {
    	return &Conn{
    		Reader: Reader{R: bufio.NewReader(conn)},
    		Writer: Writer{W: bufio.NewWriter(conn)},
    		conn:   conn,
    	}
    }
    
    // Close closes the connection.
    func (c *Conn) Close() error {
    	return c.conn.Close()
    }
    
    // Dial connects to the given address on the given network using [net.Dial]
    // and then returns a new [Conn] for the connection.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/net/http/server.go

    		return len(p), nil
    	}
    	if cw.chunking {
    		_, err = fmt.Fprintf(cw.res.conn.bufw, "%x\r\n", len(p))
    		if err != nil {
    			cw.res.conn.rwc.Close()
    			return
    		}
    	}
    	n, err = cw.res.conn.bufw.Write(p)
    	if cw.chunking && err == nil {
    		_, err = cw.res.conn.bufw.Write(crlf)
    	}
    	if err != nil {
    		cw.res.conn.rwc.Close()
    	}
    	return
    }
    
    func (cw *chunkWriter) flush() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  7. src/net/http/h2_bundle.go

    	// An outflow is kept both on a conn and a per-stream.
    	n int32
    
    	// conn points to the shared connection-level outflow that is
    	// shared by all streams on that conn. It is nil for the outflow
    	// that's on the conn directly.
    	conn *http2outflow
    }
    
    func (f *http2outflow) setConnFlow(cf *http2outflow) { f.conn = cf }
    
    func (f *http2outflow) available() int32 {
    	n := f.n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            for ( SmbTransportImpl conn : this.connections ) {
                if ( conn.matches(address, port, localAddr, localPort, hostName)
                        && ( tc.getConfig().getSessionLimit() == 0 || conn.getNumSessions() < tc.getConfig().getSessionLimit() ) ) {
                    try {
                        if ( conn.isFailed() || ( connectedOnly && conn.isDisconnected() ) ) {
                            continue;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  9. pilot/pkg/xds/adstest.go

    )
    
    func NewAdsTest(t test.Failer, conn *grpc.ClientConn) *AdsTest {
    	return NewXdsTest(t, conn, func(conn *grpc.ClientConn) (DiscoveryClient, error) {
    		xds := discovery.NewAggregatedDiscoveryServiceClient(conn)
    		return xds.StreamAggregatedResources(context.Background())
    	})
    }
    
    func NewSdsTest(t test.Failer, conn *grpc.ClientConn) *AdsTest {
    	return NewXdsTest(t, conn, func(conn *grpc.ClientConn) (DiscoveryClient, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/crypto/tls/tls.go

    	"net"
    	"os"
    	"strings"
    )
    
    // Server returns a new TLS server side connection
    // using conn as the underlying transport.
    // The configuration config must be non-nil and must include
    // at least one certificate or else set GetCertificate.
    func Server(conn net.Conn, config *Config) *Conn {
    	c := &Conn{
    		conn:   conn,
    		config: config,
    	}
    	c.handshakeFn = c.serverHandshake
    	return c
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top