Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 112 for backslashes (0.14 sec)

  1. src/cmd/asm/internal/lex/input.go

    				}
    				args = append(args, arg)
    				acceptArg = false
    			default:
    				in.Error("bad definition for macro:", name)
    			}
    		}
    	}
    	var tokens []Token
    	// Scan to newline. Backslashes escape newlines.
    	for tok != '\n' {
    		if tok == scanner.EOF {
    			in.Error("missing newline in definition for macro:", name)
    		}
    		if tok == '\\' {
    			tok = in.Stack.Next()
    			if tok != '\n' && tok != '\\' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    func escapeAllForDot(in []string) []string {
    	var out = make([]string, len(in))
    	for i := range in {
    		out[i] = escapeForDot(in[i])
    	}
    	return out
    }
    
    // escapeForDot escapes double quotes and backslashes, and replaces Graphviz's
    // "center" character (\n) with a left-justified character.
    // See https://graphviz.org/docs/attr-types/escString/ for more info.
    func escapeForDot(str string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  4. pkg/util/taints/taints_test.go

    			spec:        []string{"foo=Tama-nui-te-rā.is.Māori.sun:NoSchedule"},
    			expectedErr: true,
    		},
    		{
    			name:        "invalid spec taint value with special chars '\\'",
    			spec:        []string{"foo=\\backslashes\\are\\bad:NoSchedule"},
    			expectedErr: true,
    		},
    		{
    			name:        "invalid spec taint value with start with an non-alphanumeric character '-'",
    			spec:        []string{"foo=-starts-with-dash:NoSchedule"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 09:23:35 UTC 2022
    - 22.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apimachinery/pkg/util/net/http.go

    		agent = "-"
    	} else if !utf8.ValidString(agent) || strings.ContainsAny(agent, `\"`) || hasAnyRunes(agent, unicode.IsSpace, unicode.IsControl) {
    		return "", errors.New("agent must be valid UTF-8 and must not contain spaces, quotes, backslashes, or control characters")
    	}
    	if !utf8.ValidString(text) || hasAnyRunes(text, unicode.IsControl) {
    		return "", errors.New("text must be valid UTF-8 and must not contain control characters")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 05 00:08:58 UTC 2022
    - 20.8K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/apimachinery/pkg/util/validation/validation_test.go

    			t.Errorf("case %s expected success: %v", successCases[i], errs)
    		}
    	}
    
    	errorCases := []string{
    		"nospecialchars%^=@",
    		"Tama-nui-te-rā.is.Māori.sun",
    		"\\backslashes\\are\\bad",
    		"-starts-with-dash",
    		"ends-with-dash-",
    		".starts.with.dot",
    		"ends.with.dot.",
    		strings.Repeat("a", 64), // over the limit
    	}
    	for i := range errorCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 04:51:54 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top