- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 151 for quoted3 (3.55 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/PropertyProblem.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 21:59:50 UTC 2024 - 7.5K bytes - Viewed (0) -
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) -
src/internal/trace/testtrace/expectation.go
} return exp, nil } return exp, s.Err() } func parseMatcher(quoted string) (*regexp.Regexp, error) { pattern, err := strconv.Unquote(quoted) if err != nil { return nil, fmt.Errorf("malformed pattern: not correctly quoted: %s: %v", quoted, err) } matcher, err := regexp.Compile(pattern) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.3K bytes - Viewed (0)