Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for backslashes (0.16 sec)

  1. test/string_lit.go

    		"\a\b\f\n\r\t\v\\\"",
    		"backslashes")
    	assert("\\a\\b\\f\\n\\r\\t\\v\\\\\\\"",
    		`\a\b\f\n\r\t\v\\\"`,
    		"backslashes (backquote)")
    	assert("\x00\x53\000\xca\376S몾몾",
    		"\000\123\x00\312\xFE\u0053\ubabe\U0000babe",
    		"backslashes 2")
    	assert("\\000\\123\\x00\\312\\xFE\\u0123\\ubabe\\U0000babe",
    		`\000\123\x00\312\xFE\u0123\ubabe\U0000babe`,
    		"backslashes 2 (backquote)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 13 01:17:02 UTC 2013
    - 3.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/warning/context.go

    )
    
    // Recorder provides a method for recording warnings
    type Recorder interface {
    	// AddWarning adds the specified warning to the response.
    	// agent must be valid UTF-8, and must not contain spaces, quotes, backslashes, or control characters.
    	// text must be valid UTF-8, and must not contain control characters.
    	AddWarning(agent, text string)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 24 16:37:53 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. test/fixedbugs/bug068.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // RESOLUTION: This program is illegal.  We should reject all unnecessary backslashes.
    
    package main
    
    const c = '\'';  // this works
    const s = "\'";  // ERROR "invalid|escape"
    
    /*
    There is no reason why the escapes need to be different inside strings and chars.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 520 bytes
    - Viewed (0)
  4. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/WindowsStartScriptGeneratorTest.groovy

            then:
            destination.toString().contains(/set DEFAULT_JVM_OPTS="-Dfoo=b\"ar baz" "-Xi\"\"nt" "-Xpatho\\\"logical"/)
        }
    
        def "defaultJvmOpts is expanded properly in windows script -- backslashes and shell metacharacters"() {
            given:
            JavaAppStartScriptGenerationDetails details = createScriptGenerationDetails(['-Dfoo=b\\ar baz', '-Xint%PATH%'], 'bin')
            Writer destination = new StringWriter()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/file/ExpandDetails.java

     *
     * @since 7.2
     */
    public interface ExpandDetails {
        /**
         * Controls if the underlying {@link groovy.text.SimpleTemplateEngine} escapes backslashes in the file before processing. If this is set to {@code false} then escape sequences in the processed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 13:00:28 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/UnixStartScriptGeneratorTest.groovy

            then:
            destination.toString().contains(/DEFAULT_JVM_OPTS='"-Dfoo=b'"'"'ar baz" "-Xi'"'"''"'"'n'"`"'t"'/)
        }
    
        def "defaultJvmOpts is expanded properly in unix script -- backslashes and shell metacharacters"() {
            given:
            JavaAppStartScriptGenerationDetails details = createScriptGenerationDetails(['-Dfoo=b\\ar baz', '-Xint$PATH'], 'bin')
            Writer destination = new StringWriter()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorProblemsApiIntegrationTest.groovy

                        );
    
                        // Write the current build operation id to a file
                        // This needs to be Java 6 compatible, as we are in a worker
                        // Backslashes need to be escaped, so test works on Windows
                        File buildOperationIdFile = new File("${buildOperationIdFile.absolutePath.replace('\\', '\\\\')}");
                        try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerPluginClasspathInjectionEndUserIntegrationTest.groovy

                        def pluginClasspath = getClass().classLoader.getResource("plugin-classpath.txt")
                          .readLines()
                          .collect { it.replace('\\\\', '\\\\\\\\') } // escape backslashes in Windows paths
                          .collect { "'\$it'" }
                          .join(", ")
    
                        buildFile << \"\"\"
                            buildscript {
                                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. integration-tests/gradle/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 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top