Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for keyFor (0.18 sec)

  1. src/cmd/compile/internal/syntax/parser.go

    	s.Init, s.Cond, s.Post = p.header(_For)
    	s.Body = p.blockStmt("for clause")
    
    	return s
    }
    
    func (p *parser) header(keyword token) (init SimpleStmt, cond Expr, post SimpleStmt) {
    	p.want(keyword)
    
    	if p.tok == _Lbrace {
    		if keyword == _If {
    			p.syntaxError("missing condition in if statement")
    			cond = p.badExpr()
    		}
    		return
    	}
    	// p.tok != _Lbrace
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  2. src/go/printer/testdata/parser.go

    	p.declare(spec, p.topScope, ast.Var, idents...)
    
    	return spec
    }
    
    func (p *parser) parseGenDecl(keyword token.Token, f parseSpecFunction) *ast.GenDecl {
    	if p.trace {
    		defer un(trace(p, "GenDecl("+keyword.String()+")"))
    	}
    
    	doc := p.leadComment
    	pos := p.expect(keyword)
    	var lparen, rparen token.Pos
    	var list []ast.Spec
    	if p.tok == token.LPAREN {
    		lparen = p.pos
    		p.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  3. fastapi/param_functions.py

                This will be used to extract the data and for the generated OpenAPI.
                It is particularly useful when you can't use the name you want because it
                is a Python reserved keyword or similar.
                """
            ),
        ] = None,
        alias_priority: Annotated[
            Union[int, None],
            Doc(
                """
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  4. src/go/parser/parser.go

    	return spec
    }
    
    func (p *parser) parseValueSpec(doc *ast.CommentGroup, keyword token.Token, iota int) ast.Spec {
    	if p.trace {
    		defer un(trace(p, keyword.String()+"Spec"))
    	}
    
    	idents := p.parseIdentList()
    	var typ ast.Expr
    	var values []ast.Expr
    	switch keyword {
    	case token.CONST:
    		// always permit optional type and initialization for more tolerant parsing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_test.go

    		if len(loggedLine) == 0 {
    			t.Fatalf("%s: no keylog line was produced", side)
    		}
    		const expectedLen = 13 /* "CLIENT_RANDOM" */ +
    			1 /* space */ +
    			32*2 /* hex client nonce */ +
    			1 /* space */ +
    			48*2 /* hex master secret */ +
    			1 /* new line */
    		if len(loggedLine) != expectedLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json

    according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t  \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t  \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 55.4K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/types.go

    	// - '__' escapes to '__underscores__'
    	// - '.' escapes to '__dot__'
    	// - '-' escapes to '__dash__'
    	// - '/' escapes to '__slash__'
    	// - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
    	//	  "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
    	//	  "import", "let", "loop", "package", "namespace", "return".
    	// Examples:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  8. src/crypto/tls/tls_test.go

    	key, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Fatal(err)
    	}
    	keyDER, err := x509.MarshalPKCS8PrivateKey(key)
    	if err != nil {
    		t.Fatal(err)
    	}
    	keyPEM := pem.EncodeToMemory(&pem.Block{Type: "PRIVATE KEY", Bytes: keyDER})
    	tmpl := &x509.Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject:      pkix.Name{CommonName: "test"},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // - '__' escapes to '__underscores__'
      // - '.' escapes to '__dot__'
      // - '-' escapes to '__dash__'
      // - '/' escapes to '__slash__'
      // - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
      // 	  "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
      // 	  "import", "let", "loop", "package", "namespace", "return".
      // Examples:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // - '__' escapes to '__underscores__'
      // - '.' escapes to '__dot__'
      // - '-' escapes to '__dash__'
      // - '/' escapes to '__slash__'
      // - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
      // 	  "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
      // 	  "import", "let", "loop", "package", "namespace", "return".
      // Examples:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top