- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for backslashes (0.13 sec)
-
platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# # 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[@]}" "\$@" # # but POSIX shell has neither arrays nor command substitution, so instead we # post-process each arg (as a line of input to sed) to backslash-escape any # character that might be a shell metacharacter, then use eval to reverse
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 13:43:33 UTC 2024 - 11K bytes - Viewed (0) -
gradlew
# # 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[@]}" "$@" # # but POSIX shell has neither arrays nor command substitution, so instead we # post-process each arg (as a line of input to sed) to backslash-escape any # character that might be a shell metacharacter, then use eval to reverse
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/mime/mediatype.go
// escape backslashes: "C:\dev\go\foo.txt", not "C:\\dev\\go\\foo.txt". // // No known MIME generators emit unnecessary backslash escapes // for simple token characters like numbers and letters. // // If we see an unnecessary backslash escape, assume it is from MSIE // and intended as a literal backslash. This makes Go servers deal better
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/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy
sources.hasDependencyAlias('other', 'getOther', "This dependency was declared in ${context}") } @Issue("https://github.com/gradle/gradle/issues/19752") def "backslashes are escaped when outputting context in javadocs"() { def context = "Windows path: C:\\Users\\user\\Documents\\ultimate plugin" def escapedContext = "Windows path: C:\\Users\\u005cuser\\Documents\\u005cultimate plugin"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:24 UTC 2024 - 19.2K bytes - Viewed (0) -
src/net/conf.go
// and we have no preference. if bytealg.IndexByteString(hostname, '\\') != -1 || bytealg.IndexByteString(hostname, '%') != -1 { // Don't deal with special form hostnames // with backslashes or '%'. return hostLookupCgo, nil } // If something is unrecognized, use cgo. fallbackOrder = hostLookupCgo canUseCgo = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 03:13:26 UTC 2024 - 15.5K bytes - Viewed (0) -
src/path/filepath/path.go
// Package filepath implements utility routines for manipulating filename paths // in a way compatible with the target operating system-defined file paths. // // The filepath package uses either forward slashes or backslashes, // depending on the operating system. To process paths such as URLs // that always use forward slashes regardless of the operating // system, see the [path] package. package filepath import ( "errors"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15.5K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy
succeeds('installDist') then: succeeds("execStartScript") and: // confirm that the arguments were converted back to Windows-like paths (using forward slashes instead of backslashes) outputContains("Args: [${buildFile.absolutePath.replace('\\', '/')}, ${file("src").absolutePath.replace('\\', '/')}]") } private void createSampleProjectSetup() { createMainClass()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 23.6K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
if reldir := base.ShortPath(dir); reldir != dir { out = replacePrefix(out, dir, reldir) if filepath.Separator == '\\' { // Don't know why, sometimes this comes out with slashes, not backslashes. wdir := strings.ReplaceAll(dir, "\\", "/") out = replacePrefix(out, wdir, reldir) } } dirP := filepath.Dir(dir) if dir == dirP { break } dir = dirP }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 19.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
*/ public String getPath () { return this.fileLocator.getPath(); } /** * Returns the Windows UNC style path with backslashes instead of forward slashes. * * @return The UNC path. */ public String getCanonicalUncPath () { return this.fileLocator.getCanonicalURL(); } /**
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (1) -
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)