Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for dotdot (0.2 sec)

  1. src/internal/filepathlite/path.go

    	//	writing to buf; w is index of next byte to write.
    	//	dotdot is index in buf where .. must stop, either because
    	//		it is the leading slash or it is a leading ../../.. prefix.
    	n := len(path)
    	out := lazybuf{path: path, volAndPath: originalPath, volLen: volLen}
    	r, dotdot := 0, 0
    	if rooted {
    		out.append(Separator)
    		r, dotdot = 1, 1
    	}
    
    	for r < n {
    		switch {
    		case IsPathSeparator(path[r]):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/path/path.go

    	//	reading from path; r is index of next byte to process.
    	//	writing to buf; w is index of next byte to write.
    	//	dotdot is index in buf where .. must stop, either because
    	//		it is the leading slash or it is a leading ../../.. prefix.
    	out := lazybuf{s: path}
    	r, dotdot := 0, 0
    	if rooted {
    		out.append('/')
    		r, dotdot = 1, 1
    	}
    
    	for r < n {
    		switch {
    		case path[r] == '/':
    			// empty path element
    			r++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. src/net/url/url_test.go

    	{"http://foo.com/bar/baz", "quux/./dotdot/dotdot/dotdot/./../../.././././tail", "http://foo.com/bar/quux/tail"},
    	{"http://foo.com/bar/baz", "quux/./dotdot/../dotdot/../dot/./tail/..", "http://foo.com/bar/quux/dot/"},
    
    	// Remove any dot-segments prior to forming the target URI.
    	// https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  4. src/os/exec/exec_posix_test.go

    	cwd, err := os.Getwd()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	cases := []struct {
    		name string
    		dir  string
    		want string
    	}{
    		{"empty", "", cwd},
    		{"dot", ".", cwd},
    		{"dotdot", "..", filepath.Dir(cwd)},
    		{"PWD", cwd, cwd},
    		{"PWDdotdot", cwd + string(filepath.Separator) + "..", filepath.Dir(cwd)},
    	}
    
    	for _, tc := range cases {
    		tc := tc
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/entity.go

    	"&Diamond;":                         "\u22c4",
    	"&DifferentialD;":                   "\u2146",
    	"&Dopf;":                            "\U0001d53b",
    	"&Dot;":                             "\u00a8",
    	"&DotDot;":                          "\u20dc",
    	"&DotEqual;":                        "\u2250",
    	"&DoubleContourIntegral;":           "\u222f",
    	"&DoubleDot;":                       "\u00a8",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 101K bytes
    - Viewed (0)
  6. src/html/entity.go

    		"Diamond;":                         '\U000022C4',
    		"DifferentialD;":                   '\U00002146',
    		"Dopf;":                            '\U0001D53B',
    		"Dot;":                             '\U000000A8',
    		"DotDot;":                          '\U000020DC',
    		"DotEqual;":                        '\U00002250',
    		"DoubleContourIntegral;":           '\U0000222F',
    		"DoubleDot;":                       '\U000000A8',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 31 22:10:54 UTC 2018
    - 114.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_trailing_slash.txt

    go list example.com/dotgo.go
    stdout ^example.com/dotgo.go$
    go list example.com/dotgo.go/
    stdout ^example.com/dotgo.go$
    
    # go get should succeed in either case, with or without a version.
    # Arguments are interpreted as packages or package patterns with versions,
    # not source files.
    go get example.com/dotgo.go
    go get example.com/dotgo.go/
    go get example.com/dotgo.go@v1.0.0
    go get example.com/dotgo.go/@v1.0.0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 982 bytes
    - Viewed (0)
  8. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/ntlm/NTLMCredentials.java

            return InetAddress.getLocalHost().getHostName();
        }
    
        private String removeDotSuffix(String val) {
            int dotPos = val.indexOf('.');
            return dotPos == -1 ? val : val.substring(0, dotPos);
        }
    
    
        public String getDomain() {
            return domain;
        }
    
        public String getUsername() {
            return username;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/IgnoredTestDescriptorProviderTest.groovy

        @Ignore
        @RunWith(CustomRunner.class)
        static class RunWithSpec {
            void doTest() {}
        }
    
        @Ignore
        @RunWith()
        static class EmptyRunWithSpec {
            void doTest() {}
        }
    
        @Ignore
        @RunWith(MissingConstructorRunner.class)
        static class MissingConstructorRunWithSpec {
            void doTest() {}
        }
    
        @Ignore
        static class SuiteMethodSpec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/mod/example.com_dotgo.go_v1.0.0.txt

    Based on github.com/nats-io/nats.go.
    Used in regression tests for golang.org/issue/32483.
    
    -- .mod --
    module example.com/dotgo.go
    
    go 1.13
    -- .info --
    {"Version":"v1.0.0"}
    -- go.mod --
    module example.com/dotgo.go
    
    go 1.13
    -- dotgo.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 11 20:19:25 UTC 2019
    - 287 bytes
    - Viewed (0)
Back to top