Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 104 for Semicolons (0.2 sec)

  1. src/go/internal/gccgoimporter/parser.go

    	if p.tok == scanner.EOF {
    		p.error("unexpected EOF")
    	}
    	var b strings.Builder
    	b.WriteString(p.scanner.TokenText())
    	// This loop needs to examine each character before deciding whether to consume it. If we see a semicolon,
    	// we need to let it be consumed by p.next().
    	for ch := p.scanner.Peek(); ch != '\n' && ch != ';' && ch != scanner.EOF && p.scanner.Whitespace&(1<<uint(ch)) == 0; ch = p.scanner.Peek() {
    		b.WriteRune(ch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/html/entity.go

    package html
    
    import "sync"
    
    // All entities that do not end with ';' are 6 or fewer bytes long.
    const longestEntityWithoutSemicolon = 6
    
    // entity is a map from HTML entity names to their values. The semicolon matters:
    // https://html.spec.whatwg.org/multipage/named-characters.html
    // lists both "amp" and "amp;" as two separate entries.
    //
    // Note that the HTML5 list is larger than the HTML4 list at
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 31 22:10:54 UTC 2018
    - 114.3K bytes
    - Viewed (0)
  3. src/cmd/cover/cover.go

    				// a control statement, such as a labeled for.
    				if label, isLabel := stmt.(*ast.LabeledStmt); isLabel && !f.isControl(label.Stmt) {
    					newLabel := *label
    					newLabel.Stmt = &ast.EmptyStmt{
    						Semicolon: label.Stmt.Pos(),
    						Implicit:  true,
    					}
    					end = label.Pos() // Previous block ends before the label.
    					list[last] = &newLabel
    					// Open a gap and drop in the old statement, now without a label.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/help/helpdoc.go

    It is implemented by and documented in the go/build package.
    
    The GOPATH environment variable lists places to look for Go code.
    On Unix, the value is a colon-separated string.
    On Windows, the value is a semicolon-separated string.
    On Plan 9, the value is a list.
    
    If the environment variable is unset, GOPATH defaults
    to a subdirectory named "go" in the user's home directory
    ($HOME/go on Unix, %USERPROFILE%\go on Windows),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. src/path/filepath/path_test.go

    	{string([]byte{'a', lsep, 'b'}), []string{"a", "b"}},
    	{string([]byte{lsep, 'a', lsep, 'b'}), []string{"", "a", "b"}},
    }
    
    var winsplitlisttests = []SplitListTest{
    	// quoted
    	{`"a"`, []string{`a`}},
    
    	// semicolon
    	{`";"`, []string{`;`}},
    	{`"a;b"`, []string{`a;b`}},
    	{`";";`, []string{`;`, ``}},
    	{`;";"`, []string{``, `;`}},
    
    	// partially quoted
    	{`a";"b`, []string{`a;b`}},
    	{`a; ""b`, []string{`a`, ` b`}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. src/net/http/request.go

    }
    
    // AddCookie adds a cookie to the request. Per RFC 6265 section 5.4,
    // AddCookie does not attach more than one [Cookie] header field. That
    // means all cookies, if any, are written into the same line,
    // separated by semicolon.
    // AddCookie only sanitizes c's name and value, and does not sanitize
    // a Cookie header already present in the request.
    func (r *Request) AddCookie(c *Cookie) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  7. src/net/url/url_test.go

    		ok:    true,
    	}, {
    		query: "a=1;b=2",
    		out:   Values{},
    		ok:    false,
    	}, {
    		query: "a;b=1",
    		out:   Values{},
    		ok:    false,
    	}, {
    		query: "a=%3B", // hex encoding for semicolon
    		out:   Values{"a": []string{";"}},
    		ok:    true,
    	},
    	{
    		query: "a%3Bb=1",
    		out:   Values{"a;b": []string{"1"}},
    		ok:    true,
    	},
    	{
    		query: "a=1&a=2;a=banana",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  8. src/runtime/pprof/pprof_test.go

    func stackContainsLabeled(spec string, count uintptr, stk []*profile.Location, labels map[string][]string) bool {
    	base, kv, ok := strings.Cut(spec, ";")
    	if !ok {
    		panic("no semicolon in key/value spec")
    	}
    	k, v, ok := strings.Cut(kv, "=")
    	if !ok {
    		panic("missing = in key/value spec")
    	}
    	if !contains(labels[k], v) {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    0616..061A    ; valid                                  # 5.1  ARABIC SMALL HIGH LIGATURE ALEF WITH LAM WITH YEH..ARABIC SMALL KASRA
    061B          ; valid                  ;      ; NV8    # 1.1  ARABIC SEMICOLON
    061C          ; disallowed                             # 6.3  ARABIC LETTER MARK
    061D          ; valid                  ;      ; NV8    # 14.0 ARABIC END OF TEXT MARK
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    // It is implemented by and documented in the go/build package.
    //
    // The GOPATH environment variable lists places to look for Go code.
    // On Unix, the value is a colon-separated string.
    // On Windows, the value is a semicolon-separated string.
    // On Plan 9, the value is a list.
    //
    // If the environment variable is unset, GOPATH defaults
    // to a subdirectory named "go" in the user's home directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top