- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 423 for quoted3 (2.75 sec)
-
src/cmd/internal/quoted/quoted.go
// // Keep in sync with cmd/dist/quoted.go func Split(s string) ([]string, error) { // Split fields allowing '' or "" around elements. // Quotes further inside the string do not count. var f []string for len(s) > 0 { for len(s) > 0 && isSpaceByte(s[0]) { s = s[1:] } if len(s) == 0 { break } // Accepted quoted string. No unescaping inside. if s[0] == '"' || s[0] == '\'' { quote := s[0] s = s[1:]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 21:04:06 UTC 2022 - 2.8K bytes - Viewed (0) -
src/cmd/dist/quoted.go
s = s[1:] } if len(s) == 0 { break } // Accepted quoted string. No unescaping inside. if s[0] == '"' || s[0] == '\'' { quote := s[0] s = s[1:] i := 0 for i < len(s) && s[i] != quote { i++ } if i >= len(s) { return nil, fmt.Errorf("unterminated %c string", quote) } f = append(f, s[:i]) s = s[i+1:] continue } i := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 14:05:53 UTC 2022 - 1.2K bytes - Viewed (0) -
src/cmd/go/internal/work/shell_test.go
f.Add([]byte(`unescaped space`)) f.Add([]byte(`escaped\ space`)) f.Add([]byte(`"unterminated quote`)) f.Add([]byte(`'unterminated quote`)) f.Add([]byte(`unterminated escape\`)) f.Add([]byte(`"quote with unterminated escape\`)) f.Add([]byte(`'quoted "double quotes"'`)) f.Add([]byte(`"quoted 'single quotes'"`)) f.Add([]byte(`"\$0"`)) f.Add([]byte(`"\$\0"`)) f.Add([]byte(`"\$"`)) f.Add([]byte(`"\$ "`))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 15 15:30:05 UTC 2023 - 4.5K bytes - Viewed (0) -
src/go/doc/comment/testdata/quote.txt
-- input -- Doubled single quotes like `` and '' turn into Unicode double quotes, but single quotes ` and ' do not. Misplaced markdown fences ``` do not either. -- gofmt -- Doubled single quotes like “ and ” turn into Unicode double quotes, but single quotes ` and ' do not. Misplaced markdown fences ``` do not either. -- text -- Doubled single quotes like “ and ” turn into Unicode double quotes, but single
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 06 19:06:16 UTC 2022 - 656 bytes - Viewed (0) -
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) -
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) -
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) -
pkg/util/shellescape/quote.go
// limitations under the License. package shellescape import ( "regexp" "strings" ) var unsafeValue = regexp.MustCompile(`[^\\w@%+=:,./-]`) func Quote(s string) string { // ported from https://github.com/chrissimpkins/shellescape/blob/master/lib/shellescape/main.py if len(s) == 0 { return "''" } if unsafeValue.MatchString(s) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 07 20:37:19 UTC 2020 - 968 bytes - Viewed (0) -
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) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 7.7K bytes - Viewed (0)