- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for dotdot (0.25 sec)
-
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) -
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) -
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) -
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) -
src/cmd/vendor/rsc.io/markdown/entity.go
"⋄": "\u22c4", "ⅆ": "\u2146", "𝔻": "\U0001d53b", "¨": "\u00a8", "⃜": "\u20dc", "≐": "\u2250", "∯": "\u222f", "¨": "\u00a8",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 101K bytes - Viewed (0) -
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) -
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) -
cmd/kubeadm/app/apis/kubeadm/validation/util_windows.go
"path/filepath" ) func isAbs(path string) bool { // on Windows, filepath.IsAbs will not return True for paths prefixed with a slash, even // though they can be used as absolute paths (https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats). return filepath.IsAbs(path) || (len(path) > 0 && (path[0] == '\\' || path[0] == '/'))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 13:03:13 UTC 2022 - 987 bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultDynamicCallProblemReportingTest.kt
val results = Collections.synchronizedList(mutableListOf<Boolean>()) fun doTest() { reporting.enterDynamicCall(this) latch.countDown() latch.await() results += reporting.unreportedProblemInCurrentCall(problem) } (1..3).map { thread { doTest() } }.forEach(Thread::join) assertEquals(listOf(true, true, true), results) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/reboot_test.go
// This mimics the configuration one much have when // building from distro-packaged source code // (see https://go.dev/issue/54852). parent := t.TempDir() dotGit := filepath.Join(parent, ".git") if err := os.Mkdir(dotGit, 000); err != nil { t.Fatal(err) } overlayStart := time.Now() goroot := filepath.Join(parent, "goroot") gorootSrc := filepath.Join(goroot, "src")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 2.6K bytes - Viewed (0)