Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,687 for con1 (0.18 sec)

  1. internal/kms/config.go

    				return nil, err
    			}
    			certificate.Watch(ctx, 15*time.Minute, syscall.SIGHUP)
    
    			conf.GetClientCertificate = func(*tls.CertificateRequestInfo) (*tls.Certificate, error) {
    				cert := certificate.Get()
    				return &cert, nil
    			}
    		}
    
    		var caDir string
    		if opts != nil {
    			caDir = opts.CADir
    		}
    		conf.RootCAs, err = certs.GetRootCAs(env.Get(EnvKESServerCA, caDir))
    		if err != nil {
    			return nil, err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 14:31:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParserTest.groovy

                    <configurations><conf name="a"/><conf name="b"/><conf name="c"/><conf name="d"/><conf name="e"/></configurations>
                    <publications>
                        <artifact name='art' type='type' ext='ext' conf='a,b'/>
                        <artifact name='art' type='type' ext='ext' conf='b,c'/>
                    </publications>
                </ivy-module>
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 33.8K bytes
    - Viewed (0)
  7. 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)
  8. internal/grid/connection.go

    }
    
    // monitorState will monitor the state of the connection and close the net.Conn if it changes.
    func (c *Connection) monitorState(conn net.Conn, cancel context.CancelCauseFunc) {
    	c.connChange.L.Lock()
    	defer c.connChange.L.Unlock()
    	for {
    		newState := c.State()
    		if newState != StateConnected {
    			conn.Close()
    			cancel(ErrDisconnected)
    			return
    		}
    		// Unlock and wait for state change.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/validation/validation_test.go

    			conf.SerializeImagePulls = true
    			return conf
    		},
    	}, {
    		name: "specify ServerTLSBootstrap without enabling RotateKubeletServerCertificate",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			conf.FeatureGates = map[string]bool{"RotateKubeletServerCertificate": false}
    			conf.ServerTLSBootstrap = true
    			return conf
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/test-full.xml

    			<conf name="myconf1" mapped="yourconf1"/>
    			<conf name="myconf2" mapped="yourconf1, yourconf2"/>
    		</dependency>
    
    		<dependency org="yourorg" name="yourmodule7" rev="7.1">
    			<conf name="myconf1">
    				<mapped name="yourconf1"/>
    			</conf>
    			<conf name="myconf2">
    				<mapped name="yourconf1"/>
    				<mapped name="yourconf2"/>
    			</conf>
    		</dependency>
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top