Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for trailing_space (0.36 sec)

  1. src/cmd/internal/quoted/quoted_test.go

    	}{
    		{name: "empty", value: "", want: nil},
    		{name: "space", value: " ", want: nil},
    		{name: "one", value: "a", want: []string{"a"}},
    		{name: "leading_space", value: " a", want: []string{"a"}},
    		{name: "trailing_space", value: "a ", want: []string{"a"}},
    		{name: "two", value: "a b", want: []string{"a", "b"}},
    		{name: "two_multi_space", value: "a  b", want: []string{"a", "b"}},
    		{name: "two_tab", value: "a\tb", want: []string{"a", "b"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 27 16:39:27 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. src/fmt/scan.go

    		// Other spaces in the format match input of one or more spaces or end-of-input.
    		if isSpace(fmtc) {
    			newlines := 0
    			trailingSpace := false
    			for isSpace(fmtc) && i < len(format) {
    				if fmtc == '\n' {
    					newlines++
    					trailingSpace = false
    				} else {
    					trailingSpace = true
    				}
    				i += w
    				fmtc, w = utf8.DecodeRuneInString(format[i:])
    			}
    			for j := 0; j < newlines; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top