- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 57 for newConn (0.12 sec)
-
src/net/http/fcgi/fcgi_test.go
continue } if !bytes.Equal(content, test.content) { t.Errorf("%s: read wrong content", test.desc) continue } buf.Reset() c := newConn(&nilCloser{buf}) w := newWriter(c, test.recType, test.reqId) if _, err := w.Write(test.content); err != nil { t.Errorf("%s: error writing record: %v", test.desc, err) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 18:51:39 UTC 2023 - 10.6K bytes - Viewed (0) -
src/net/http/fcgi/child.go
conn *conn handler http.Handler requests map[uint16]*request // keyed by request ID } func newChild(rwc io.ReadWriteCloser, handler http.Handler) *child { return &child{ conn: newConn(rwc), handler: handler, requests: make(map[uint16]*request), } } func (c *child) serve() { defer c.conn.Close() defer c.cleanUp() var rec record for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 10.3K bytes - Viewed (0) -
src/net/textproto/reader_test.go
// Send MIME header over net.Conn r, w := net.Pipe() go func() { // ReadMIMEHeader calls canonicalMIMEHeaderKey, which reads from commonHeader NewConn(r).ReadMIMEHeader() }() w.Write([]byte("A: 1\r\nB: 2\r\nC: 3\r\n\r\n")) // CanonicalMIMEHeaderKey calls commonHeaderOnce.Do(initCommonHeader) which initializes commonHeader CanonicalMIMEHeaderKey("a")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 05 18:31:56 UTC 2024 - 14.7K bytes - Viewed (0) -
src/net/http/server.go
} // debugServerConnections controls whether all server connections are wrapped // with a verbose logging wrapper. const debugServerConnections = false // Create new connection from rwc. func (srv *Server) newConn(rwc net.Conn) *conn { c := &conn{ server: srv, rwc: rwc, } if debugServerConnections { c.rwc = newLoggingConn("server", c.rwc) } return c } type readResult struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerTest.groovy
) def addsNewConfigurationWhenConfiguringSelf() { when: configurationContainer.configure { newConf } then: configurationContainer.findByName('newConf') != null configurationContainer.newConf != null } def doesNotAddNewConfigurationWhenNotConfiguringSelf() { when: configurationContainer.getByName('unknown')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:29:40 UTC 2024 - 16.9K 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) -
pkg/controller/deployment/progress_test.go
t.Error(err) } newCond := util.GetDeploymentCondition(test.d.Status, test.conditionType) switch { case newCond == nil: if test.d.Spec.ProgressDeadlineSeconds != nil && *test.d.Spec.ProgressDeadlineSeconds != math.MaxInt32 { t.Errorf("%s: expected deployment condition: %s", test.name, test.conditionType) } case newCond.Status != test.conditionStatus || newCond.Reason != test.conditionReason:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.3K bytes - Viewed (0)