- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 121 for fullpath (0.28 sec)
-
pkg/kubelet/util/util_windows_test.go
expectedAddress := "//./pipe/kubelet-pod-resources" fullPath, err := LocalEndpoint(`pod-resources`, "kubelet") require.NoErrorf(t, err, "Failed to create the local endpoint path") address, dialer, err := util.GetAddressAndDialer(fullPath) require.NoErrorf(t, err, "Failed to parse the endpoint path and get back address and dialer (path=%q)", fullPath) dialerPointer := reflect.ValueOf(dialer).Pointer()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3.1K bytes - Viewed (0) -
src/path/filepath/path_windows.go
if path == "" { // syscall.FullPath returns an error on empty path, because it's not a valid path. // To implement Abs behavior of returning working directory on empty string input, // special-case empty path by changing it to "." path. See golang.org/issue/24441. path = "." } fullPath, err := syscall.FullPath(path) if err != nil { return "", err } return Clean(fullPath), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 3K bytes - Viewed (0) -
pkg/kubelet/util/util_unix_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 1.3K bytes - Viewed (0) -
src/os/path_windows_test.go
t.Parallel() tmpDir := t.TempDir() const prefix = `\\?\` if len(tmpDir) < 4 || tmpDir[:4] != prefix { fullPath, err := syscall.FullPath(tmpDir) if err != nil { t.Fatalf("FullPath(%q) fails: %v", tmpDir, err) } tmpDir = prefix + fullPath } path := tmpDir + `\dir\` if err := os.MkdirAll(path, 0777); err != nil { t.Fatalf("MkdirAll(%q) failed: %v", path, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:37:32 UTC 2024 - 8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
assertDirEmpty(t, filepath.Join(tmpDir, "manifests")) assertDirEmpty(t, filepath.Join(tmpDir, "pki")) assertDirEmpty(t, filepath.Join(tmpDir, "tmp")) // Verify the files as requested by the test: for _, path := range test.verifyExists { assertExists(t, filepath.Join(tmpDir, path)) } for _, path := range test.verifyNotExists {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/go/internal/test/flagdefs.go
"blockprofilerate": true, "count": true, "coverprofile": true, "cpu": true, "cpuprofile": true, "failfast": true, "fullpath": true, "fuzz": true, "fuzzminimizetime": true, "fuzztime": true, "list": true, "memprofile": true, "memprofilerate": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
} std::string tfr_raw_text; for (const auto& file : files) { string fullpath = io::JoinPath(composite_mlir_dir, file); if (env->MatchPath(fullpath, io::JoinPath(composite_mlir_dir, "*.mlir"))) { std::string text; TF_RETURN_IF_ERROR(ReadFileToString(env, fullpath, &text)); tfr_raw_text.append(text); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0) -
src/internal/filepathlite/path_windows.go
return true } // The path element is a reserved name with an extension. // Some Windows versions consider this a reserved name, // while others do not. Use FullPath to see if the name is // reserved. if p, _ := syscall.FullPath(name); len(p) >= 4 && p[:4] == `\\.\` { return true } return false } func isReservedBaseName(name string) bool { if len(name) == 3 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/c/c_test.c
size_t length = 2 + strlen(path) + strlen(file_name); char* full_path = malloc(length); snprintf(full_path, length, "%s/%s", path, file_name); TF_WritableFileHandle* h; TF_Status* status = TF_NewStatus(); TF_NewWritableFile(full_path, &h, status); if (TF_GetCode(status) != TF_OK) { fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:50:35 UTC 2024 - 2.8K bytes - Viewed (0) -
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)