- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,682 for con2 (0.06 sec)
-
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) -
pkg/kubelet/cm/devicemanager/pod_devices_test.go
expectResourceDeviceInstances(t, resp, expected) cond = map[string]sets.Set[string]{ "foo": sets.New[string]("dev-foo1", "dev-foo2"), "bar": sets.New[string]("dev-bar1"), } resp = devs.Filter(cond) expected = `{"bar":{"dev-bar1":{"ID":"bar1"}},"foo":{"dev-foo1":{"ID":"foo1"},"dev-foo2":{"ID":"foo2"}}}` expectResourceDeviceInstances(t, resp, expected) cond = map[string]sets.Set[string]{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0) -
src/net/http/server.go
type connReader struct { conn *conn mu sync.Mutex // guards following hasByte bool byteBuf [1]byte cond *sync.Cond inRead bool aborted bool // set true before conn.rwc deadline is set to past remain int64 // bytes remaining } func (cr *connReader) lock() { cr.mu.Lock() if cr.cond == nil { cr.cond = sync.NewCond(&cr.mu) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go
var conf *socks5.Config if creds != nil { authenticator := socks5.UserPassAuthenticator{Credentials: creds} conf = &socks5.Config{ AuthMethods: []socks5.Authenticator{authenticator}, Rewriter: interceptor, } } else { conf = &socks5.Config{Rewriter: interceptor} } ts, err := socks5.New(conf) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 32.7K bytes - Viewed (0) -
src/net/main_conf_test.go
t.Run("default resolver", f) t.Run("forced go resolver", func(t *testing.T) { // On plan9 the forceGoDNS might not force the go resolver, currently // it is only forced when the Resolver.Dial field is populated. // See conf.go mustUseGoResolver. defer forceGoDNS()() f(t) }) t.Run("forced cgo resolver", func(t *testing.T) { defer forceCgoDNS()() f(t) }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 20:29:27 UTC 2024 - 2.5K bytes - Viewed (0) -
src/database/sql/fakedb_test.go
openCount int // conn opens closeCount int // conn closes waitCh chan struct{} waitingCh chan struct{} dbs map[string]*fakeDB } type fakeConnector struct { name string waiter func(context.Context) closed bool } func (c *fakeConnector) Connect(context.Context) (driver.Conn, error) { conn, err := fdriver.Open(c.name) conn.(*fakeConn).waiter = c.waiter
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 76.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/async_while.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 22.2K bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
if err != nil { return nil, err } conf := &resolvConfTest{ dir: dir, path: path.Join(dir, "resolv.conf"), resolverConfig: &resolvConf, } conf.initOnce.Do(conf.init) return conf, nil } func (conf *resolvConfTest) write(lines []string) error { f, err := os.OpenFile(conf.path, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0600) if err != nil { return err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
tools/bug-report/pkg/cluster/cluster_test.go
}, { "tested container not skip", &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "in-test1", }, Spec: v1.PodSpec{ Containers: []v1.Container{ { Name: "in-con1", }, }, }, }, &config2.BugReportConfig{ Include: []*config2.SelectionSpec{ { Pods: []string{"in-"}, Containers: []string{"in-"}, }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 06 17:23:32 UTC 2023 - 11K bytes - Viewed (0)