Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 302 for quoted0 (0.12 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/strconv/quote.go

    	}
    	quote := in[0]
    	end := index(in[1:], quote)
    	if end < 0 {
    		return "", in, ErrSyntax
    	}
    	end += 2 // position after terminating quote; may be wrong if escape sequences are present
    
    	switch quote {
    	case '`':
    		switch {
    		case !unescape:
    			out = in[:end] // include quotes
    		case !contains(in[:end], '\r'):
    			out = in[len("`") : end-len("`")] // exclude quotes
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. statement.go

    }
    
    // WriteQuoted write quoted value
    func (stmt *Statement) WriteQuoted(value interface{}) {
    	stmt.QuoteTo(&stmt.SQL, value)
    }
    
    // QuoteTo write quoted value to writer
    func (stmt *Statement) QuoteTo(writer clause.Writer, field interface{}) {
    	write := func(raw bool, str string) {
    		if raw {
    			writer.WriteString(str)
    		} else {
    			stmt.DB.Dialector.QuoteTo(writer, str)
    		}
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modindex/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: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/go/internal/script/engine.go

    			}
    			continue
    		}
    		if i >= len(line) {
    			return nil, errors.New("unterminated quoted argument")
    		}
    		if line[i] == '\'' {
    			if !quoted {
    				// starting a quoted chunk
    				if start >= 0 {
    					rawArg = append(rawArg, argFragment{s: line[start:i], quoted: false})
    				}
    				start = i + 1
    				quoted = true
    				continue
    			}
    			// 'foo''bar' means foo'bar, like in rc shell and Pascal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser.go

    	r := values[0][1 : n-1]
    	// Translate doubled quotes
    	*ls = LiteralList(strings.Split(r, ","))
    	return nil
    }
    
    // ObjectKey is a type for parsed strings occurring in key paths
    type ObjectKey struct {
    	Lit *LiteralString `parser:" \"[\" @LitString \"]\""`
    	ID  *Identifier    `parser:"| \".\" @@"`
    }
    
    // QuotedIdentifier is a type for parsed strings that are double
    // quoted.
    type QuotedIdentifier string
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/net/http.go

    	//
    	// warn-code is a three digit number
    	// warn-agent is unquoted and contains no spaces
    	// warn-text is quoted with backslash escaping (RFC2047-encoded according to RFC2616, not encoded according to RFC7234)
    	// warn-date is optional, quoted, and in HTTP-date format (no embedded or escaped quotes)
    	//
    	// additional warnings can optionally be included in the same header by comma-separating them:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 05 00:08:58 UTC 2022
    - 20.8K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/JavaExec.java

         *
         * <p>
         * The parser supports both single quote ({@code '}) and double quote ({@code "}) as quote delimiters.
         * For example, to pass the argument {@code foo bar}, use {@code "foo bar"}.
         * </p>
         * <p>
         * Note: the parser does <strong>not</strong> support using backslash to escape quotes. If this is needed,
         * use the other quote delimiter around it.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  10. src/net/mail/message.go

    		}
    	}()
    
    	// local-part = dot-atom / quoted-string
    	var localPart string
    	p.skipSpace()
    	if p.empty() {
    		return "", errors.New("mail: no addr-spec")
    	}
    	if p.peek() == '"' {
    		// quoted-string
    		debug.Printf("consumeAddrSpec: parsing quoted-string")
    		localPart, err = p.consumeQuotedString()
    		if localPart == "" {
    			err = errors.New("mail: empty quoted string in addr-spec")
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top