- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for newConn (0.13 sec)
-
staging/src/k8s.io/apiserver/pkg/util/wsstream/legacy.go
IgnoreReceives = apimachinerywsstream.IgnoreReceives NewDefaultChannelProtocols = apimachinerywsstream.NewDefaultChannelProtocols ) type Conn = apimachinerywsstream.Conn var NewConn = apimachinerywsstream.NewConn // Aliases for all exported symbols previously in "stream.go" type ReaderProtocolConfig = apimachinerywsstream.ReaderProtocolConfig
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 18:21:43 UTC 2023 - 2K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/http.go
return func() (http.RoundTripper, func(), error) { conn := newConn() return conn, closeFn(conn), nil }, noCloseFn } // Re-use the same transport for all requests. For HTTP3, this should result // in multiplexing all requests over the same connection. conn := newConn() return func() (http.RoundTripper, func(), error) { return conn, noCloseFn, nil }, closeFn(conn) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 7.9K bytes - Viewed (0) -
src/net/textproto/textproto.go
// These embedded types carry methods with them; // see the documentation of those types for details. type Conn struct { Reader Writer Pipeline conn io.ReadWriteCloser } // NewConn returns a new [Conn] using conn for I/O. func NewConn(conn io.ReadWriteCloser) *Conn { return &Conn{ Reader: Reader{R: bufio.NewReader(conn)}, Writer: Writer{W: bufio.NewWriter(conn)}, conn: conn, } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go
// streams needed to perform an exec or an attach. func createWebSocketStreams(req *http.Request, w http.ResponseWriter, opts Options) (*conns, error) { channels := createChannels(opts) conn := wsstream.NewConn(map[string]wsstream.ChannelProtocolConfig{ // WebSocket server only supports remote command version 5. constants.StreamProtocolV5Name: { Binary: true, Channels: channels, }, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 6.2K bytes - Viewed (0) -
src/net/http/fcgi/fcgi.go
type conn struct { mutex sync.Mutex rwc io.ReadWriteCloser closeErr error closed bool // to avoid allocations buf bytes.Buffer h header } func newConn(rwc io.ReadWriteCloser) *conn { return &conn{rwc: rwc} } // Close closes the conn if it is not already closed. func (c *conn) Close() error { c.mutex.Lock() defer c.mutex.Unlock() if !c.closed {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 18:51:39 UTC 2023 - 5.9K bytes - Viewed (0) -
src/net/http/export_test.go
NewLoggingConn = newLoggingConn ExportAppendTime = appendTime ExportRefererForURL = refererForURL ExportServerNewConn = (*Server).newConn ExportCloseWriteAndWait = (*conn).closeWriteAndWait ExportErrRequestCanceled = errRequestCanceled ExportErrRequestCanceledConn = errRequestCanceledConn
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:11:57 UTC 2024 - 8.7K bytes - Viewed (0) -
src/sync/cond_test.go
// license that can be found in the LICENSE file. package sync_test import ( "reflect" "runtime" . "sync" "testing" ) func TestCondSignal(t *testing.T) { var m Mutex c := NewCond(&m) n := 2 running := make(chan bool, n) awake := make(chan bool, n) for i := 0; i < n; i++ { go func() { m.Lock() running <- true c.Wait() awake <- true m.Unlock() }() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 22 18:52:42 UTC 2023 - 5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/configureObjectUsingScript/tests/configureObjectUsingScript.out
Isaac Newton
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 29 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/configureObjectUsingScript/groovy/other.gradle
// Set properties. name = "Isaac Newton"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 67 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/dial.go
if supportsHTTP11(tlsConfig.NextProtos) { tlsConfig = tlsConfig.Clone() tlsConfig.NextProtos = []string{"http/1.1"} } tlsConn := tls.Client(netConn, tlsConfig) if err := tlsConn.HandshakeContext(ctx); err != nil { netConn.Close() return nil, err } return tlsConn, nil } else { // Dial. tlsDialer := tls.Dialer{ Config: tlsConfig, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 3.8K bytes - Viewed (0)