Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 104 for Semicolons (0.26 sec)

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

    	p.nlcount = 0
    }
    
    func (p *printer) writeString(s string) {
    	p.writeBytes([]byte(s))
    }
    
    // If impliesSemi returns true for a non-blank line's final token tok,
    // a semicolon is automatically inserted. Vice versa, a semicolon may
    // be omitted in those cases.
    func impliesSemi(tok token) bool {
    	switch tok {
    	case _Name,
    		_Break, _Continue, _Fallthrough, _Return,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  2. src/go/build/doc.go

    // Go tree. The default path is the value of the GOPATH environment
    // variable, interpreted as a path list appropriate to the operating system
    // (on Unix, the variable is a colon-separated string;
    // on Windows, a semicolon-separated string;
    // on Plan 9, a list).
    //
    // Each directory listed in the Go path must have a prescribed structure:
    //
    // The src/ directory holds source code. The path below 'src' determines
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/go/ast/ast.go

    	}
    
    	// An EmptyStmt node represents an empty statement.
    	// The "position" of the empty statement is the position
    	// of the immediately following (explicit or implicit) semicolon.
    	//
    	EmptyStmt struct {
    		Semicolon token.Pos // position of following ";"
    		Implicit  bool      // if set, ";" was omitted in the source
    	}
    
    	// A LabeledStmt node represents a labeled statement.
    	LabeledStmt struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner.go

    	// current token, valid after calling next()
    	line, col uint
    	blank     bool // line is blank up to col
    	tok       token
    	lit       string   // valid if tok is _Name, _Literal, or _Semi ("semicolon", "newline", or "EOF"); may be malformed if bad is true
    	bad       bool     // valid if tok is _Literal, true if a syntax error occurred, lit may be malformed
    	kind      LitKind  // valid if tok is _Literal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/troubleshooting/version_catalog_problems.adoc

    Therefore this usually means that you have a notation which consists of a string, but which doesn't separate the plugin id from the plugin version using a semicolon.
    
    [[alias_not_finished]]
    == Alias not finished
    
    This error indicates that an alias builder was created, but never registered with the catalog. This is usually because
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 13 21:49:09 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/scanner_test.go

    		}
    
    		if got.tok != want.tok {
    			t.Errorf("%s: got tok %s; want %s", src, got.tok, want.tok)
    			continue
    		}
    
    		switch want.tok {
    		case _Semi:
    			if got.lit != "semicolon" {
    				t.Errorf("%s: got %s; want semicolon", src, got.lit)
    			}
    
    		case _Name, _Literal:
    			if got.lit != want.src {
    				t.Errorf("%s: got lit %q; want %q", src, got.lit, want.src)
    				continue
    			}
    			nlsemi = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    			if idx > 0 {
    				buf.WriteByte(',')
    			}
    			buf.WriteString(signV4TrimAll(v))
    		}
    		buf.WriteByte('\n')
    	}
    	return buf.String()
    }
    
    // getSignedHeaders generate a string i.e alphabetically sorted, semicolon-separated list of lowercase request header names
    func getSignedHeaders(signedHeaders http.Header) string {
    	var headers []string
    	for k := range signedHeaders {
    		headers = append(headers, strings.ToLower(k))
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. src/net/http/request_test.go

    // multi-part form when a URL containing a semicolon is provided.
    func TestParseMultipartFormSemicolonSeparator(t *testing.T) {
    	req := newTestMultipartRequest(t)
    	req.URL = &url.URL{RawQuery: "q=foo;q=bar"}
    	if err := req.ParseMultipartForm(25); err == nil {
    		t.Fatal("ParseMultipartForm expected error due to invalid semicolon, got nil")
    	}
    	defer req.MultipartForm.RemoveAll()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    				DefaultWatchCacheSize:   100,
    				EtcdServersOverrides:    []string{"/events/http://127.0.0.1:4002"},
    			},
    			expectErr: "--etcd-servers-overrides invalid, must be of format: group/resource#servers, where servers are URLs, semicolon separated",
    		},
    		{
    			name: "test when encryption-provider-config-automatic-reload is invalid",
    			testOptions: &EtcdOptions{
    				StorageConfig: storagebackend.Config{
    					Type:   "etcd3",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. src/go/parser/parser_test.go

    	}
    
    	// a valid expression followed by extra tokens is invalid
    	src = "a[i] := x"
    	if _, err := ParseExpr(src); err == nil {
    		t.Errorf("ParseExpr(%q): got no error", src)
    	}
    
    	// a semicolon is not permitted unless automatically inserted
    	src = "a + b\n"
    	if _, err := ParseExpr(src); err != nil {
    		t.Errorf("ParseExpr(%q): got error %s", src, err)
    	}
    	src = "a + b;"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top