- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 98 for backslashes (0.3 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/process/ArgWriter.java
this.writer = writer; this.backslashEscape = backslashEscape; this.quotablePattern = quotablePattern; } /** * Double quotes around args containing whitespace, backslash chars are escaped using double backslash, platform line separators. */ public static ArgWriter unixStyle(PrintWriter writer) { return new ArgWriter(writer, true, WHITESPACE); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:14:33 UTC 2024 - 5.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/badsym_test.go
} else if !backslash && quote == c { quote = '\000' } else if (quote == '\000' || quote == '"') && !backslash && c == '\\' { backslash = true } else { backslash = false } } } if !lastSpace { cc = append(cc, s[start:]) } // Force reallocation (and avoid aliasing bugs) for tests that append to cc. cc = cc[:len(cc):len(cc)] return cc }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy
def slash = '/' as char def backslash = '\\' as char expect: compareCharsIgnoringCase(slash, backslash) == 0 compareCharsIgnoringCase(backslash, slash) == 0 compareChars(slash, backslash) == 0 compareChars(backslash, slash) == 0 equalChars(slash, backslash, caseSensitivity) equalChars(backslash, slash, caseSensitivity) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.3K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/Swift5XCTest.groovy
'''let value = 42 let rawString = #"Raw string are ones with "quotes", backslash (\\), but can do special string interpolation (\\#(value))"# XCTAssertEqual(rawString, "Raw string are ones with \\"quotes\\", backslash (\\\\), but can do special string interpolation (42)")''')] } }] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cc_test.go
} else if !backslash && quote == c { quote = '\000' } else if (quote == '\000' || quote == '"') && !backslash && c == '\\' { backslash = true } else { backslash = false } } } if !lastSpace { flags = append(flags, GOGCCFLAGS[start:]) } cmd := exec.Command(CC, flags...) cmd.Args = append(cmd.Args, args...) return cmd, nil } type version struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 20:00:56 UTC 2024 - 14.4K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/Swift5Test.groovy
} @Override List<XCTestCaseElement> getTestCases() { return [ testCase("testRawStrings", '''XCTAssertEqual(getRawString(), "Raw string are ones with \\"quotes\\", backslash (\\\\), but can do special string interpolation (42)"))'''), testCase("testCodeWasCompiledWithSwift5Compiler", """#if swift(>=6.0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.5K bytes - Viewed (0) -
pkg/config/validation/header_value_validator.go
return errors.New("invalid header configuration. Expecting '\"'") } case StringParserState: // Consume a JSON string (ignoring backslash-escaped chars). if ch == '\\' { if !hasNextCh { return errors.New("invalid header configuration. Un-terminated backslash in JSON string") } // Skip escaped char. pos++ } else if ch == ')' { state = ExpectVariableEndParserState
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 15 21:37:52 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/PreprocessingReader.java
/** * Whether or not the parser is currently in the middle of a string literal. */ private boolean inString; /** * Whether or not the last char has been a backslash. */ private boolean quoted; public PreprocessingReader(Reader reader) { this.reader = reader; readAheadChars[0] = -1; readAheadChars[1] = -1; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0) -
src/mime/mediatype_test.go
{"foo/BAR", map[string]string{"quote": `With "quote`}, `foo/bar; quote="With \"quote"`}, {"foo/BAR", map[string]string{"bslash": `With \backslash`}, `foo/bar; bslash="With \\backslash"`}, {"foo/BAR", map[string]string{"both": `With \backslash and "quote`}, `foo/bar; both="With \\backslash and \"quote"`}, {"foo/BAR", map[string]string{"": "empty attribute"}, ""}, {"foo/BAR", map[string]string{"bad attribute": "baz"}, ""},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 26 17:58:37 UTC 2022 - 18.1K bytes - Viewed (0) -
platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/escapeBackslashes/some-thing/pom.xml
<modelVersion>4.0.0</modelVersion> <groupId>util</groupId> <artifactId>util</artifactId> <version>2.5</version> <name>A description \ with a backslash</name> <packaging>jar</packaging>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:47:19 UTC 2023 - 1K bytes - Viewed (0)