Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,156 for space1 (0.24 sec)

  1. 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)
  2. src/archive/tar/strconv.go

    }
    
    func (p *parser) parseOctal(b []byte) int64 {
    	// Because unused fields are filled with NULs, we need
    	// to skip leading NULs. Fields may also be padded with
    	// spaces or NULs.
    	// So we remove leading and trailing NULs and spaces to
    	// be sure.
    	b = bytes.Trim(b, " \x00")
    
    	if len(b) == 0 {
    		return 0
    	}
    	x, perr := strconv.ParseUint(p.parseString(b), 8, 64)
    	if perr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    ceBefore",get:function(){var r=this.raws&&this.raws.spaces&&this.raws.spaces.before;return r===void 0&&(r=this.spaces&&this.spaces.before),r||""},set:function(r){(0,Tc.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=r}},{key:"rawSpaceAfter",get:function(){var r=this.raws&&this.raws.spaces&&this.raws.spaces.after;return r===void 0&&(r=this.spaces.after),r||""},set:function(r){(0,Tc.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=r}}]),i}();_r.default=Lv;Dc.exports=_r.default});var...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  4. 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)
  5. subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy

         *
         * @param cmd the command line elements to be converted
         * @return a comma-separated list of string literals
         */
        static String cmdToStringLiteral(List<String> cmd) {
            if (cmd.any { it.contains(" ") }) {
                throw new IllegalArgumentException("There is an element with space in $cmd")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/go/printer/printer.go

    	output io.Writer
    	state  int
    	space  []byte
    }
    
    // trimmer is implemented as a state machine.
    // It can be in one of the following states:
    const (
    	inSpace  = iota // inside space
    	inEscape        // inside text bracketed by tabwriter.Escapes
    	inText          // inside text
    )
    
    func (p *trimmer) resetSpace() {
    	p.state = inSpace
    	p.space = p.space[0:0]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  10. src/fmt/print.go

    // Spaces are added between operands when neither is a string.
    // It returns the number of bytes written and any write error encountered.
    func Print(a ...any) (n int, err error) {
    	return Fprint(os.Stdout, a...)
    }
    
    // Sprint formats using the default formats for its operands and returns the resulting string.
    // Spaces are added between operands when neither is a string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
Back to top