Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 122 for June (0.06 sec)

  1. src/internal/types/testdata/check/stmt0.go

    	for range cs {}
    	for range "" {}
    	for i, x := range cs { _, _ = i, x }
    	for i, x := range "" {
    		var ii int
    		ii = i
    		_ = ii
    		var xx rune
    		xx = x
    		_ = xx
    	}
    }
    
    func rangeloops2() {
    	type I int
    	type R rune
    
    	var a [10]int
    	var i I
    	_ = i
    	for i /* ERRORx `cannot use .* in assignment` */ = range a {}
    	for i /* ERRORx `cannot use .* in assignment` */ = range &a {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    			bufioWriterPool.Put(bufioWriter)
    		}()
    
    		bufioWriter.Reset(buf)
    		opts := sql.WriteCSVOpts{
    			FieldDelimiter: []rune(s3Select.Output.CSVArgs.FieldDelimiter)[0],
    			Quote:          []rune(s3Select.Output.CSVArgs.QuoteCharacter)[0],
    			QuoteEscape:    []rune(s3Select.Output.CSVArgs.QuoteEscapeCharacter)[0],
    			AlwaysQuote:    strings.EqualFold(s3Select.Output.CSVArgs.QuoteFields, "always"),
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/module/module.go

    // The first element of the path must be an LDH domain name, at least for now.
    // To avoid case ambiguity, the domain name must be entirely lower case.
    func firstPathOK(r rune) bool {
    	return r == '-' || r == '.' ||
    		'0' <= r && r <= '9' ||
    		'a' <= r && r <= 'z'
    }
    
    // modPathOK reports whether r can appear in a module path element.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. src/text/template/funcs.go

    )
    
    // JSEscape writes to w the escaped JavaScript equivalent of the plain text data b.
    func JSEscape(w io.Writer, b []byte) {
    	last := 0
    	for i := 0; i < len(b); i++ {
    		c := b[i]
    
    		if !jsIsSpecial(rune(c)) {
    			// fast path: nothing to do
    			continue
    		}
    		w.Write(b[last:i])
    
    		if c < utf8.RuneSelf {
    			// Quotes, slashes and angle brackets get quoted.
    			// Control characters get written as \u00XX.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api_test.go

    		{`package c1b; var _ = int(0)`, `int(0)`, `int`, `0`},
    		{`package c1c; type T int; var _ = T(0)`, `T(0)`, `c1c.T`, `0`},
    
    		{`package c2a; var _ = rune('A')`, `'A'`, `rune`, `65`},
    		{`package c2b; var _ = rune('A')`, `rune('A')`, `rune`, `65`},
    		{`package c2c; type T rune; var _ = T('A')`, `T('A')`, `c2c.T`, `65`},
    
    		{`package c3a; var _ = float32(0.)`, `0.`, `float32`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/predicates.go

    	if x == y {
    		return true
    	}
    
    	if c.ignoreInvalids && (!isValid(x) || !isValid(y)) {
    		return true
    	}
    
    	switch x := x.(type) {
    	case *Basic:
    		// Basic types are singletons except for the rune and byte
    		// aliases, thus we cannot solely rely on the x == y check
    		// above. See also comment in TypeName.IsAlias.
    		if y, ok := y.(*Basic); ok {
    			return x.kind == y.kind
    		}
    
    	case *Array:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    		{`package c1b; var _ = int(0)`, `int(0)`, `int`, `0`},
    		{`package c1c; type T int; var _ = T(0)`, `T(0)`, `c1c.T`, `0`},
    
    		{`package c2a; var _ = rune('A')`, `'A'`, `rune`, `65`},
    		{`package c2b; var _ = rune('A')`, `rune('A')`, `rune`, `65`},
    		{`package c2c; type T rune; var _ = T('A')`, `T('A')`, `c2c.T`, `65`},
    
    		{`package c3a; var _ = float32(0.)`, `0.`, `float32`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  8. src/go/build/build.go

    	var args []string
    	arg := make([]rune, len(s))
    	escaped := false
    	quoted := false
    	quote := '\x00'
    	i := 0
    	for _, rune := range s {
    		switch {
    		case escaped:
    			escaped = false
    		case rune == '\\':
    			escaped = true
    			continue
    		case quote != '\x00':
    			if rune == quote {
    				quote = '\x00'
    				continue
    			}
    		case rune == '"' || rune == '\'':
    			quoted = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/inline.go

    	}
    
    	return &emphPlain{Plain: Plain{s[i:j]}, canOpen: canOpen, canClose: canClose, n: j - i}, i, j, true
    }
    
    func isUnicodeSpace(r rune) bool {
    	if r < 0x80 {
    		return r == ' ' || r == '\t' || r == '\f' || r == '\n'
    	}
    	return unicode.In(r, unicode.Zs)
    }
    
    func isUnicodePunct(r rune) bool {
    	if r < 0x80 {
    		return isPunct(byte(r))
    	}
    	return unicode.In(r, unicode.Punct)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. src/encoding/json/decode.go

    		}
    		return n
    	}
    }
    
    // getu4 decodes \uXXXX from the beginning of s, returning the hex value,
    // or it returns -1.
    func getu4(s []byte) rune {
    	if len(s) < 6 || s[0] != '\\' || s[1] != 'u' {
    		return -1
    	}
    	var r rune
    	for _, c := range s[2:6] {
    		switch {
    		case '0' <= c && c <= '9':
    			c = c - '0'
    		case 'a' <= c && c <= 'f':
    			c = c - 'a' + 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top