Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for quoted0 (0.32 sec)

  1. 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"`,
    	},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. src/encoding/csv/reader.go

    //
    // Fields which start and stop with the quote character " are called
    // quoted-fields. The beginning and ending quote are not part of the
    // field.
    //
    // The source:
    //
    //	normal string,"quoted-field"
    //
    // results in the fields
    //
    //	{`normal string`, `quoted-field`}
    //
    // Within a quoted-field a quote character followed by a second quote
    // character is considered a single quote.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. src/net/http/cookie.go

    // value was enclosed in double quotes.
    func parseCookieValue(raw string, allowDoubleQuote bool) (value string, quoted, ok bool) {
    	// Strip the quotes, if present.
    	if allowDoubleQuote && len(raw) > 1 && raw[0] == '"' && raw[len(raw)-1] == '"' {
    		raw = raw[1 : len(raw)-1]
    		quoted = true
    	}
    	for i := 0; i < len(raw); i++ {
    		if !validCookieValueByte(raw[i]) {
    			return "", quoted, false
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. internal/event/target/postgresql.go

    			return r
    		default:
    			valid = false
    			return -1
    		}
    	}, name)
    
    	if valid {
    		// check for simple name or quoted name
    		// - letter/underscore followed by one or more letter/digit/underscore
    		// - any text between quotes (text cannot contain a quote itself)
    		if match, err := regexp.MatchString("^[a_][a0_$]*$", cleaned); err != nil {
    			return err
    		} else if match {
    			return nil
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. gradlew

            "$@"
    
    # Stop when "xargs" is not available.
    if ! command -v xargs >/dev/null 2>&1
    then
        die "xargs is not available"
    fi
    
    # Use "xargs" to parse quoted args.
    #
    # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
    #
    # In Bash we could simply go:
    #
    #   readarray ARGS < <( xargs -n1 <<<"$var" ) &&
    #   set -- "${ARGS[@]}" "$@"
    #
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. src/encoding/json/encode.go

    	b := e.AvailableBuffer()
    	b = mayAppendQuote(b, opts.quoted)
    	b = strconv.AppendBool(b, v.Bool())
    	b = mayAppendQuote(b, opts.quoted)
    	e.Write(b)
    }
    
    func intEncoder(e *encodeState, v reflect.Value, opts encOpts) {
    	b := e.AvailableBuffer()
    	b = mayAppendQuote(b, opts.quoted)
    	b = strconv.AppendInt(b, v.Int(), 10)
    	b = mayAppendQuote(b, opts.quoted)
    	e.Write(b)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  7. src/go/build/build.go

    	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
    			quote = rune
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  8. src/mime/mediatype.go

    // either a 'token' or a 'quoted-string'.  On success, consumeValue
    // returns the value consumed (and de-quoted/escaped, if a
    // quoted-string) and the rest of the string. On failure, returns
    // ("", v).
    func consumeValue(v string) (value, rest string) {
    	if v == "" {
    		return
    	}
    	if v[0] != '"' {
    		return consumeToken(v)
    	}
    
    	// parse a quoted-string
    	buffer := new(strings.Builder)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/PropertyProblem.kt

                    append(" ")
                    quoted(trace.name)
                    append(" of ")
                }
    
                is SystemProperty -> {
                    append("system property ")
                    quoted(trace.name)
                    append(" set at ")
                }
    
                is Bean -> {
                    quoted(trace.type.name)
                    append(" bean found in ")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/encoding/json/decode.go

    				return err
    			}
    		}
    	}
    	return nil
    }
    
    type unquotedValue struct{}
    
    // valueQuoted is like value but decodes a
    // quoted string literal or literal null into an interface value.
    // If it finds anything other than a quoted string literal or null,
    // valueQuoted returns unquotedValue{}.
    func (d *decodeState) valueQuoted() any {
    	switch d.opcode {
    	default:
    		panic(phasePanicMsg)
    
    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