Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 470 for quoted0 (0.17 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. src/encoding/csv/writer.go

    }
    
    // fieldNeedsQuotes reports whether our field must be enclosed in quotes.
    // Fields with a Comma, fields with a quote or newline, and
    // fields which start with a space must be enclosed in quotes.
    // We used to quote empty strings, but we do not anymore (as of Go 1.4).
    // The two representations should be equivalent, but Postgres distinguishes
    // quoted vs non-quoted empty string during database imports, and it has
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/rsc.io/markdown/quote.go

    package markdown
    
    import (
    	"bytes"
    )
    
    type Quote struct {
    	Position
    	Blocks []Block
    }
    
    func (b *Quote) PrintHTML(buf *bytes.Buffer) {
    	buf.WriteString("<blockquote>\n")
    	for _, c := range b.Blocks {
    		c.PrintHTML(buf)
    	}
    	buf.WriteString("</blockquote>\n")
    }
    
    func (b *Quote) printMarkdown(buf *bytes.Buffer, s mdState) {
    	s.prefix += "> "
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/DefaultSourceIncludesTest.groovy

            sourceIncludes.systemIncludes.collect { it.value } == [ "system1", "system2" ]
            sourceIncludes.macroIncludes.collect { it.value } == [ "macro1", "macro2" ]
        }
    
        def "order of includes is preserved" () {
            expect:
            sourceIncludes.all.collect { it.value } == ["quoted1", "system1", "quoted2", "macro1", "system2", "macro2" ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. src/strconv/example_test.go

    	// Output:
    	// "", invalid syntax
    	// "\"double-quoted string\"", <nil>
    	// "`or backquoted`", <nil>
    	// "'☺'", <nil>
    }
    
    func ExampleUnquote() {
    	s, err := strconv.Unquote("You can't unquote a string without quotes")
    	fmt.Printf("%q, %v\n", s, err)
    	s, err = strconv.Unquote("\"The string must be either double-quoted\"")
    	fmt.Printf("%q, %v\n", s, err)
    	s, err = strconv.Unquote("`or backquoted.`")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 22:57:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. 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)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy

            '"quoted"'                         | 'quoted'
            '"with space"'                     | 'with space'
            '"with\\\\"quote\\\\"internal"'    | 'with"quote"internal'
            '"with \\\\"quote\\\\" and space"' | 'with "quote" and space'
        }
    
        @ToBeFixedForConfigurationCache
        def "compiler and linker args can contain quotes and spaces"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/StartScriptTemplateBindingFactory.java

            //argument quoting:
            // - " must be encoded as \"
            // - % must be encoded as %%
            // - pathological case: \" must be encoded as \\\", but other than that, \ MUST NOT be quoted
            // - other characters (including ') will not be quoted
            // - use a state machine rather than regexps
            for (char ch = it.first(); ch != CharacterIterator.DONE; ch = it.next()) {
                String repl = Character.toString(ch);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

          when {
            token == null -> {
              // Value is "double-quoted". That's valid and our regex group already strips the quotes.
              parameter.groups[3]!!.value
            }
            token.startsWith("'") && token.endsWith("'") && token.length > 2 -> {
              // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes.
              token.substring(1, token.length - 1)
            }
            else -> token
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top