- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 198 for quoting (0.2 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/process/ArgWriter.java
} return Collections.singletonList("@" + argsFile.getAbsolutePath()); } }; } /** * Writes a set of args on a single line, escaping and quoting as required. */ @Override public ArgWriter args(Object... args) { for (int i = 0; i < args.length; i++) { Object arg = args[i]; if (i > 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:14:33 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/StartScriptTemplateBindingFactory.java
boolean wasOnBackslash = false; StringBuilder escapedJvmOpt = new StringBuilder(); CharacterIterator it = new StringCharacterIterator(jvmOpts); //argument quoting: // - " must be encoded as \" // - % must be encoded as %% // - pathological case: \" must be encoded as \\\", but other than that, \ MUST NOT be quoted
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 7.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/plugin_test.go
func escape(s string) string { s = strings.Replace(s, "\\", "\\\\", -1) s = strings.Replace(s, "'", "\\'", -1) // Conservative guess at characters that will force quoting if s == "" || strings.ContainsAny(s, "\\ ;#*&$~?!|[]()<>{}`") { s = "'" + s + "'" } return s } // asCommandLine renders cmd as something that could be copy-and-pasted into a command line
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 12.3K bytes - Viewed (0) -
src/strconv/quote.go
} func appendQuotedWith(buf []byte, s string, quote byte, ASCIIonly, graphicOnly bool) []byte { // Often called with big strings, so preallocate. If there's quoting, // this is conservative but still helps a lot. if cap(buf)-len(buf) < len(s) { nBuf := make([]byte, len(buf), len(buf)+1+len(s)+1) copy(nBuf, buf) buf = nBuf } buf = append(buf, quote)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 16.5K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
// prefix here does not make most output any more verbose. if err != nil { err = errors.New(cmdline[0] + ": " + err.Error()) } return buf.Bytes(), err } // joinUnambiguously prints the slice, quoting where necessary to make the // output unambiguous. // TODO: See issue 5279. The printing of commands needs a complete redo. func joinUnambiguously(a []string) string { var buf strings.Builder for i, s := range a {
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/net/mail/message.go
break } if quoteLocal { local = quoteString(local) } s := "<" + local + "@" + domain + ">" if a.Name == "" { return s } // If every character is printable ASCII, quoting is simple. allPrintable := true for _, r := range a.Name { // isWSP here should actually be isFWS, // but we don't support folding yet. if !isVchar(r) && !isWSP(r) || isMultibyte(r) { allPrintable = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:31:03 UTC 2024 - 23.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_groovy_to_kotlin_dsl.adoc
An extreme example would be a build that uses tasks and plugins that are implemented in Java, Groovy and Kotlin, while also using both Kotlin DSL and Groovy DSL build scripts. Quoting the Kotlin reference documentation: > Kotlin is designed with Java Interoperability in mind. Existing Java code can be called from Kotlin in a natural way, and Kotlin code can be used from Java rather smoothly as well.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 15:00:23 UTC 2024 - 26.9K bytes - Viewed (0) -
hack/lib/golang.sh
declare -a KUBE_TEST_PLATFORMS kube::golang::setup_platforms() { if [[ -n "${KUBE_BUILD_PLATFORMS:-}" ]]; then # KUBE_BUILD_PLATFORMS needs to be read into an array before the next # step, or quoting treats it all as one element. local -a platforms IFS=" " read -ra platforms <<< "${KUBE_BUILD_PLATFORMS}" # Deduplicate to ensure the intersection trick with kube::golang::dups
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 16:43:08 UTC 2024 - 32.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug_test.go
func escape(s string) string { s = strings.Replace(s, "\\", "\\\\", -1) s = strings.Replace(s, "'", "\\'", -1) // Conservative guess at characters that will force quoting if strings.ContainsAny(s, "\\ ;#*&$~?!|[]()<>{}`") { s = " '" + s + "'" } else { s = " " + s } return s } func expect(want string, got tstring) { if want != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:11:47 UTC 2024 - 28.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
} // NameABI returns the function name followed by comma and the ABI number. // This is intended for use with GOSSAFUNC and HTML dumps, and differs from // the linker's "<1>" convention because "<" and ">" require shell quoting // and are not legal file names (for use with GOSSADIR) on Windows. func (f *Func) NameABI() string { return FuncNameABI(f.Name, f.ABISelf.Which()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0)