- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 125 for someFile (0.36 sec)
-
platforms/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Mar 23 22:37:03 UTC 2024 - 21.8K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/Project.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 04:56:22 UTC 2024 - 74.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ComponentMetadataHandlerExtensionsTest.kt
} componentMetadataHandler.withModule<SomeRule>("org:foo", configAction) inOrder(componentMetadataHandler) { verify(componentMetadataHandler).withModule("org:foo", SomeRule::class.java, configAction) verifyNoMoreInteractions() } } } class SomeRule : ComponentMetadataRule { override fun execute(context: ComponentMetadataContext) { } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/apis/core/validation/events_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 01 19:47:37 UTC 2022 - 37.2K bytes - Viewed (0) -
src/os/getwd.go
getwdCache.Unlock() if len(dir) > 0 { d, err := statNolog(dir) if err == nil && SameFile(dot, d) { return dir, nil } } // Root is a special case because it has no parent // and ends in a slash. root, err := statNolog("/") if err != nil { // Can't stat root - no hope. return "", err } if SameFile(root, dot) { return "/", nil } // General algorithm: find name in parent
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 28 06:28:02 UTC 2020 - 2.5K bytes - Viewed (0) -
src/os/types.go
// SameFile reports whether fi1 and fi2 describe the same file. // For example, on Unix this means that the device and inode fields // of the two underlying structures are identical; on other systems // the decision may be based on the path names. // SameFile only applies to results returned by this package's [Stat]. // It returns false in other cases. func SameFile(fi1, fi2 FileInfo) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.9K bytes - Viewed (0) -
src/os/stat_test.go
t.Error(err) return } params.statCheck(t, path, sfi2) if !os.SameFile(sfi, sfi2) { t.Errorf("stat of open %q file and stat of %q should be the same", path, path) } if params.isLink { if os.SameFile(sfi2, lsfi) { t.Errorf("stat of opened %q file and lstat of %q should not be the same", path, path) } } else { if !os.SameFile(sfi2, lsfi) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:38:03 UTC 2024 - 7.8K bytes - Viewed (0) -
pkg/registry/core/event/storage/storage_test.go
} func validNewEvent(namespace string) *api.Event { someTime := metav1.MicroTime{Time: time.Unix(1505828956, 0)} return &api.Event{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: namespace, }, InvolvedObject: api.ObjectReference{ Name: "bar", Namespace: namespace, }, EventTime: someTime, ReportingController: "test-controller",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 01 14:50:28 UTC 2020 - 3.4K bytes - Viewed (0) -
src/os/executable_test.go
t.Fatalf("Child returned %q, want an absolute path", out) } if !sameFile(outs, ep) { t.Fatalf("Child returned %q, not the same file as %q", out, ep) } } func sameFile(fn1, fn2 string) bool { fi1, err := os.Stat(fn1) if err != nil { return false } fi2, err := os.Stat(fn2) if err != nil { return false } return os.SameFile(fi1, fi2) } func init() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:32 UTC 2023 - 3.4K bytes - Viewed (0) -
src/os/os_windows_test.go
t.Errorf("SameFile(%v, %v) = true; want false", f1, f2) } // Check that os.SameFile works with a mix of os.ReadDir and os.Stat files. f1s, err := os.Stat(pathA) if err != nil { t.Fatal(err) } f2s, err := os.Stat(pathB) if err != nil { t.Fatal(err) } if !os.SameFile(f1, f1s) { t.Errorf("SameFile(%v, %v) = false; want true", f1, f1s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0)