- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,078 for filedata (0.16 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy
"new File(\"${filePath}\").$checkKind()" } } static FileCheck fileExists(String filePath) { new FileCheck(filePath, "exists") } static FileCheck fileIsFile(String filePath) { new FileCheck(filePath, "isFile") } static FileCheck fileIsDirectory(String filePath) { new FileCheck(filePath, "isDirectory") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/manifests_test.go
"--service-account-key-file=" + filepath.Join(testCertsDir, "sa.pub"), "--service-account-signing-key-file=" + filepath.Join(testCertsDir, "sa.key"), "--service-account-issuer=https://kubernetes.default.svc.cluster.local", "--client-ca-file=" + filepath.Join(testCertsDir, "ca.crt"), "--tls-cert-file=" + filepath.Join(testCertsDir, "apiserver.crt"), "--tls-private-key-file=" + filepath.Join(testCertsDir, "apiserver.key"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 14:43:47 UTC 2024 - 48.5K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows_test.go
{ volumePath: testingVolumePath, subPath: filepath.Join(testingVolumePath, `x`), expectError: false, symlinkTarget: "", }, { volumePath: testingVolumePath, subPath: filepath.Join(testingVolumePath, `a\b\c\d`), expectError: false, symlinkTarget: "", }, { volumePath: testingVolumePath, subPath: filepath.Join(testingVolumePath, `symlink`), expectError: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 13.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
const std::string filepath = GetURIForPath("a_file"); Status status = env_->CreateDir(filepath); if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status; status = env_->FileExists(filepath); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK); } TEST_P(ModularFileSystemTest, TestFileExistsNotFound) { const std::string filepath = GetURIForPath("a_file");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 27 20:25:58 UTC 2022 - 71K bytes - Viewed (0) -
pkg/test/util/file/file.go
for _, ext := range extensions { if filepath.Ext(d.Name()) == ext { matched = true break } } if matched { res = append(res, filepath.Join(filePath, d.Name())) } } return res, nil } func ReadDirOrFail(t test.Failer, filePath string, extensions ...string) []string { t.Helper() res, err := ReadDir(filePath, extensions...) if err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 17 02:22:22 UTC 2023 - 4.6K bytes - Viewed (0) -
src/path/filepath/path_test.go
touch(t, filepath.Join(td, "foo")) touch(t, filepath.Join(td, "bar")) dir := filepath.Join(td, "dir") if err := os.MkdirAll(filepath.Join(td, "dir"), 0755); err != nil { t.Fatal(err) } touch(t, filepath.Join(dir, "baz")) touch(t, filepath.Join(dir, "stat-error")) defer func() { *filepath.LstatP = os.Lstat }() statErr := errors.New("some stat error")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:38:19 UTC 2024 - 47.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_getters_test.go
exp = filepath.Join(root, "plugins/foobar") assert.Equal(t, exp, got) got = kubelet.getPodDir("abc123") exp = filepath.Join(root, "pods/abc123") assert.Equal(t, exp, got) got = kubelet.getPodVolumesDir("abc123") exp = filepath.Join(root, "pods/abc123/volumes") assert.Equal(t, exp, got) got = kubelet.getPodVolumeDir("abc123", "plugin", "foobar")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_volumes_linux_test.go
volumePath := filepath.Join(podDir, "volumes/plugin/name") if err := os.MkdirAll(volumePath, 0750); err != nil { return err } return os.WriteFile(filepath.Join(volumePath, "test.txt"), []byte("test1"), 0640) }, validateFunc: func(kubelet *Kubelet) error { podDir := kubelet.getPodDir("pod1uid") return validateDirExists(filepath.Join(podDir, "volumes/plugin/name")) },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 8.9K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_devirtualize_test.go
} srcDir := filepath.Join(wd, "testdata", "pgo", "devirtualize") // Copy the module to a scratch location so we can add a go.mod. dir := t.TempDir() if err := os.Mkdir(filepath.Join(dir, "mult.pkg"), 0755); err != nil { t.Fatalf("error creating dir: %v", err) } for _, file := range []string{"devirt.go", "devirt_test.go", profFileName, filepath.Join("mult.pkg", "mult.go")} {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 21:30:35 UTC 2024 - 8.5K bytes - Viewed (0)