Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for startPos (0.18 sec)

  1. src/cmd/compile/internal/types2/typexpr.go

    	// to interface methods. Delay this check to the end of type-checking.
    	check.later(func() {
    		if t, _ := under(typ).(*Interface); t != nil {
    			pos := syntax.StartPos(e)
    			tset := computeInterfaceTypeSet(check, pos, t) // TODO(gri) is this the correct position?
    			if !tset.IsMethodSet() {
    				if tset.comparable {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/resolver.go

    		// The package identifier denotes the current package,
    		// but there is no corresponding package object.
    		check.recordDef(file.PkgName, nil)
    
    		fileScope := NewScope(pkg.scope, syntax.StartPos(file), syntax.EndPos(file), check.filename(fileNo))
    		fileScopes = append(fileScopes, fileScope)
    		check.recordScope(file, fileScope)
    
    		// determine file directory, necessary to resolve imports
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/call.go

    		tparams := typ.TypeParams().list()
    		if i, err := check.verify(pos, tparams, targs, check.context()); err != nil {
    			// best position for error reporting
    			pos := pos
    			if i < len(xlist) {
    				pos = syntax.StartPos(xlist[i])
    			}
    			check.softErrorf(pos, InvalidTypeArg, "%s", err)
    		} else {
    			check.mono.recordInstance(check.pkg, pos, tparams, targs, xlist)
    		}
    	}).describef(pos, "verify instantiation")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  4. src/net/smtp/smtp.go

    	}
    	c.ext = ext
    	return err
    }
    
    // StartTLS sends the STARTTLS command and encrypts all further communication.
    // Only servers that advertise the STARTTLS extension support this function.
    func (c *Client) StartTLS(config *tls.Config) error {
    	if err := c.hello(); err != nil {
    		return err
    	}
    	_, _, err := c.cmd(220, "STARTTLS")
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. src/net/http/httptest/server.go

    	// NewUnstartedServer and calling Server.StartTLS.
    	EnableHTTP2 bool
    
    	// TLS is the optional TLS configuration, populated with a new config
    	// after TLS is started. If set on an unstarted server before StartTLS
    	// is called, existing fields are copied into the new config.
    	TLS *tls.Config
    
    	// Config may be changed after calling NewUnstartedServer and
    	// before Start or StartTLS.
    	Config *http.Server
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

          visited.insert(operand);
        }
      }
    }
    
    void FindConsumedOp(Operation *start_op,
                        llvm::DenseSet<Operation *> &consumed_ops) {
      if (consumed_ops.contains(start_op)) return;
      std::vector<Operation *> queue;
      queue.push_back(start_op);
      consumed_ops.insert(start_op);
      while (!queue.empty()) {
        auto op = queue.back();
        queue.pop_back();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/net/smtp/smtp_test.go

    			t.Errorf("Client dial: %v", err)
    			return
    		}
    		defer c.Quit()
    		cfg := &tls.Config{ServerName: "example.com"}
    		testHookStartTLS(cfg) // set the RootCAs
    		if err := c.StartTLS(cfg); err != nil {
    			t.Errorf("StartTLS: %v", err)
    			return
    		}
    		cs, ok := c.TLSConnectionState()
    		if !ok {
    			t.Errorf("TLSConnectionState returned ok == false; want true")
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. docs/sts/ldap.md

    MINIO_IDENTITY_LDAP_SERVER_STARTTLS         (on|off)    use StartTLS connection to AD/LDAP server, defaults to "off"
    ```
    
    The server address variable is _required_. TLS is assumed to be on by default. The port in the server address is optional and defaults to 636 if not provided.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler_test.go

    	server := httptest.NewUnstartedServer(handler)
    	server.EnableHTTP2 = true
    	server.StartTLS()
    	cli := server.Client()
    	cli.Timeout = clientTimeout
    	return server, func(req *http.Request) (*http.Response, error) {
    		return cli.Do(req)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. pkg/spiffe/spiffe_test.go

    	}
    
    	server.TLS = &tls.Config{
    		Certificates: []tls.Certificate{
    			{
    				Certificate: serverCert,
    				PrivateKey:  privateKey,
    			},
    		},
    		MinVersion: tls.VersionTLS12,
    	}
    	server.StartTLS()
    	defer server.Close()
    
    	testCases := []struct {
    		name        string
    		certMap     map[string][]string
    		errContains string
    	}{
    		{
    			name:    "Successful validation",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top