Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,374 for space2 (0.12 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    	errTagValueSpace  = errors.New("suspicious space in struct tag value")
    	errTagSpace       = errors.New("key:\"value\" pairs not separated by spaces")
    )
    
    // validateStructTag parses the struct tag and returns an error if it is not
    // in the canonical format, which is a space-separated list of key:"value"
    // settings. The value may contain spaces.
    func validateStructTag(tag string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. src/cmd/gofmt/internal.go

    	// Determine and prepend leading space.
    	i, j := 0, 0
    	for j < len(src) && isSpace(src[j]) {
    		if src[j] == '\n' {
    			i = j + 1 // byte offset of last line in leading space
    		}
    		j++
    	}
    	var res []byte
    	res = append(res, src[:i]...)
    
    	// Determine and prepend indentation of first code line.
    	// Spaces are ignored unless there are no tabs,
    	// in which case spaces count as one tab.
    	indent := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
  3. src/go/format/internal.go

    	// Determine and prepend leading space.
    	i, j := 0, 0
    	for j < len(src) && isSpace(src[j]) {
    		if src[j] == '\n' {
    			i = j + 1 // byte offset of last line in leading space
    		}
    		j++
    	}
    	var res []byte
    	res = append(res, src[:i]...)
    
    	// Determine and prepend indentation of first code line.
    	// Spaces are ignored unless there are no tabs,
    	// in which case spaces count as one tab.
    	indent := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
  4. src/fmt/scan.go

    		fmtc, w := utf8.DecodeRuneInString(format[i:])
    
    		// Space processing.
    		// In the rest of this comment "space" means spaces other than newline.
    		// Newline in the format matches input of zero or more spaces and then newline or end-of-input.
    		// Spaces in the format before the newline are collapsed into the newline.
    		// Spaces in the format after the newline match zero or more spaces after the corresponding input newline.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/gccgo_link_ldflags.txt

    # Test that #cgo LDFLAGS are properly quoted.
    # The #cgo LDFLAGS below should pass a string with spaces to -L,
    # as though searching a directory with a space in its name.
    # It should not pass --nosuchoption to the external linker.
    
    [!cgo] skip
    
    go build
    
    [!exec:gccgo] skip
    
    # TODO: remove once gccgo on builder is updated
    [GOOS:aix] [GOARCH:ppc64] skip
    
    go build -compiler gccgo
    
    -- go.mod --
    module m
    -- cgo.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 06:52:47 UTC 2023
    - 499 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cgo_path_space.txt

    ! exists $WORK/log.txt
    ? go build -x
    exists $WORK/log.txt
    rm $WORK/log.txt
    
    # TODO(#41400, #43078): when CC is set explicitly, it should be allowed to
    # contain spaces separating arguments, and it should be possible to quote
    # arguments with spaces (including the path), as in CGO_CFLAGS and other
    # variables. For now, this doesn't work.
    [!GOOS:windows] env CC=$WORK/'program files'/gcc
    [GOOS:windows] env CC=$WORK\'program files'\gcc.bat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser.go

    	// credElement is fetched first to skip replacing the space in access key.
    	credElement := strings.TrimPrefix(strings.Split(strings.TrimSpace(v4Auth), ",")[0], signV4Algorithm)
    	// Replace all spaced strings, some clients can send spaced
    	// parameters and some won't. So we pro-actively remove any spaces
    	// to make parsing easier.
    	v4Auth = strings.ReplaceAll(v4Auth, " ", "")
    	if v4Auth == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/rsc.io/markdown/link.go

    	// and collapse consecutive internal spaces, tabs, and line endings to a single space.”
    	s = trimSpaceTabNewline(s)
    	var b strings.Builder
    	space := false
    	hi := false
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		switch c {
    		case ' ', '\t', '\n':
    			space = true
    			continue
    		default:
    			if space {
    				b.WriteByte(' ')
    				space = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. src/unicode/graphic.go

    // characters include letters, marks, numbers, punctuation, symbols, and the
    // ASCII space character, from categories [L], [M], [N], [P], [S] and the ASCII space
    // character. This categorization is the same as [IsGraphic] except that the
    // only spacing character is ASCII space, U+0020.
    func IsPrint(r rune) bool {
    	if uint32(r) <= MaxLatin1 {
    		return properties[uint8(r)]&pp != 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. src/go/doc/synopsis.go

    	"author",
    }
    
    // Synopsis returns a cleaned version of the first sentence in text.
    // That sentence ends after the first period followed by space and not
    // preceded by exactly one uppercase letter, or at the first paragraph break.
    // The result string has no \n, \r, or \t characters and uses only single
    // spaces between words. If text starts with any of the [IllegalPrefixes],
    // the result is the empty string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top