- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,140 for filedata (0.24 sec)
-
src/cmd/go/internal/str/path.go
// filesystem is not, does not apply Unicode normalization even if the // filesystem does, and assumes that all path separators are canonicalized to // filepath.Separator (as returned by filepath.Clean). func HasFilePathPrefix(s, prefix string) bool { sv := filepath.VolumeName(s) pv := filepath.VolumeName(prefix) // Strip the volume from both paths before canonicalizing sv and pv:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util_test.cc
os.flush(); } std::string filepath = DumpMlirOpToFile("module", module_ref.get()); ASSERT_NE(filepath, "(TF_DUMP_GRAPH_PREFIX not specified)"); ASSERT_NE(filepath, "LOG(INFO)"); ASSERT_NE(filepath, "(unavailable)"); Env* env = Env::Default(); std::string file_txt_module; TF_ASSERT_OK(ReadFileToString(env, filepath, &file_txt_module)); EXPECT_EQ(file_txt_module, expected_txt_module); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 18 13:40:21 UTC 2024 - 5.8K bytes - Viewed (0) -
pkg/util/filesystem/util_windows.go
klog.V(6).InfoS("Dialing the socket", "filePath", filePath) var c net.Conn c, lastSocketErr = net.Dial("unix", filePath) if lastSocketErr == nil { c.Close() klog.V(6).InfoS("Socket dialed successfully", "filePath", filePath) return true, nil } klog.V(6).InfoS("Failed the current attempt to dial the socket, so pausing before retry", "filePath", filePath, "err", lastSocketErr, "socketDialRetryPeriod",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 4K bytes - Viewed (0) -
src/os/tempfile_test.go
wantRePat := "^" + regexp.QuoteMeta(filepath.Join(dir, tt.wantPrefix)) + "[0-9]+" + regexp.QuoteMeta(tt.wantSuffix) + "$" runTestMkdirTemp(t, tt.pattern, wantRePat) }) } // Separately testing "*xyz" (which has no prefix). That is when constructing the // pattern to assert on, as in the previous loop, using filepath.Join for an empty // prefix filepath.Join(dir, ""), produces the pattern: // ^<DIR>[0-9]+xyz$
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:37 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/internal/obj/x86/pcrelative_test.go
err = os.WriteFile(filepath.Join(tmpdir, "go.mod"), []byte(fmt.Sprintf("module %s\n", mname)), 0666) if err != nil { t.Fatal(err) } tmpfile, err := os.Create(filepath.Join(tmpdir, "input.s")) if err != nil { t.Fatal(err) } defer tmpfile.Close() _, err = tmpfile.WriteString(source) if err != nil { t.Fatal(err) } tmpfile2, err := os.Create(filepath.Join(tmpdir, "input.go")) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 23:16:01 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/link/elf_test.go
if err != nil { t.Skipf("can't find objcopy: %v", err) } dir := t.TempDir() gopath := filepath.Join(dir, "GOPATH") env := append(os.Environ(), "GOPATH="+gopath) if err := os.WriteFile(filepath.Join(dir, "go.mod"), []byte("module elf_test\n"), 0666); err != nil { t.Fatal(err) } asmFile := filepath.Join(dir, "x.s") if err := os.WriteFile(asmFile, []byte(asmSource), 0444); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 16:34:01 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy
and: exeProject.projectConfigurations['debug'].includePath == filePath("src/main/headers", "../lib/src/hello/headers") helloDllProject.projectConfigurations['debug'].includePath == filePath("src/hello/headers", "../greet/src/greetings/headers") helloLibProject.projectConfigurations['debug'].includePath == filePath("src/hello/headers", "../greet/src/greetings/headers")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 26K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
throw new CrawlerSystemException("The uri is empty."); } String filePath = uri; if (!filePath.startsWith("file:")) { filePath = "file://" + filePath; } final StringBuilder buf = new StringBuilder(filePath.length() + 100); try { for (final char c : filePath.toCharArray()) { if (c == ' ') { buf.append("%20");
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.8K bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/experiment_toolid_test.go
// Set up GOROOT. goroot := t.TempDir() gorootSrc := filepath.Join(goroot, "src") if err := overlayDir(gorootSrc, filepath.Join(realGoroot, "src")); err != nil { t.Fatal(err) } gorootLib := filepath.Join(goroot, "lib") if err := overlayDir(gorootLib, filepath.Join(realGoroot, "lib")); err != nil { t.Fatal(err) } if err := os.WriteFile(filepath.Join(goroot, "VERSION"), []byte("go1.999"), 0666); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 18:47:14 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc
std::unique_ptr<raw_ostream> os; std::string filepath; Status result = CreateFileForDumping(name, &os, &filepath, dirname); if (!result.ok()) return std::string(result.message()); (*os) << content; LOG(INFO) << "Outputted requested string to '" << filepath << "'"; return filepath; } void SetCrashReproducer(mlir::PassManager& pm, llvm::StringRef dir_path) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 03:03:46 UTC 2024 - 11.4K bytes - Viewed (0)