Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 523 for spacer (0.12 sec)

  1. src/fmt/scan_test.go

    		{"space vs newline 0010", "1\n2", "%d \n%d", 2, true},
    		{"space vs newline 0011", "1\n2", "%d \n %d", 2, true},
    		{"space vs newline 0100", "1\n 2", "%d\n%d", 2, true},
    		{"space vs newline 0101", "1\n 2", "%d\n%d ", 2, true},
    		{"space vs newline 0110", "1\n 2", "%d \n%d", 2, true},
    		{"space vs newline 0111", "1\n 2", "%d \n %d", 2, true},
    		{"space vs newline 1000", "1 \n2", "%d\n%d", 2, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/html.go

    	// “A closing tag consists of the string </, a tag name,
    	// optional spaces, tabs, and up to one line ending, and the character >.”
    	if i+2 >= len(s) || s[i] != '<' || s[i+1] != '/' {
    		return nil, 0, false
    	}
    	if skipSpace(s, i+2) != i+2 {
    		// Goldmark allows spaces here but the spec and the Dingus do not.
    		p.corner = true
    	}
    
    	if _, j, ok := parseTagName(s, i+2); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/util.go

    // Not even worth sorting.
    var regSpace []regSet
    
    /*
    	Each architecture defines a register space as a unique
    	integer range.
    	Here is the list of architectures and the base of their register spaces.
    */
    
    const (
    	// Because of masking operations in the encodings, each register
    	// space should start at 0 modulo some power of 2.
    	RBase386     = 1 * 1024
    	RBaseAMD64   = 2 * 1024
    	RBaseARM     = 3 * 1024
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/generate/generate.go

    		directives whose full original source text (excluding
    		any trailing spaces and final newline) matches the
    		expression.
    
    	-skip=""
    		if non-empty, specifies a regular expression to suppress
    		directives whose full original source text (excluding
    		any trailing spaces and final newline) matches the
    		expression. If a directive matches both the -run and
    		the -skip arguments, it is skipped.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. src/fmt/format.go

    		prec = f.prec
    	}
    	// Format number, reserving space for leading + sign if needed.
    	num := strconv.AppendFloat(f.intbuf[:1], v, byte(verb), prec, size)
    	if num[1] == '-' || num[1] == '+' {
    		num = num[1:]
    	} else {
    		num[0] = '+'
    	}
    	// f.space means to add a leading space instead of a "+" sign unless
    	// the sign is explicitly asked for by f.plus.
    	if f.space && num[0] == '+' && !f.plus {
    		num[0] = ' '
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/text/template/parse/parse_test.go

    		`{{with .X}}"X"{{else}}{{with .Y}}"Y"{{else}}{{with .Z}}"Z"{{end}}{{end}}{{end}}`},
    	// Trimming spaces.
    	{"trim left", "x \r\n\t{{- 3}}", noError, `"x"{{3}}`},
    	{"trim right", "{{3 -}}\n\n\ty", noError, `{{3}}"y"`},
    	{"trim left and right", "x \r\n\t{{- 3 -}}\n\n\ty", noError, `"x"{{3}}"y"`},
    	{"trim with extra spaces", "x\n{{-  3   -}}\ny", noError, `"x"{{3}}"y"`},
    	{"comment trim left", "x \r\n\t{{- /* hi */}}", noError, `"x"`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. src/net/textproto/reader_test.go

    	if cookie != sdata {
    		t.Fatalf("ReadMIMEHeader: %v bytes, want %v bytes", len(cookie), len(sdata))
    	}
    }
    
    // TestReadMIMEHeaderNonCompliant checks that we don't normalize headers
    // with spaces before colons, and accept spaces in keys.
    func TestReadMIMEHeaderNonCompliant(t *testing.T) {
    	// These invalid headers will be rejected by net/http according to RFC 7230.
    	r := reader("Foo: bar\r\n" +
    		"Content-Language: en\r\n" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. src/runtime/mpagealloc.go

    // quite large for system with large address spaces, so in these cases they are mapped
    // into memory as needed. The leaf summaries of the tree correspond to a bitmap chunk.
    //
    // The root level (referred to as L0 and index 0 in pageAlloc.summary) has each
    // summary represent the largest section of address space (16 GiB on 64-bit systems),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modindex/build_read.go

    		r.pos.Column = 1
    	} else {
    		r.pos.Column++
    	}
    	return c
    }
    
    // peekByte returns the next byte from the input reader but does not advance beyond it.
    // If skipSpace is set, peekByte skips leading spaces and comments.
    func (r *importReader) peekByte(skipSpace bool) byte {
    	if r.err != nil {
    		if r.nerr++; r.nerr > 10000 {
    			panic("go/build: import reader looping")
    		}
    		return 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 13K bytes
    - Viewed (0)
  10. src/net/http/cookie_test.go

    		``,
    	},
    	// Quoted values (issue #46443)
    	{
    		&Cookie{Name: "cookie", Value: "quoted", Quoted: true},
    		`cookie="quoted"`,
    	},
    	{
    		&Cookie{Name: "cookie", Value: "quoted with spaces", Quoted: true},
    		`cookie="quoted with spaces"`,
    	},
    	{
    		&Cookie{Name: "cookie", Value: "quoted,with,commas", Quoted: true},
    		`cookie="quoted,with,commas"`,
    	},
    }
    
    func TestWriteSetCookies(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top